#include <ividdec1.h>
Collaboration diagram for IVIDDEC1_OutArgs:
size
parameter.
The size
field must be correctly set by the caller.
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
Number of bytes consumed during the process() call.
Output ID corresponding to displayBufs[].
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.
Array containing display frames corresponding to valid ID entries in the outputID
[] array.
outputID
[] will set zero value for the following fields in the IVIDEO1_BufDesc structure: numBufs
, frameWidth
, frameHeight
, and framePitch
.
Implied by the previous remark, as this array corresponds to buffer IDs indicated by outputID
[], elements of this array are undefined if the corresponding outputID
[] element is zero (0).
Output ID corresponding with the MB Data
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.
This is an array of inputID's corresponding to the buffers that have been unlocked in the current process call.
freeBuf
array.The buffers released by the algorithm are indicated by their non-zero ID (previously provided via IVIDDEC1_InArgs::inputID).
A value of zero (0) indicates an invalid ID. The first zero entry in array will indicate end of valid freeBufIDs within the array. Hence the application can stop searching the array when it encounters the first zero entry.
If no buffer was unlocked in the process call, freeBufID
[0] will have a value of zero.
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.