Public Attributes

limoi_demuxer_callbacks_t Struct Reference
[limoi demuxer base]

#include <limoi-demuxer.h>

List of all members.

Public Attributes

OMX_ERRORTYPE(* command_prep )(limoi_component_cmd_t *cmd)
OMX_ERRORTYPE(* command_post )(limoi_component_cmd_t *cmd)
OMX_ERRORTYPE(* demux )(OMX_HANDLETYPE hComp, CP_PIPETYPE *pipe, CPhandle content, OMX_BUFFERHEADERTYPE *audio_out, OMX_BUFFERHEADERTYPE *video_out)
OMX_ERRORTYPE(* clock )(OMX_HANDLETYPE hComp, OMX_HANDLETYPE clock_tunnel_comp, OMX_BUFFERHEADERTYPE *clock_buf)
int(* get_metadata_count )(OMX_HANDLETYPE hComp, OMX_METADATASCOPETYPE scope, int scope_specifier, const char *language_country)
OMX_ERRORTYPE(* get_metadata )(OMX_HANDLETYPE hComp, OMX_METADATASCOPETYPE scope, int scope_specifier, const char *language_country, OMX_U32 index, OMX_U8 *key_bytes, void *key, OMX_METADATACHARSETTYPE *key_charset, OMX_U32 *value_bytes, void *value, OMX_METADATACHARSETTYPE *value_charset)

Detailed Description

limoi demuxer component callbacks.


Member Data Documentation

OMX_ERRORTYPE(* clock)(OMX_HANDLETYPE hComp, OMX_HANDLETYPE clock_tunnel_comp, OMX_BUFFERHEADERTYPE *clock_buf)

clock update function.

Parameters:
hComp demuxer component handle
clock_tunnel_comp tunneled clock component if not null.
clock_buf clock buffer if available.
OMX_ERRORTYPE(* command_post)(limoi_component_cmd_t *cmd)

component private command post process handle. if not null, this gets called after the demuxer processes command within the callback context, without holding the command mutex, nor the component and port mutex.

OMX_ERRORTYPE(* command_prep)(limoi_component_cmd_t *cmd)

component private command preparation handle. if not null, this gets called before the demuxer processes command within the callback context, without holding the command mutex, nor the component and port mutex.

OMX_ERRORTYPE(* demux)(OMX_HANDLETYPE hComp, CP_PIPETYPE *pipe, CPhandle content, OMX_BUFFERHEADERTYPE *audio_out, OMX_BUFFERHEADERTYPE *video_out)

demuxing function.

OMX_ERRORTYPE(* get_metadata)(OMX_HANDLETYPE hComp, OMX_METADATASCOPETYPE scope, int scope_specifier, const char *language_country, OMX_U32 index, OMX_U8 *key_bytes, void *key, OMX_METADATACHARSETTYPE *key_charset, OMX_U32 *value_bytes, void *value, OMX_METADATACHARSETTYPE *value_charset)

metadata access function. if not null, this gets called when client requests metadata, should return key/value for given search scope/specifier on given index.

Parameters:
scope metadata search scope
scope_specifier metadata search scope specifier
language_country metadata language country specifier if not NULL.
index metadata index
int(* get_metadata_count)(OMX_HANDLETYPE hComp, OMX_METADATASCOPETYPE scope, int scope_specifier, const char *language_country)

metadata count if not null, this returns number of metadata items available for given search scope/specifier.

Parameters:
scope metadata search scope
scope_specifier metadata search scope specifier
language_country metadata language country specifier if not NULL.
Returns:
-1 upon error, otherwise metadata count.
LIMOpenMAX Implementation API Reference - Generated by doxygen