Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
imgdec1.h File Reference

Detailed Description

The IMGDEC1 image decoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined IIMGDEC1 image decoder interface.

#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/iimgdec1.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/visa.h>
#include <ti/sdo/ce/skel.h>
Include dependency graph for imgdec1.h:

Go to the source code of this file.

Data Structures

struct  IIMGDEC1_CodecClassConfig
 Definition of IIMGDEC1 codec class configurable parameters. More...

Macros

#define IMGDEC1_EOK   IIMGDEC1_EOK
 
#define IMGDEC1_EFAIL   IIMGDEC1_EFAIL
 
#define IMGDEC1_EUNSUPPORTED   IIMGDEC1_EUNSUPPORTED
 
#define IMGDEC1_ETIMEOUT   VISA_ETIMEOUT
 Timeout occurred.
#define IMGDEC1_FOREVER   VISA_FOREVER
 Special value for timeout parameter indicating never timeout.
#define IMGDEC1_VISATYPE   "ti.sdo.ce.image1.IIMGDEC1"
 The VISA type.
#define IMGDEC1_STUBSNAME   "IMGDEC1_STUBS"
 Name of stub functions. Use this name when registering the IMGDEC1_STUBS functions with Engine_addStubFxns.

Typedefs

typedef VISA_Handle IMGDEC1_Handle
 Opaque handle to a IMGDEC1 codec.
typedef struct IIMGDEC1_Params IMGDEC1_Params
 Defines the creation time parameters for all IIMGDEC1 instance objects.
typedef IIMGDEC1_InArgs IMGDEC1_InArgs
 Defines the input arguments for all IIMGDEC1 instance process() function.
typedef IIMGDEC1_OutArgs IMGDEC1_OutArgs
 Defines the run time output arguments for all IIMGDEC1 instance objects.
typedef IIMGDEC1_Cmd IMGDEC1_Cmd
 Defines the control commands for the IIMGDEC1 module.
typedef IIMGDEC1_DynamicParams IMGDEC1_DynamicParams
 This structure defines the codec parameters that can be modified after creation via control() calls.
typedef IIMGDEC1_Status IMGDEC1_Status
 Defines instance status parameters.
typedef struct
IIMGDEC1_CodecClassConfig 
IIMGDEC1_CodecClassConfig
 Definition of IIMGDEC1 codec class configurable parameters.

Functions

Int32 IMGDEC1_control (IMGDEC1_Handle handle, IMGDEC1_Cmd id, IMGDEC1_DynamicParams *params, IMGDEC1_Status *status)
 Execute the control() method in this instance of an image decoder algorithm.
IMGDEC1_Handle IMGDEC1_create (Engine_Handle e, String name, IMGDEC1_Params *params)
 Create an instance of an image decoder algorithm.
Void IMGDEC1_delete (IMGDEC1_Handle handle)
 Delete the instance of an image decoder algorithm.
Int32 IMGDEC1_process (IMGDEC1_Handle handle, XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, IMGDEC1_InArgs *inArgs, IMGDEC1_OutArgs *outArgs)
 Execute the process() method in this instance of an image decoder algorithm.
XDAS_Int32 IMGDEC1_processAsync (IMGDEC1_Handle handle, XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, IMGDEC1_InArgs *inArgs, IMGDEC1_OutArgs *outArgs)
 Perform asynchronous submission to this instance of an image decoder algorithm.
XDAS_Int32 IMGDEC1_processWait (IMGDEC1_Handle handle, XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, IMGDEC1_InArgs *inArgs, IMGDEC1_OutArgs *outArgs, UInt timeout)
 Wait for a return message from a previous invocation of IMGDEC1_processAsync() in this instance of an image decoder algorithm.
Copyright 2013, Texas Instruments Incorporated