RAPP aligned memory allocation. More...
Go to the source code of this file.
Functions | |
size_t | rapp_align (size_t size) |
Align (round up) to the next alignment boundary. | |
int | rapp_validate_buffer (uint8_t *ptr, const int dim, const int width, const int height) |
Validate that a pixel buffer is properly allocated for use with RAPP functions. | |
void * | rapp_malloc (size_t size, unsigned hint) |
Allocate an aligned chunk of memory. | |
void | rapp_free (void *ptr) |
Free an aligned chunk of memory. | |
Variables | |
const unsigned int | rapp_alignment |
The required pixel buffer and row length alignment in bytes. |
RAPP aligned memory allocation.