XDAIS  dais-x04
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
IVIDDEC2BACK_Fxns Struct Reference

Defines all of the operations on IVIDDEC2BACK objects. More...

#include <ividdec2.h>

Collaboration diagram for IVIDDEC2BACK_Fxns:
Collaboration graph

Data Fields

IALG_Fxns ialg
XDAS_Int32(* process )(IVIDDEC2BACK_Handle handle, XDM_Context *context, IVIDDEC2_OutArgs *outArgs)
 Basic video decoding call.
XDAS_Int32(* control )(IVIDDEC2BACK_Handle handle, XDM_Context *context, IVIDDEC2_Status *status)
 Control behavior of an algorithm.

Detailed Description

Defines all of the operations on IVIDDEC2BACK objects.


Field Documentation

IALG_Fxns IVIDDEC2BACK_Fxns::ialg

XDAIS algorithm interface.

See also:
IALG_Fxns
XDAS_Int32(* IVIDDEC2BACK_Fxns::process)(IVIDDEC2BACK_Handle handle, XDM_Context *context, IVIDDEC2_OutArgs *outArgs)

Basic video decoding call.

Parameters:
[in]handleHandle to an algorithm instance.
[in,out]contextContext provided to, and managed by the split codec.
[out]outArgsOuput results. This is a required parameter.
Remarks:
process() is a blocking call. When process() returns, the algorithm's processing is complete.
Precondition:
context must not be NULL, and must point to a valid XDM_Context structure.
context->numInOutBufs must be zero (0).
outArgs must not be NULL, and must point to a valid IVIDDEC2_OutArgs structure.
Postcondition:
The buffers in context are owned by the calling application.
Return values:
IVIDDEC2_EOKSuccess.
IVIDDEC2_EFAILGeneral failure. See IVIDDEC2_Status::extendedError for more detailed further error conditions.
IVIDDEC2_EUNSUPPORTEDRequest is unsupported.
XDAS_Int32(* IVIDDEC2BACK_Fxns::control)(IVIDDEC2BACK_Handle handle, XDM_Context *context, IVIDDEC2_Status *status)

Control behavior of an algorithm.

Parameters:
[in]handleHandle to an algorithm instance.
[in]contextCodec context. This is a required parameter.
[out]statusOutput results. This is a required parameter.
Precondition:
handle must be a valid algorithm instance handle.
context must not be NULL, and must point to a valid XDM_Context structure.
status must not be NULL, and must point to a valid IVIDDEC2_Status structure.
If a buffer is provided in the status->data field, it must be physically contiguous and owned by the calling application.
Postcondition:
If a buffer was provided in the status->data field, it is owned by the calling application.
Return values:
IVIDDEC2_EOKSuccess.
IVIDDEC2_EFAILGeneral failure. See IVIDDEC2_Status::extendedError for more detailed further error conditions.
IVIDDEC2_EUNSUPPORTEDRequest is unsupported.

The documentation for this struct was generated from the following file:
Copyright 2013, Texas Instruments Incorporated