![]() |
![]() |
Codec Engine Application Programming Interface (API)
ce-w08
|
Defines the creation time parameters for all IVIDENC instance objects. More...
#include <ividenc.h>
Defines the creation time parameters for all IVIDENC instance objects.
@remarks The application should set the parameters to 0 to use the algorithm's default values. @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. XDAS_Int32 IVIDENC_Params::size |
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
XDAS_Int32 IVIDENC_Params::encodingPreset |
Encoding preset.
XDAS_Int32 IVIDENC_Params::rateControlPreset |
Video rate control presets.
@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_RateControlPreset
XDAS_Int32 IVIDENC_Params::maxHeight |
Maximum height.
XDAS_Int32 IVIDENC_Params::maxWidth |
Maximum width.
XDAS_Int32 IVIDENC_Params::maxFrameRate |
Maximum frame rate * 1000.
XDAS_Int32 IVIDENC_Params::maxBitRate |
Maximum bit rate, bits per second.
XDAS_Int32 IVIDENC_Params::dataEndianness |
Endianness of output data.
@sa XDM_DataFormat
XDAS_Int32 IVIDENC_Params::maxInterFrameInterval |
I to P frame distance. e.g. = 1 if no B frames, 2 to insert one B frame.
XDAS_Int32 IVIDENC_Params::inputChromaFormat |
Chroma format for the input buffer.
@sa XDM_ChromaFormat
XDAS_Int32 IVIDENC_Params::inputContentType |
Video content type of the buffer being encoded.