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

Detailed Description

The VIDTRANSCODE video transcoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined IVIDTRANSCODE video transcoder interface.

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

Go to the source code of this file.

Macros

#define VIDTRANSCODE_EOK   IVIDTRANSCODE_EOK
 
#define VIDTRANSCODE_EFAIL   IVIDTRANSCODE_EFAIL
 
#define VIDTRANSCODE_EUNSUPPORTED   IVIDTRANSCODE_EUNSUPPORTED
 
#define VIDTRANSCODE_ETIMEOUT   VISA_ETIMEOUT
 Special value for timeout parameter indicating never timeout.
#define VIDTRANSCODE_FOREVER   VISA_FOREVER
#define VIDTRANSCODE_VISATYPE   "ti.sdo.ce.vidtranscode.IVIDTRANSCODE"
 The VISA type.
#define VIDTRANSCODE_STUBSNAME   "VIDTRANSCOD_STUBS"
 Name of stub functions. Use this name when registering the VIDTRANSCODE_STUBS functions with Engine_addStubFxns.

Typedefs

typedef VISA_Handle VIDTRANSCODE_Handle
 Opaque handle to a VIDTRANSCODE codec.
typedef struct IVIDTRANSCODE_Params VIDTRANSCODE_Params
 Defines the creation time parameters for all IVIDTRANSCODE instance objects.
typedef IVIDTRANSCODE_InArgs VIDTRANSCODE_InArgs
 Defines the input arguments for all IVIDTRANSCODE instance process function.
typedef IVIDTRANSCODE_OutArgs VIDTRANSCODE_OutArgs
 Defines the run time output arguments for all IVIDTRANSCODE instance objects.
typedef IVIDTRANSCODE_Cmd VIDTRANSCODE_Cmd
 Defines the control commands for the IVIDTRANSCODE module.
typedef IVIDTRANSCODE_DynamicParams VIDTRANSCODE_DynamicParams
 This structure defines the codec parameters that can be modified after creation via control() calls.
typedef IVIDTRANSCODE_Status VIDTRANSCODE_Status
 Defines instance status parameters.

Functions

Int32 VIDTRANSCODE_control (VIDTRANSCODE_Handle handle, VIDTRANSCODE_Cmd id, VIDTRANSCODE_DynamicParams *params, VIDTRANSCODE_Status *status)
 Execute the control() method in this instance of a video transcoder algorithm.
VIDTRANSCODE_Handle VIDTRANSCODE_create (Engine_Handle e, String name, VIDTRANSCODE_Params *params)
 Create an instance of a video transcoder algorithm.
Void VIDTRANSCODE_delete (VIDTRANSCODE_Handle handle)
 Delete the instance of a video transcoder algorithm.
Int32 VIDTRANSCODE_process (VIDTRANSCODE_Handle handle, XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs, VIDTRANSCODE_InArgs *inArgs, VIDTRANSCODE_OutArgs *outArgs)
 Execute the process() method in this instance of a video transcoder algorithm.
XDAS_Int32 VIDTRANSCODE_processAsync (VIDTRANSCODE_Handle handle, XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs, IVIDTRANSCODE_InArgs *inArgs, IVIDTRANSCODE_OutArgs *outArgs)
 Perform asynchronous submission to this instance of a video transcoder algorithm.
XDAS_Int32 VIDTRANSCODE_processWait (VIDTRANSCODE_Handle handle, XDM1_BufDesc *inBufs, XDM_BufDesc *outBufs, IVIDTRANSCODE_InArgs *inArgs, IVIDTRANSCODE_OutArgs *outArgs, UInt timeout)
 Wait for a return message from a previous invocation of VIDTRANSCODE_processAsync() in this instance of an video transcoder algorithm.
Copyright 2013, Texas Instruments Incorporated