XDAIS
dais-x04
|
Defines the run time output arguments for all IVIDDEC2 instance objects. More...
#include <ividdec2.h>
Defines the run time output arguments for all IVIDDEC2 instance objects.
size
parameter. 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.XDAS_Int32 IVIDDEC2_OutArgs::size |
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
XDAS_Int32 IVIDDEC2_OutArgs::bytesConsumed |
Number of bytes consumed during the process() call.
XDAS_Int32 IVIDDEC2_OutArgs::outputID[20] |
Output ID corresponding to displayBufs[].
IVIDEO1_BufDesc IVIDDEC2_OutArgs::decodedBufs |
The decoder fills this structure with buffer pointers to the decoded frame. Related information fields for the decoded frame are also populated.
When frame decoding is not complete, as indicated by outBufsInUseFlag
, the frame data in this structure will be incomplete. However, the algorithm will provide incomplete decoded frame data in case application may choose to use it for error recovery purposes.
IVIDEO1_BufDesc IVIDDEC2_OutArgs::displayBufs[20] |
Array containing display frames corresponding to valid ID entries in the outputID
[] array.
displayBufs
[].bufDesc[].bufSize fields returned correspond to the actual size of the memory buffers. Other fields (e.g. pitch, width, height, chroma) can be used to determine the contents in those buffers.outputID
[] will set zero value for the following fields in the IVIDEO1_BufDesc structure: numBufs
, frameWidth
, frameHeight
, and framePitch
.outputID
[], elements of this array are undefined if the corresponding outputID
[] element is zero (0). XDAS_Int32 IVIDDEC2_OutArgs::outputMbDataID |
Output ID corresponding with the MB Data
XDM1_SingleBufDesc IVIDDEC2_OutArgs::mbDataBuf |
The decoder populates the last buffer among the buffers supplied within outBufs->bufs[] with the decoded MB data generated by the ECD module. The pointer buffer along with the buffer size is output via this buffer descriptor.
XDAS_Int32 IVIDDEC2_OutArgs::freeBufID[20] |
This is an array of inputID's corresponding to the buffers that have been unlocked in the current process call.
freeBuf
array.freeBufID
[0] will have a value of zero.XDAS_Int32 IVIDDEC2_OutArgs::outBufsInUseFlag |
Flag to indicate that the outBufs
provided with the process() call are in use. No outBufs are required to be supplied with the next process() call.