Venc1.h File Reference

#include <xdc/std.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/video1/videnc1.h>
#include <ti/sdo/dmai/Dmai.h>
#include <ti/sdo/dmai/Buffer.h>

Go to the source code of this file.


Typedefs

typedef struct Venc1_Object * Venc1_Handle
 Handle through which to reference a Video Encode algorithm.

Functions

Venc1_Handle Venc1_create (Engine_Handle hEngine, Char *codecName, VIDENC1_Params *params, VIDENC1_DynamicParams *dynParams)
 Creates a Video Encode (XDM 0.9) algorithm instance.
Int Venc1_process (Venc1_Handle hVe, Buffer_Handle hInBuf, Buffer_Handle hOutBuf)
 Encodes a video buffer.
Int Venc1_delete (Venc1_Handle hVe)
 Deletes a Video Encode algorithm instance.
Int32 Venc1_getInBufSize (Venc1_Handle hVe)
 After a Venc1_create call is made, this function can be called to figure out the total size of the required input buffer.
Int32 Venc1_getOutBufSize (Venc1_Handle hVe)
 After a Venc1_create call is made, this function can be called to figure out the min total size of the required output buffers.
VIDENC1_Handle Venc1_getVisaHandle (Venc1_Handle hVe)
 Get the VIDENC1 handle from the Venc module instance.
IVIDEO1_BufDesc * Venc1_getReconBufs (Venc1_Handle hVe)
 Get the reconstructed frame buffers created during the call to Venc1_process.
Buffer_Handle Venc1_getFreeBuf (Venc1_Handle hVe)
 After a Venc1_process call is made, this function should be called to obtain the freed raw buffers.
Void Venc1_setBufTab (Venc1_Handle hVe, BufTab_Handle hBufTab)
 After a Venc1_create call is made, this function should be called to hand a BufTab_Handle to the video encoder instance. Because of B-frames, the input buffer given may not be the same as the input buffer returned, so the Venc1 class needs a full array of input buffers to work with.
BufTab_Handle Venc1_getBufTab (Venc1_Handle hVe)
 Get the BufTab previously set using Venc1_setBufTab.
Int Venc1_flush (Venc1_Handle hVe)
 Flushes the codec. Call Venc1_process after this call.

Variables

const VIDENC1_Params Venc1_Params_DEFAULT
 Default XDM parameters for a Video Encode algorithm.
const VIDENC1_DynamicParams Venc1_DynamicParams_DEFAULT
 Default XDM dynamic parameters for a Video Encode algorithm.

Copyright 2011, Texas Instruments Incorporated