Classes | Defines | Typedefs | Functions

video decoder base
[limoi video base]

Classes

struct  limoi_video_decoder_callbacks_t
struct  limoi_video_decoder_t

Defines

#define LIMOI_VIDEO_DECODER(c)   ((limoi_video_decoder_t *)OMX_COMPONENT(c))

Typedefs

typedef struct
limoi_video_decoder_priv_t 
limoi_video_decoder_priv_t

Functions

OMX_ERRORTYPE limoi_video_decoder_deinit (OMX_HANDLETYPE hComp)
OMX_ERRORTYPE limoi_video_decoder_init (OMX_HANDLETYPE *hComp, int bytes, const char *comp_name, const char *comp_version, OMX_VIDEO_CODINGTYPE type)
OMX_ERRORTYPE limoi_video_decoder_init_sync (OMX_HANDLETYPE *hComp, int bytes, const char *comp_name, const char *comp_version, OMX_VIDEO_CODINGTYPE type)
int limoi_video_decoder_set_callbacks (OMX_HANDLETYPE hComp, limoi_video_decoder_callbacks_t *callbacks)
int limoi_video_decoder_set_pixel_format (OMX_HANDLETYPE hComp, int w, int h, OMX_COLOR_FORMATTYPE color_format, int aspect_ratio_num, int aspect_ratio_den)

Define Documentation

#define LIMOI_VIDEO_DECODER (   c  )     ((limoi_video_decoder_t *)OMX_COMPONENT(c))

Typedef Documentation

opaque limoi video deocoder private data structure.


Function Documentation

OMX_ERRORTYPE limoi_video_decoder_deinit ( OMX_HANDLETYPE  hComp  ) 

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

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

limoi asynchronous video 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 video coding type/format.
OMX_ERRORTYPE limoi_video_decoder_init_sync ( OMX_HANDLETYPE *  hComp,
int  bytes,
const char *  comp_name,
const char *  comp_version,
OMX_VIDEO_CODINGTYPE  type 
)

limoi synchronous video 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 video coding type/format.
int limoi_video_decoder_set_callbacks ( OMX_HANDLETYPE  hComp,
limoi_video_decoder_callbacks_t callbacks 
)

set limoi video decoder component callbacks.

Parameters:
callbacks limoi_component_callbacks_t callbacks.
Returns:
0 on success, -1 on failure.
int limoi_video_decoder_set_pixel_format ( OMX_HANDLETYPE  hComp,
int  w,
int  h,
OMX_COLOR_FORMATTYPE  color_format,
int  aspect_ratio_num,
int  aspect_ratio_den 
)

set limoi video decoder output pixel foramt. 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