My Project
MMAL_COMPONENT_T Struct Reference

#include <mmal_component.h>

Public Attributes

struct MMAL_COMPONENT_PRIVATE_Tpriv
 
struct MMAL_COMPONENT_USERDATA_T * userdata
 
const char * name
 
uint32_t is_enabled
 
MMAL_PORT_Tcontrol
 
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
 

Detailed Description

Definition of a component.

Definition at line 48 of file mmal_component.h.

Member Data Documentation

◆ clock

MMAL_PORT_T** MMAL_COMPONENT_T::clock

Array of clock ports

Definition at line 76 of file mmal_component.h.

◆ clock_num

uint32_t MMAL_COMPONENT_T::clock_num

Number of clock ports

Definition at line 75 of file mmal_component.h.

◆ control

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.

Definition at line 67 of file mmal_component.h.

◆ id

uint32_t MMAL_COMPONENT_T::id

Uniquely identifies the component's instance within the MMAL context / process. For debugging.

Definition at line 83 of file mmal_component.h.

◆ input

MMAL_PORT_T** MMAL_COMPONENT_T::input

Array of input ports

Definition at line 70 of file mmal_component.h.

◆ input_num

uint32_t MMAL_COMPONENT_T::input_num

Number of input ports

Definition at line 69 of file mmal_component.h.

◆ is_enabled

uint32_t MMAL_COMPONENT_T::is_enabled

Specifies whether the component is enabled or not

Definition at line 60 of file mmal_component.h.

◆ name

const char* MMAL_COMPONENT_T::name

Component name

Definition at line 57 of file mmal_component.h.

◆ output

MMAL_PORT_T** MMAL_COMPONENT_T::output

Array of output ports

Definition at line 73 of file mmal_component.h.

◆ output_num

uint32_t MMAL_COMPONENT_T::output_num

Number of output ports

Definition at line 72 of file mmal_component.h.

◆ port

MMAL_PORT_T** MMAL_COMPONENT_T::port

Array of all the ports (control/input/output/clock)

Definition at line 79 of file mmal_component.h.

◆ port_num

uint32_t MMAL_COMPONENT_T::port_num

Total number of ports

Definition at line 78 of file mmal_component.h.

◆ priv

struct MMAL_COMPONENT_PRIVATE_T* MMAL_COMPONENT_T::priv

Pointer to the private data of the module in use

Definition at line 51 of file mmal_component.h.

◆ userdata

struct MMAL_COMPONENT_USERDATA_T* MMAL_COMPONENT_T::userdata

Pointer to private data of the client

Definition at line 54 of file mmal_component.h.


The documentation for this struct was generated from the following file: