28 #ifndef MMAL_COMPONENT_PRIVATE_H 29 #define MMAL_COMPONENT_PRIVATE_H 35 #define MMAL_VIDEO_DECODE "video_decode" 36 #define MMAL_VIDEO_ENCODE "video_encode" 37 #define MMAL_VIDEO_RENDER "video_render" 38 #define MMAL_AUDIO_DECODE "audio_decode" 39 #define MMAL_AUDIO_ENCODE "audio_encode" 40 #define MMAL_AUDIO_RENDER "audio_render" 41 #define MMAL_CAMERA "camera" 43 #if defined(__GNUC__) && (__GNUC__ > 2) 44 # define MMAL_CONSTRUCTOR(func) void __attribute__((constructor,used)) func(void) 45 # define MMAL_DESTRUCTOR(func) void __attribute__((destructor,used)) func(void) 47 # define MMAL_CONSTRUCTOR(func) void func(void) 48 # define MMAL_DESTRUCTOR(func) void func(void) 58 struct MMAL_COMPONENT_MODULE_T *
module;
154 struct MMAL_COMPONENT_MODULE_T *constructor_private,
MMAL_STATUS_T(* pf_destroy)(MMAL_COMPONENT_T *component)
MMAL_STATUS_T mmal_component_parameter_set(MMAL_PORT_T *control_port, const MMAL_PARAMETER_HEADER_T *param)
MMAL_STATUS_T mmal_component_action_register(MMAL_COMPONENT_T *component, void(*pf_action)(MMAL_COMPONENT_T *))
MMAL_STATUS_T mmal_component_action_unlock(MMAL_COMPONENT_T *component)
MMAL_STATUS_T mmal_component_action_deregister(MMAL_COMPONENT_T *component)
void mmal_component_supplier_register(const char *prefix, MMAL_COMPONENT_SUPPLIER_FUNCTION_T create_fn)
MMAL_STATUS_T mmal_component_action_lock(MMAL_COMPONENT_T *component)
MMAL_STATUS_T mmal_component_create_with_constructor(const char *name, MMAL_STATUS_T(*constructor)(const char *name, MMAL_COMPONENT_T *), struct MMAL_COMPONENT_MODULE_T *constructor_private, MMAL_COMPONENT_T **component)
MMAL_STATUS_T mmal_component_parameter_get(MMAL_PORT_T *control_port, MMAL_PARAMETER_HEADER_T *param)
MMAL_STATUS_T(* pf_disable)(MMAL_COMPONENT_T *component)
MMAL_STATUS_T(* MMAL_COMPONENT_SUPPLIER_FUNCTION_T)(const char *name, MMAL_COMPONENT_T *component)
struct MMAL_COMPONENT_MODULE_T * module
MMAL_STATUS_T(* pf_enable)(MMAL_COMPONENT_T *component)
MMAL_STATUS_T mmal_component_action_trigger(MMAL_COMPONENT_T *component)