My Project
Classes | Typedefs | Functions
/home/jvcleave/Desktop/RASPBERRY_PI/userland/interface/mmal/vc/mmal_vc_client_priv.h File Reference

Go to the source code of this file.

Classes

struct  MMAL_VC_CLIENT_BUFFER_CONTEXT_T

Typedefs

typedef struct MMAL_CLIENT_T MMAL_CLIENT_T
typedef struct
MMAL_VC_CLIENT_BUFFER_CONTEXT_T 
MMAL_VC_CLIENT_BUFFER_CONTEXT_T

Functions

void mmal_vc_client_init (void)
MMAL_CLIENT_Tmmal_vc_get_client (void)
MMAL_STATUS_T mmal_vc_sendwait_message (MMAL_CLIENT_T *client, mmal_worker_msg_header *header, size_t size, uint32_t msgid, void *dest, size_t *destlen, MMAL_BOOL_T send_dummy_bulk)
MMAL_STATUS_T mmal_vc_send_message (MMAL_CLIENT_T *client, mmal_worker_msg_header *header, size_t size, uint8_t *data, size_t data_size, uint32_t msgid)

Detailed Description

Internal API for vchiq_arm MMAL client.


Typedef Documentation

Hold the context required when sending a buffer to the copro.


Function Documentation

MMAL_STATUS_T mmal_vc_send_message ( MMAL_CLIENT_T client,
mmal_worker_msg_header msg_header,
size_t  size,
uint8_t *  data,
size_t  data_size,
uint32_t  msgid 
)

Send a message and do not wait for a reply.

Note:
This function should only be called from within a mmal component, so vchiq_use/release_service calls aren't required (dealt with at higher level).
Parameters:
clientclient to send message for
msg_headermessage header to send
sizelength of message, including header
msgidmessage id
MMAL_STATUS_T mmal_vc_sendwait_message ( struct MMAL_CLIENT_T client,
mmal_worker_msg_header msg_header,
size_t  size,
uint32_t  msgid,
void *  dest,
size_t *  destlen,
MMAL_BOOL_T  send_dummy_bulk 
)

Send a message and wait for a reply.

Parameters:
clientclient to send message for
msg_headermessage vchiq_header to send
sizelength of message, including header
msgidmessage id
destdestination for reply
destlensize of destination, updated with actual length
send_dummy_bulkwhether to send a dummy bulk transfer
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines