#include <ividdec2.h>
Collaboration diagram for IVIDDEC2_Status:
size
parameter.
The size
field must be correctly set by the caller.
All fields correspond to latest IVIDDEC2_Fxns::process() call on the particular instance of the decoder.
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
Extended error information.
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.
Buffer descriptor for data passing.
data.buf
to NULL.This buffer can be used as either input or output, depending on the command.
The buffer will be provided by the application, and returned to the application upon return of the IVIDDEC2_Fxns.control() call. The algorithm must not retain a pointer to this data.
The maximum number of buffers that will be required by the codec.
Output height in pixels.
Output width in pixels.
Average frame rate in fps * 1000. For example, if average frame rate is 30 frames per second, this field should be 30000.
Average bit rate, in bits per second.
Video content types.
This enumeration defines a base set of values. Algorithms which require proprietary enumeration values may define them - much like extended fields in base structures. These extended enums should be between XDM_CUSTOMENUMBASE and 0x7FFF.
Chroma formats.
This enumeration defines a base set of values. Algorithms which require proprietary enumeration values may define them - much like extended fields in base structures. These extended enums should be between XDM_CUSTOMENUMBASE and 0x7FFF.