Vdec.h File Reference

#include <xdc/std.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/video/viddec.h>
#include <ti/sdo/dmai/Dmai.h>
#include <ti/sdo/dmai/BufTab.h>

Go to the source code of this file.


Typedefs

typedef struct Vdec_Object * Vdec_Handle
 Handle through which to reference a Video Decode algorithm.

Functions

Vdec_Handle Vdec_create (Engine_Handle hEngine, Char *codecName, VIDDEC_Params *params, VIDDEC_DynamicParams *dynParams)
 Creates a Video Decode (XDM 0.9) algorithm instance.
Int Vdec_flush (Vdec_Handle hVd)
 Flushes the codec. Call Vdec_process (hInBuf is ignored) after this call and then Vdec_getDisplayBuf to obtain display buffers display.
Int Vdec_process (Vdec_Handle hVd, Buffer_Handle hInBuf, Buffer_Handle hDstBuf)
 Decodes a video buffer.
Int Vdec_delete (Vdec_Handle hVd)
 Deletes a Video Decode algorithm instance.
Void Vdec_setBufTab (Vdec_Handle hVd, BufTab_Handle hBufTab)
 After a Vdec_create call is made, this function should be called to hand a BufTab_Handle to the video decoder instance to be used to hold output buffers. Because of B-frames, the destination buffer given in the process call may not be the same as the output buffer to be displayed.
BufTab_Handle Vdec_getBufTab (Vdec_Handle hVd)
 Get the BufTab previously set using Vdec_setBufTab.
Int32 Vdec_getInBufSize (Vdec_Handle hVd)
 After a Vdec_create call is made, this function can be called to figure out the min total size of the required input buffers.
Int32 Vdec_getOutBufSize (Vdec_Handle hVd)
 After a Vdec_create call is made, this function can be called to figure out the min total size of the required output buffers.
Buffer_Handle Vdec_getDisplayBuf (Vdec_Handle hVd)
 After a Vdec_process call is made, this function should be called to obtain buffers to display. This function should be called consecutively until no more buffers are returned.
VIDDEC_Handle Vdec_getVisaHandle (Vdec_Handle hVd)
 Get the VIDDEC handle from the Vdec module instance.

Variables

const VIDDEC_Params Vdec_Params_DEFAULT
 Default XDM parameters for a Video Decode algorithm.
const VIDDEC_DynamicParams Vdec_DynamicParams_DEFAULT
 Default XDM dynamic parameters for a Video Decode algorithm.

Copyright 2011, Texas Instruments Incorporated