The VIDDEC2 video decoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined IVIDDEC2 video decoder interface.
#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/ividdec2.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/visa.h>
#include <ti/sdo/ce/skel.h>
Go to the source code of this file.
Data Structures | |
struct | IVIDDEC2_CodecClassConfig |
Definition of IVIDDEC2 codec class configurable parameters. More... | |
Defines | |
#define | VIDDEC2_EOK IVIDDEC2_EOK |
#define | VIDDEC2_EFAIL IVIDDEC2_EFAIL |
#define | VIDDEC2_EUNSUPPORTED IVIDDEC2_EUNSUPPORTED |
#define | VIDDEC2_ETIMEOUT VISA_ETIMEOUT |
#define | VIDDEC2_FOREVER VISA_FOREVER |
#define | VIDDEC2_VISATYPE "ti.sdo.ce.video2.IVIDDEC2" |
The VISA type. | |
Typedefs | |
typedef IVIDDEC2_Status | VIDDEC2_Status |
typedef VISA_Handle | VIDDEC2_Handle |
Opaque handle to a VIDDEC2 codec. | |
typedef struct IVIDDEC2_Params | VIDDEC2_Params |
This structure defines the parameters necessary to create an instance of a video decoder object. | |
typedef IVIDDEC2_InArgs | VIDDEC2_InArgs |
typedef IVIDDEC2_OutArgs | VIDDEC2_OutArgs |
typedef IVIDDEC2_Cmd | VIDDEC2_Cmd |
typedef IVIDDEC2_DynamicParams | VIDDEC2_DynamicParams |
typedef struct IVIDDEC2_CodecClassConfig | IVIDDEC2_CodecClassConfig |
Definition of IVIDDEC2 codec class configurable parameters. | |
Functions | |
VIDDEC2_Handle | VIDDEC2_create (Engine_Handle e, String name, VIDDEC2_Params *params) |
Create an instance of a video decoder algorithm. | |
Int32 | VIDDEC2_process (VIDDEC2_Handle handle, XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs, VIDDEC2_InArgs *inArgs, VIDDEC2_OutArgs *outArgs) |
Execute the process() method in this instance of a video decoder algorithm. | |
Int32 | VIDDEC2_control (VIDDEC2_Handle handle, VIDDEC2_Cmd id, VIDDEC2_DynamicParams *params, VIDDEC2_Status *status) |
Execute the control() method in this instance of a video decoder algorithm. | |
Void | VIDDEC2_delete (VIDDEC2_Handle handle) |
Delete the instance of a video decoder algorithm. | |
XDAS_Int32 | VIDDEC2_processAsync (VIDDEC2_Handle handle, XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs, VIDDEC2_InArgs *inArgs, VIDDEC2_OutArgs *outArgs) |
Perform asynchronous submission to this instance of a video decoder algorithm. | |
XDAS_Int32 | VIDDEC2_processWait (VIDDEC2_Handle handle, XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs, VIDDEC2_InArgs *inArgs, VIDDEC2_OutArgs *outArgs, UInt timeout) |
Wait for a return message from a previous invocation of VIDDEC2_processAsync() in this instance of an video decoder algorithm. |