Codec Engine Application Programming Interface (API)
ce-w08
|
The IMGENC image encoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined IIMGENC image encoder interface.
#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/iimgenc.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 | IIMGENC_CodecClassConfig |
Definition of IIMGENC codec class configurable parameters. More... |
Macros | |
#define | IMGENC_EOK IIMGENC_EOK |
| |
#define | IMGENC_EFAIL IIMGENC_EFAIL |
| |
#define | IMGENC_ERUNTIME IIMGENC_ERUNTIME |
| |
#define | IMGENC_ETIMEOUT VISA_ETIMEOUT |
Timeout occurred. | |
#define | IMGENC_FOREVER VISA_FOREVER |
Special value for timeout parameter indicating never timeout. | |
#define | IMGENC_VISATYPE "ti.sdo.ce.image.IIMGENC" |
The VISA type. | |
#define | IMGENC_STUBSNAME "IMGENC_STUBS" |
Name of stub functions. Use this name when registering the IMGENC_STUBS functions with Engine_addStubFxns. |
Typedefs | |
typedef IIMGENC_Status | IMGENC_Status |
Defines instance status parameters (read-only). | |
typedef VISA_Handle | IMGENC_Handle |
Opaque handle to a IMGENC codec. | |
typedef struct IIMGENC_Params | IMGENC_Params |
This structure defines the parameters necessary to create an instance of a image encoder object. | |
typedef IIMGENC_InArgs | IMGENC_InArgs |
Defines the input arguments for all IIMGENC instance process() function. | |
typedef IIMGENC_OutArgs | IMGENC_OutArgs |
Defines the run time output arguments for all IIMGENC instance objects. | |
typedef IIMGENC_Cmd | IMGENC_Cmd |
Defines the control commands for the IIMGENC module. | |
typedef IIMGENC_DynamicParams | IMGENC_DynamicParams |
This structure defines the algorithm parameters that can be modified after creation via control() calls. | |
typedef struct IIMGENC_CodecClassConfig | IIMGENC_CodecClassConfig |
Definition of IIMGENC codec class configurable parameters. |
Functions | |
IMGENC_Handle | IMGENC_create (Engine_Handle e, String name, IMGENC_Params *params) |
Create an instance of an image encoder algorithm. | |
Int32 | IMGENC_process (IMGENC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, IMGENC_InArgs *inArgs, IMGENC_OutArgs *outArgs) |
Execute the process() method in this instance of an image encoder algorithm. | |
Int32 | IMGENC_control (IMGENC_Handle handle, IMGENC_Cmd id, IMGENC_DynamicParams *params, IMGENC_Status *status) |
Execute the control() method in this instance of an image encoder algorithm. | |
Void | IMGENC_delete (IMGENC_Handle handle) |
Delete the instance of an image encoder algorithm. | |
XDAS_Int32 | IMGENC_processAsync (IMGENC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, IIMGENC_InArgs *inArgs, IIMGENC_OutArgs *outArgs) |
Perform asynchronous submission to this instance of an image encoder algorithm. | |
XDAS_Int32 | IMGENC_processWait (IMGENC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, IIMGENC_InArgs *inArgs, IIMGENC_OutArgs *outArgs, UInt timeout) |
Wait for a return message from a previous invocation of IMGENC_processAsync() in this instance of an image encoder algorithm. |