Classes | Defines | Typedefs | Functions

audio decoder base
[limoi audio base]

Classes

struct  limoi_audio_decoder_callbacks_t
struct  limoi_audio_decoder_t

Defines

#define LIMOI_AUDIO_DECODER(c)   ((limoi_audio_decoder_t *)OMX_COMPONENT(c))

Typedefs

typedef struct
limoi_audio_decoder_priv_t 
limoi_audio_decoder_priv_t

Functions

OMX_ERRORTYPE limoi_audio_decoder_deinit (OMX_HANDLETYPE hComp)
OMX_ERRORTYPE limoi_audio_decoder_init (OMX_HANDLETYPE *hComp, int bytes, const char *comp_name, const char *comp_version, OMX_AUDIO_CODINGTYPE type)
OMX_ERRORTYPE limoi_audio_decoder_init_sync (OMX_HANDLETYPE *hComp, int bytes, const char *comp_name, const char *comp_version, OMX_AUDIO_CODINGTYPE type)
int limoi_audio_decoder_set_callbacks (OMX_HANDLETYPE hComp, limoi_audio_decoder_callbacks_t *callbacks)
int limoi_audio_decoder_set_pcm_mode (OMX_HANDLETYPE hComp, OMX_AUDIO_PARAM_PCMMODETYPE *pcmmode)

Define Documentation

#define LIMOI_AUDIO_DECODER (   c  )     ((limoi_audio_decoder_t *)OMX_COMPONENT(c))

Typedef Documentation

opaque limoi audio deocoder private data structure.


Function Documentation

OMX_ERRORTYPE limoi_audio_decoder_deinit ( OMX_HANDLETYPE  hComp  ) 

limoi audio decoder component deinitialization routine. destructs limoi audio decoder base component.

Parameters:
hComp component handle.
OMX_ERRORTYPE limoi_audio_decoder_init ( OMX_HANDLETYPE *  hComp,
int  bytes,
const char *  comp_name,
const char *  comp_version,
OMX_AUDIO_CODINGTYPE  type 
)

limoi asynchronous audio decoder component initialization routine.

Parameters:
bytes size of component private data in bytes.
comp_name component name assigned by component implementor.
comp_version component version string assigned by component implementor. format: 'maj.minor.revison.step'.
type input audio coding type/format.
OMX_ERRORTYPE limoi_audio_decoder_init_sync ( OMX_HANDLETYPE *  hComp,
int  bytes,
const char *  comp_name,
const char *  comp_version,
OMX_AUDIO_CODINGTYPE  type 
)

limoi synchronous audio decoder component initialization routine.

Parameters:
bytes size of component private data in bytes.
comp_name component name assigned by component implementor.
comp_version component version string assigned by component implementor. format: 'maj.minor.revison.step'.
type input audio coding type/format.
int limoi_audio_decoder_set_callbacks ( OMX_HANDLETYPE  hComp,
limoi_audio_decoder_callbacks_t callbacks 
)

set limoi audio decoder component callbacks.

Parameters:
callbacks limoi_component_callbacks_t callbacks.
Returns:
0 on success, -1 on failure.
int limoi_audio_decoder_set_pcm_mode ( OMX_HANDLETYPE  hComp,
OMX_AUDIO_PARAM_PCMMODETYPE pcmmode 
)

set limoi audio decoder output parameter. also check to see if porting setting is changed, if changed, a PortSettingsChanged event is delivered to client.

LIMOpenMAX Implementation API Reference - Generated by doxygen