40 #define MMAL_OFFSET(TYPE, FIELD) ((size_t)((uint8_t *)&((TYPE*)0)->FIELD - (uint8_t *)0)) 130 unsigned int headers, uint32_t payload_size);
const char * mmal_status_to_string(MMAL_STATUS_T status)
void mmal_log_dump_format(MMAL_ES_FORMAT_T *format)
int mmal_util_rgb_order_fixed(MMAL_PORT_T *port)
MMAL_PORT_T * mmal_util_get_port(MMAL_COMPONENT_T *comp, MMAL_PORT_TYPE_T type, unsigned index)
void mmal_port_parameter_free(MMAL_PARAMETER_HEADER_T *param)
char * mmal_4cc_to_string(char *buf, size_t len, uint32_t fourcc)
uint32_t mmal_encoding_stride_to_width(uint32_t encoding, uint32_t stride)
void mmal_buffer_header_copy_header(MMAL_BUFFER_HEADER_T *dest, const MMAL_BUFFER_HEADER_T *src)
const char * mmal_port_type_to_string(MMAL_PORT_TYPE_T type)
MMAL_POOL_T * mmal_port_pool_create(MMAL_PORT_T *port, unsigned int headers, uint32_t payload_size)
uint32_t mmal_encoding_width_to_stride(uint32_t encoding, uint32_t width)
MMAL_PARAMETER_HEADER_T * mmal_port_parameter_alloc_get(MMAL_PORT_T *port, uint32_t id, uint32_t size, MMAL_STATUS_T *status)
void mmal_log_dump_port(MMAL_PORT_T *port)
void mmal_port_pool_destroy(MMAL_PORT_T *port, MMAL_POOL_T *pool)
uint32_t mmal_encoding_get_slice_variant(uint32_t encoding)