![]() |
![]() |
Codec Engine Application Programming Interface (API)
ce-w08
|
Defines instance status parameters. More...
#include <ividdec2.h>
Data Fields | |
XDAS_Int32 | size |
XDAS_Int32 | extendedError |
Extended error information. | |
XDM1_SingleBufDesc | data |
XDAS_Int32 | maxNumDisplayBufs |
XDAS_Int32 | outputHeight |
XDAS_Int32 | outputWidth |
XDAS_Int32 | frameRate |
XDAS_Int32 | bitRate |
XDAS_Int32 | contentType |
Video content types. | |
XDAS_Int32 | outputChromaFormat |
Chroma formats. | |
XDM_AlgBufInfo | bufInfo |
Defines instance status parameters.
@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 @c 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. @remarks All fields correspond to latest IVIDDEC2_Fxns::process() call on the particular instance of the decoder. @sa IVIDDEC2_Fxns::control()
XDAS_Int32 IVIDDEC2_Status::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_Status::extendedError |
Extended error information.
XDM1_SingleBufDesc IVIDDEC2_Status::data |
Buffer descriptor for data passing.
@remarks If this field is not used, the application <b>must</b> set @c data.buf to NULL. @remarks This buffer can be used as either input or output, depending on the command. @remarks 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. @sa #XDM_GETVERSION
XDAS_Int32 IVIDDEC2_Status::maxNumDisplayBufs |
The maximum number of buffers that will be required by the codec.
XDAS_Int32 IVIDDEC2_Status::outputHeight |
Output height in pixels.
XDAS_Int32 IVIDDEC2_Status::outputWidth |
Output width in pixels.
XDAS_Int32 IVIDDEC2_Status::frameRate |
Average frame rate in fps * 1000. For example, if average frame rate is 30 frames per second, this field should be 30000.
XDAS_Int32 IVIDDEC2_Status::bitRate |
Average bit rate, in bits per second.
XDAS_Int32 IVIDDEC2_Status::contentType |
Video content types.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
@sa IVIDEO_ContentType
XDAS_Int32 IVIDDEC2_Status::outputChromaFormat |
Chroma formats.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
@sa XDM_ChromaFormat
XDM_AlgBufInfo IVIDDEC2_Status::bufInfo |
Input and output buffer information.
@sa XDM_AlgBufInfo