![]() |
![]() |
Defines instance status parameters. More...
#include <ividdec2.h>

Data Fields | |
| XDM_ContextInfo | contextInfo |
| XDAS_Int32 | nextPartRequiredFlag |
| XDAS_Int32 | partialExtendedError |
| IVIDDEC2_Status | fullStatus |
Defines instance status parameters.
Context info.
Flag indicating whether the next part in the split codec must be called or not.
nextPartRequiredFlag field is XDAS_TRUE, the application must call the next part in the split codec.partialExtendedError field. Extended error information.
Complete status results.
size parameter. size field must be correctly set by the caller. See http://tiexpressdsp.com/index.php?title=Extending_data_structures_in_xDM for more details.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.fullStatus.size field should only indicate the size of the [potentially extended] fullStatus structure.nextPartRequiredFlag is XDAS_FALSE.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.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.context->outBuffers[0] field.