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

Defines instance status parameters. More...

#include <ividdec2.h>

Collaboration diagram for IVIDDEC2FRONT_Status:
Collaboration graph

Data Fields

XDM_ContextInfo contextInfo
XDAS_Int32 nextPartRequiredFlag
XDAS_Int32 partialExtendedError
 Extended error information.
IVIDDEC2_Status fullStatus

Detailed Description

Defines instance status parameters.

Remarks:
All fields correspond to latest IVIDDEC2FRONT_Fxns::process() call on the particular instance of the decoder.
See also:
IVIDDEC2FRONT_Fxns::control()

Field Documentation

XDM_ContextInfo IVIDDEC2FRONT_Status::contextInfo

Context info.

Remarks:
Only valid when the cmd issued to control() is XDM_GETCONTEXTINFO.
XDAS_Int32 IVIDDEC2FRONT_Status::nextPartRequiredFlag

Flag indicating whether the next part in the split codec must be called or not.

Remarks:
If the control() call returned IVIDDEC2_EOK, and this nextPartRequiredFlag field is XDAS_TRUE, the application must call the next part in the split codec.
If the control() call returned failure (i.e., something other than IVIDDEC2_EOK), the codec must set this field to XDAS_FALSE. Further information about the failure can be obtained via the partialExtendedError field.
XDAS_Int32 IVIDDEC2FRONT_Status::partialExtendedError

Extended error information.

Remarks:
When an internal error occurs, the algorithm will return an error return value (e.g. EFAIL, EUNSUPPORTED)
The value of each enum is the bit which is set.
Bits 31-16 are reserved. Bits 7-0 are codec and implementation specific.
The algorithm can set multiple bits to 1 based on conditions. e.g. it will set bits XDM_FATALERROR (fatal) and XDM_UNSUPPORTEDPARAM (unsupported params) in case of unsupported run time parameters.
This enumeration data type should not be used for storage, but rather only for its constant values.

See also:
XDM_ErrorBit
Remarks:
This field should be filled by the codec if the control() call does not return IVIDDEC2_EOK. Otherwise, it is an undefined output field.
IVIDDEC2_Status IVIDDEC2FRONT_Status::fullStatus

Complete status results.

Remarks:
This structure may be extended by individual codec implementations allowing customization with vendor specific parameters. The presence of vendor specific extensions will be detected by the value of the size parameter.
The size field must be correctly set by the caller. See https://processors.wiki.ti.com/index.php/Extending_data_structures_in_XDM for more details.
The size field of this structure must be filled by the application before calling control(). This is necessary even if the FRONT codec is unable to complete the request (e.g., the codec sets the nextPartRequiredFlag to XDAS_TRUE) and further parts of the codec must be called. This size field indicates to the codec whether any codec-specific extensions are requested.
The fullStatus.size field should only indicate the size of the [potentially extended] fullStatus structure.
This field should be used if nextPartRequiredFlag is XDAS_FALSE.
This struct, with the exception of the size field, will be populated by the codec. If the control() call returns IVIDDEC2_EOK, the application must inspect the nextPartRequiredFlag field to determine whether it must call the next part or whether this fullStatus field contains the complete results of the control() call.
The fullStatus.data field should not be used to provide buffers to split codecs. In the same way the application provides data buffers to process() via an XDM_Context argument, control() does the same. As a result, the fullStatus.data field is ignored and unused in this struct.
If control() is called with the XDM_GETVERSION command, the application must provide the buffer into which the codec will place its version string in the context->outBuffers[0] field.

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