My Project
mmal_pool.h File Reference
#include "mmal_queue.h"

Go to the source code of this file.

Classes

struct  MMAL_POOL_T
 

Typedefs

typedef struct MMAL_POOL_T MMAL_POOL_T
 
typedef void *(* mmal_pool_allocator_alloc_t) (void *context, uint32_t size)
 
typedef void(* mmal_pool_allocator_free_t) (void *context, void *mem)
 
typedef MMAL_BOOL_T(* MMAL_POOL_BH_CB_T) (MMAL_POOL_T *pool, MMAL_BUFFER_HEADER_T *buffer, void *userdata)
 

Functions

MMAL_POOL_Tmmal_pool_create (unsigned int headers, uint32_t payload_size)
 
MMAL_POOL_Tmmal_pool_create_with_allocator (unsigned int headers, uint32_t payload_size, void *allocator_context, mmal_pool_allocator_alloc_t allocator_alloc, mmal_pool_allocator_free_t allocator_free)
 
void mmal_pool_destroy (MMAL_POOL_T *pool)
 
MMAL_STATUS_T mmal_pool_resize (MMAL_POOL_T *pool, unsigned int headers, uint32_t payload_size)
 
void mmal_pool_callback_set (MMAL_POOL_T *pool, MMAL_POOL_BH_CB_T cb, void *userdata)
 
void mmal_pool_pre_release_callback_set (MMAL_POOL_T *pool, MMAL_BH_PRE_RELEASE_CB_T cb, void *userdata)