Classes | Defines | Typedefs | Functions

audio encoder base
[limoi audio base]

Classes

struct  limoi_audio_encoder_callbacks_t
struct  limoi_audio_encoder_t

Defines

#define LIMOI_AUDIO_ENCODER(c)   ((limoi_audio_encoder_t *)OMX_COMPONENT(c))

Typedefs

typedef struct
limoi_audio_encoder_priv_t 
limoi_audio_encoder_priv_t

Functions

OMX_ERRORTYPE limoi_audio_encoder_deinit (OMX_HANDLETYPE hComp)
OMX_ERRORTYPE limoi_audio_encoder_init (OMX_HANDLETYPE *hComp, int bytes, const char *comp_name, const char *comp_version, OMX_AUDIO_CODINGTYPE type)
OMX_ERRORTYPE limoi_audio_encoder_init_sync (OMX_HANDLETYPE *hComp, int bytes, const char *comp_name, const char *comp_version, OMX_AUDIO_CODINGTYPE type)
int limoi_audio_encoder_set_callbacks (OMX_HANDLETYPE hComp, limoi_audio_encoder_callbacks_t *callbacks)

Define Documentation

#define LIMOI_AUDIO_ENCODER (   c  )     ((limoi_audio_encoder_t *)OMX_COMPONENT(c))

Typedef Documentation

opaque limoi audio encoder private data structure.


Function Documentation

OMX_ERRORTYPE limoi_audio_encoder_deinit ( OMX_HANDLETYPE  hComp  ) 

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

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

limoi asynchronous audio encoder 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_encoder_init_sync ( OMX_HANDLETYPE *  hComp,
int  bytes,
const char *  comp_name,
const char *  comp_version,
OMX_AUDIO_CODINGTYPE  type 
)

limoi synchronous audio encoder 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_encoder_set_callbacks ( OMX_HANDLETYPE  hComp,
limoi_audio_encoder_callbacks_t callbacks 
)

set limoi audio encoder component callbacks.

Parameters:
callbacks limoi_component_callbacks_t callbacks.
Returns:
0 on success, -1 on failure.
LIMOpenMAX Implementation API Reference - Generated by doxygen