My Project
|
Go to the source code of this file.
Macros | |
#define | MMAL_CONTROL_FOURCC() VCHIQ_MAKE_FOURCC('m','m','a','l') |
#define | WORKER_VER_MAJOR 16 |
#define | WORKER_VER_MINIMUM 10 |
#define | WORKER_VER_MINOR 1 |
#define | VIDEOCORE_PREFIX "vc" |
#define | MMAL_MAX_PORTS 8 |
#define | MMAL_WORKER_MAX_MSG_LEN 512 |
#define | MMAL_VC_CORE_STATS_NAME_MAX 32 |
#define | MMAL_WORKER_MSG_LEN 28 |
#define | MMAL_FORMAT_EXTRADATA_MAX_SIZE 128 |
#define | MMAL_VC_SHORT_DATA 128 |
#define | MMAL_WORKER_PORT_PARAMETER_SPACE 96 |
#define | MMAL_WORKER_PORT_PARAMETER_SET_MAX (MMAL_WORKER_PORT_PARAMETER_SPACE*sizeof(uint32_t)+sizeof(MMAL_PARAMETER_HEADER_T)) |
#define | MMAL_WORKER_PORT_PARAMETER_GET_MAX MMAL_WORKER_PORT_PARAMETER_SET_MAX |
#define | MMAL_WORKER_EVENT_SPACE 256 |
Typedefs | |
typedef struct mmal_worker_buffer_from_host | mmal_worker_buffer_from_host |
typedef struct mmal_worker_event_to_host | mmal_worker_event_to_host |
Private message definitions, defining the message API between the host and VideoCore.
Definition in file mmal_vc_msgs.h.
#define MMAL_CONTROL_FOURCC | ( | ) | VCHIQ_MAKE_FOURCC('m','m','a','l') |
Definition at line 40 of file mmal_vc_msgs.h.
#define MMAL_FORMAT_EXTRADATA_MAX_SIZE 128 |
Maximum size of the format extradata. FIXME: should probably be made bigger and maybe be passed separately from the info.
Definition at line 66 of file mmal_vc_msgs.h.
#define MMAL_MAX_PORTS 8 |
Max ports per component
Definition at line 53 of file mmal_vc_msgs.h.
#define MMAL_VC_CORE_STATS_NAME_MAX 32 |
Length of the name in the core stats message
Definition at line 56 of file mmal_vc_msgs.h.
#define MMAL_VC_SHORT_DATA 128 |
Size of space reserved in a buffer message for short messages.
Definition at line 70 of file mmal_vc_msgs.h.
#define MMAL_WORKER_EVENT_SPACE 256 |
Maximum number of event data bytes that can be passed in the message. More than this and the data is passed in a bulk message.
Definition at line 403 of file mmal_vc_msgs.h.
#define MMAL_WORKER_MAX_MSG_LEN 512 |
Definition at line 55 of file mmal_vc_msgs.h.
#define MMAL_WORKER_MSG_LEN 28 |
A MMAL_CONTROL_SERVICE_T gets space for a single message. This is the space allocated for these messages.
Definition at line 61 of file mmal_vc_msgs.h.
#define MMAL_WORKER_PORT_PARAMETER_GET_MAX MMAL_WORKER_PORT_PARAMETER_SET_MAX |
Definition at line 304 of file mmal_vc_msgs.h.
#define MMAL_WORKER_PORT_PARAMETER_SET_MAX (MMAL_WORKER_PORT_PARAMETER_SPACE*sizeof(uint32_t)+sizeof(MMAL_PARAMETER_HEADER_T)) |
Definition at line 301 of file mmal_vc_msgs.h.
#define MMAL_WORKER_PORT_PARAMETER_SPACE 96 |
Definition at line 299 of file mmal_vc_msgs.h.
#define VIDEOCORE_PREFIX "vc" |
Definition at line 51 of file mmal_vc_msgs.h.
#define WORKER_VER_MAJOR 16 |
Definition at line 43 of file mmal_vc_msgs.h.
#define WORKER_VER_MINIMUM 10 |
Definition at line 44 of file mmal_vc_msgs.h.
#define WORKER_VER_MINOR 1 |
Definition at line 47 of file mmal_vc_msgs.h.
typedef struct mmal_worker_buffer_from_host mmal_worker_buffer_from_host |
Receive a buffer from the host.
typedef struct mmal_worker_event_to_host mmal_worker_event_to_host |
Send an event buffer from the host.
enum MMAL_WORKER_CMD_T |
Message ids sent to worker thread.
Definition at line 77 of file mmal_vc_msgs.h.
Enumerator | |
---|---|
MMAL_WORKER_OPAQUE_MEM_ALLOC | |
MMAL_WORKER_OPAQUE_MEM_RELEASE | |
MMAL_WORKER_OPAQUE_MEM_ACQUIRE | |
MMAL_WORKER_OPAQUE_MEM_MAX |
Definition at line 433 of file mmal_vc_msgs.h.
List of actions for a port
Definition at line 264 of file mmal_vc_msgs.h.
vcos_static_assert | ( | ! | sizeof(mmal_worker_msg_header) &0x7 | ) |
vcos_static_assert | ( | sizeof(mmal_worker_service_closed)<= | MMAL_WORKER_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_component_create_reply)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_port_info_get)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_port_info_set)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_port_info)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_drm_get_lhs32_reply)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_drm_get_time_reply)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_port_action)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_port_param_set)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_port_param_get)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_port_param_get_reply)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_buffer_from_host)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_event_to_host)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_stats)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_consume_mem)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_compact)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_host_log)<= | MMAL_WORKER_MAX_MSG_LEN | ) |
vcos_static_assert | ( | sizeof(mmal_worker_lmk)<= | MMAL_WORKER_MAX_MSG_LEN | ) |