37 #include "interface/mmal/mmal_types.h"
38 #include "interface/mmal/mmal_parameters.h"
39 #include "interface/mmal/mmal_port.h"
50 MMAL_STATS_COMP_CREATED,
51 MMAL_STATS_COMP_DESTROYING,
52 MMAL_STATS_COMP_DESTROYED,
53 MMAL_STATS_COMP_UNUSED = 0xffffffff
59 struct MMAL_DRIVER_COMPONENT_T *comp;
62 uint32_t pool_mem_alloc_size;
92 uint32_t bad_messages;
114 uint32_t enqueued_messages;
115 uint32_t dequeued_messages;
116 uint32_t max_parameter_set_delay;
117 uint32_t max_messages_waiting;
143 MMAL_STATS_COMPONENT_NOT_FOUND,
144 MMAL_STATS_PORT_NOT_FOUND,
145 MMAL_STATS_INVALID = 0x7fffffff
149 void mmal_vc_deinit(
void);
154 MMAL_STATUS_T mmal_vc_get_version(uint32_t *major, uint32_t *minor, uint32_t *minimum);
175 MMAL_CORE_STATS_DIR dir,
190 #define MMAL_VC_API_HAVE_HOST_LOG
213 MMAL_VC_COMPACT_NONE = 0,
214 MMAL_VC_COMPACT_NORMAL = 1,
215 MMAL_VC_COMPACT_DISCARD = 2,
216 MMAL_VC_COMPACT_AGGRESSIVE = 4,
217 MMAL_VC_COMPACT_SHUFFLE = 0x80,
218 MMAL_VC_COMPACT_ALL = MMAL_VC_COMPACT_NORMAL | MMAL_VC_COMPACT_DISCARD | MMAL_VC_COMPACT_AGGRESSIVE,
219 } MMAL_VC_COMPACT_MODE_T;
Definition: mmal_common.h:64
Definition: mmal_vc_api.h:90
uint32_t destroyed
Definition: mmal_vc_api.h:87
uint32_t pending_destroy
Definition: mmal_vc_api.h:86
uint32_t rx_fails
Definition: mmal_vc_api.h:75
uint32_t failures
Definition: mmal_vc_api.h:88
MMAL_PORT_TYPE_T
Definition: mmal_port.h:45
MMAL_STATUS_T mmal_vc_get_core_stats(MMAL_CORE_STATISTICS_T *stats, MMAL_STATS_RESULT_T *result, char *name, size_t namelen, MMAL_PORT_TYPE_T type, unsigned component, unsigned port, MMAL_CORE_STATS_DIR dir, MMAL_BOOL_T reset)
MMAL_STATS_RESULT_T
Definition: mmal_vc_api.h:140
uint32_t created
Definition: mmal_vc_api.h:85
Definition: mmal_vc_api.h:83
uint32_t tx_fails
Definition: mmal_vc_api.h:79
uint32_t rx
Definition: mmal_vc_api.h:72
uint32_t tx_zero_copy
Definition: mmal_vc_api.h:77
MMAL_STATS_COMP_STATE_T
Definition: mmal_vc_api.h:48
uint32_t tx
Definition: mmal_vc_api.h:76
uint32_t rx_zero_copy
Definition: mmal_vc_api.h:73
uint32_t rx_empty
Definition: mmal_vc_api.h:74
uint32_t tx_short_msg
Definition: mmal_vc_api.h:80
uint32_t rx_short_msg
Definition: mmal_vc_api.h:81
Definition: mmal_vc_api.h:125
MMAL_STATUS_T mmal_vc_host_log(const char *msg)
unsigned count
Definition: mmal_vc_api.h:134
uint32_t magic
Definition: mmal_vc_api.h:130
uint32_t tx_empty
Definition: mmal_vc_api.h:78
Definition: mmal_vc_api.h:58
MMAL_STATUS_T
Definition: mmal_types.h:46
MMAL_STATUS_T mmal_vc_lmk(uint32_t alloc_size)
int32_t offset
Definition: mmal_vc_api.h:132
Definition: mmal_vc_api.h:68
char buffer[16<< 10]
Definition: mmal_vc_api.h:128
MMAL_STATUS_T mmal_vc_consume_mem(size_t size, uint32_t *handle)
MMAL_STATUS_T mmal_vc_compact(MMAL_VC_COMPACT_MODE_T mode, uint32_t *duration)