MMAL_3-15-2015
|
#include <mmal_component.h>
Public Attributes | |
struct MMAL_COMPONENT_PRIVATE_T * | priv |
struct MMAL_COMPONENT_USERDATA_T * | userdata |
const char * | name |
uint32_t | is_enabled |
MMAL_PORT_T * | control |
uint32_t | input_num |
MMAL_PORT_T ** | input |
uint32_t | output_num |
MMAL_PORT_T ** | output |
uint32_t | clock_num |
MMAL_PORT_T ** | clock |
uint32_t | port_num |
MMAL_PORT_T ** | port |
uint32_t | id |
Definition of a component.
MMAL_PORT_T** MMAL_COMPONENT_T::clock |
Array of clock ports
uint32_t MMAL_COMPONENT_T::clock_num |
Number of clock ports
MMAL_PORT_T* MMAL_COMPONENT_T::control |
All components expose a control port. The control port is used by clients to set / get parameters that are global to the component. It is also used to receive events, which again are global to the component. To be able to receive events, the client needs to enable and register a callback on the control port.
uint32_t MMAL_COMPONENT_T::id |
Uniquely identifies the component's instance within the MMAL context / process. For debugging.
MMAL_PORT_T** MMAL_COMPONENT_T::input |
Array of input ports
uint32_t MMAL_COMPONENT_T::input_num |
Number of input ports
uint32_t MMAL_COMPONENT_T::is_enabled |
Specifies whether the component is enabled or not
const char* MMAL_COMPONENT_T::name |
Component name
MMAL_PORT_T** MMAL_COMPONENT_T::output |
Array of output ports
uint32_t MMAL_COMPONENT_T::output_num |
Number of output ports
MMAL_PORT_T** MMAL_COMPONENT_T::port |
Array of all the ports (control/input/output/clock)
uint32_t MMAL_COMPONENT_T::port_num |
Total number of ports
struct MMAL_COMPONENT_PRIVATE_T* MMAL_COMPONENT_T::priv |
Pointer to the private data of the module in use
struct MMAL_COMPONENT_USERDATA_T* MMAL_COMPONENT_T::userdata |
Pointer to private data of the client