|
Typedefs |
typedef struct Vdec2_Object * | Vdec2_Handle |
| Handle through which to reference a Video Decode algorithm.
|
Functions |
Vdec2_Handle | Vdec2_create (Engine_Handle hEngine, Char *codecName, VIDDEC2_Params *params, VIDDEC2_DynamicParams *dynParams) |
| Creates a Video Decode (XDM 1.2) algorithm instance.
|
Int | Vdec2_flush (Vdec2_Handle hVd) |
| Flushes the codec. Call Vdec2_process (hInBuf is ignored) after this call and then Vdec2_getDisplayBuf to obtain display buffers display, and Vdec2_getFreeBuf to obtain buffers to free.
|
Int | Vdec2_process (Vdec2_Handle hVd, Buffer_Handle hInBuf, Buffer_Handle hDstBuf) |
| Decodes a video buffer. Call Vdec2_getDisplayBuf after this call to obtain buffers to display, and Vdec2_getFreeBuf to obtain buffers to free.
|
Int | Vdec2_delete (Vdec2_Handle hVd) |
| Deletes a Video Decode algorithm instance.
|
Int32 | Vdec2_getMinOutBufs (Vdec2_Handle hVd) |
| Figures out the actual output buffer requirements of the codec after the first Vdec2_process call. Also updates the buffer requirements for subsequent Vdec2_getInBufSize and Vdec2_getOutBufSize calls.
|
Void | Vdec2_setBufTab (Vdec2_Handle hVd, BufTab_Handle hBufTab) |
| After a Vdec2_create call is made, this function should be called to hand a BufTab_Handle to the video decoder instance. Because of B-frames, the destination buffer given may not be the same as the output buffer returned, so the Vdec2 class needs a full array of buffers to work with.
|
BufTab_Handle | Vdec2_getBufTab (Vdec2_Handle hVd) |
| Get the BufTab previously set using Vdec2_setBufTab.
|
VIDDEC2_Handle | Vdec2_getVisaHandle (Vdec2_Handle hVd) |
| Get the VIDDEC2 handle from the Vdec2 module instance.
|
Int32 | Vdec2_getInBufSize (Vdec2_Handle hVd) |
| Get the input buffer size required by the codec.
|
Int32 | Vdec2_getOutBufSize (Vdec2_Handle hVd) |
| Get the output buffer size required by the codec.
|
Buffer_Handle | Vdec2_getDisplayBuf (Vdec2_Handle hVd) |
| After a Vdec2_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.
|
Buffer_Handle | Vdec2_getFreeBuf (Vdec2_Handle hVd) |
| After a Vdec2_process call is made, this function should be called to obtain buffers to free. This function should be called consecutively until no more buffers are returned.
|
Variables |
const VIDDEC2_Params | Vdec2_Params_DEFAULT |
| Default XDM parameters for a Video Decode (XDM 1.2) algorithm.
|
const VIDDEC2_DynamicParams | Vdec2_DynamicParams_DEFAULT |
| Default XDM dynamic parameters for a Video Decode (XDM 1.2) algorithm.
|