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)
52 #include "mmal_component.h"
58 struct MMAL_COMPONENT_MODULE_T *
module;
139 typedef MMAL_STATUS_T (*MMAL_COMPONENT_SUPPLIER_FUNCTION_T)(
const char *name,
152 MMAL_STATUS_T mmal_component_create_with_constructor(
const char *name,
154 struct MMAL_COMPONENT_MODULE_T *constructor_private,
162 void mmal_component_supplier_register(
const char *prefix,
163 MMAL_COMPONENT_SUPPLIER_FUNCTION_T create_fn);
int refcount_ports
Definition: mmal_component_private.h:71
Definition: mmal_port.h:79
Definition: mmal_pool.h:43
MMAL_POOL_T * event_pool
Definition: mmal_component_private.h:65
Definition: mmal_component.h:48
Definition: mmal_parameters_common.h:86
Definition: mmal_component_private.h:55
int priority
Definition: mmal_component_private.h:75
struct MMAL_COMPONENT_MODULE_T * module
Definition: mmal_component_private.h:58
int refcount
Definition: mmal_component_private.h:68
MMAL_STATUS_T
Definition: mmal_types.h:46