Codec Engine Application Programming Interface (API)  ce-w08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
IVIDENC1_Params Struct Reference

Defines the creation time parameters for all IVIDENC1 instance objects. More...

#include <ividenc1.h>

Collaboration diagram for IVIDENC1_Params:
Collaboration graph

Data Fields

XDAS_Int32 size
XDAS_Int32 encodingPreset
XDAS_Int32 rateControlPreset
 Video rate control presets.
XDAS_Int32 maxHeight
XDAS_Int32 maxWidth
XDAS_Int32 maxFrameRate
XDAS_Int32 maxBitRate
XDAS_Int32 dataEndianness
XDAS_Int32 maxInterFrameInterval
XDAS_Int32 inputChromaFormat
XDAS_Int32 inputContentType
XDAS_Int32 reconChromaFormat

Detailed Description

Defines the creation time parameters for all IVIDENC1 instance objects.

@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.
Remarks:
The 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.

Field Documentation

XDAS_Int32 IVIDENC1_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 IVIDENC1_Params::encodingPreset

Encoding preset.

XDAS_Int32 IVIDENC1_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.
See also:
XDM_CUSTOMENUMBASE

                                 @sa IVIDEO_RateControlPreset
XDAS_Int32 IVIDENC1_Params::maxHeight

Maximum video height in pixels.

XDAS_Int32 IVIDENC1_Params::maxWidth

Maximum video width in pixels.

XDAS_Int32 IVIDENC1_Params::maxFrameRate

Maximum frame rate in fps * 1000. For example, if max frame rate is 30 frames per second, set this field to 30000.

XDAS_Int32 IVIDENC1_Params::maxBitRate

Maximum bit rate, bits per second.

XDAS_Int32 IVIDENC1_Params::dataEndianness

Endianness of output data.

                                @sa    XDM_DataFormat
XDAS_Int32 IVIDENC1_Params::maxInterFrameInterval

I to P frame distance. e.g. = 1 if no B frames, 2 to insert one B frame.

Remarks:
This is used for setting the maximum number of B frames between two refererence frames.
XDAS_Int32 IVIDENC1_Params::inputChromaFormat

Chroma format for the input buffer.

                                @sa XDM_ChromaFormat
XDAS_Int32 IVIDENC1_Params::inputContentType

Video content type of the buffer being encoded.

See also:
IVIDEO_ContentType
XDAS_Int32 IVIDENC1_Params::reconChromaFormat

Chroma formats for the reconstruction buffers.

Remarks:
The application should set this to XDM_CHROMA_NA if reconstruction buffers are not required.
See also:
XDM_ChromaFormat

The documentation for this struct was generated from the following file:
Copyright 2013, Texas Instruments Incorporated