Memory allocation. More...
Go to the source code of this file.
Functions | |
RC_EXPORT size_t | rc_align (size_t size) |
Align (round up) to the next alignment boundary. | |
RC_EXPORT void * | rc_malloc (size_t size) |
Allocate an aligned chunk of memory. | |
RC_EXPORT void | rc_free (void *ptr) |
Free an aligned chunk of memory. | |
Variables | |
const unsigned int | rc_alignment |
The required pixel buffer and row length alignment in bytes. |
Memory allocation.
RC_EXPORT size_t rc_align | ( | size_t | size | ) |
Align (round up) to the next alignment boundary.
RC_EXPORT void rc_free | ( | void * | ptr | ) |
Free an aligned chunk of memory.
RC_EXPORT void* rc_malloc | ( | size_t | size | ) |
Allocate an aligned chunk of memory.
const unsigned int rc_alignment |
The required pixel buffer and row length alignment in bytes.