Data Fields

IVIDENC2_Params Struct Reference
[IVIDENC2 - XDM Video Encoder Interface]

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

#include <ividenc2.h>

Data Fields

XDAS_Int32 size
XDAS_Int32 encodingPreset
XDAS_Int32 rateControlPreset
XDAS_Int32 maxHeight
XDAS_Int32 maxWidth
XDAS_Int32 dataEndianness
XDAS_Int32 maxInterFrameInterval
XDAS_Int32 maxBitRate
XDAS_Int32 minBitRate
XDAS_Int32 inputChromaFormat
XDAS_Int32 inputContentType
XDAS_Int32 operatingMode
XDAS_Int32 profile
XDAS_Int32 level
XDAS_Int32 inputDataMode
XDAS_Int32 outputDataMode
XDAS_Int32 numInputDataUnits
XDAS_Int32 numOutputDataUnits
XDAS_Int32 metadataType [3]

Detailed Description

Defines the creation time parameters for all IVIDENC2 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 size parameter.
The size field must be correctly set by the caller. See http://tiexpressdsp.com/index.php?title=Extending_data_structures_in_xDM for more details.

Field Documentation

Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.

Encoding preset.

Video rate control presets.

Remarks:
This enumeration data type should not be used for storage, but rather only for its constant values.
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
See also:
IVIDEO_RateControlPreset

Maximum video height in pixels.

Maximum video width in pixels.

Endianness of output data.

See also:
XDM_DataFormat

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.

Maximum Bit-rate for encoding in bits per second

Minumum Bit-rate for encoding in bits per second

Chroma format for the input buffer.

See also:
XDM_ChromaFormat

Video content type of the buffer being encoded.

See also:
IVIDEO_ContentType

Video coding mode of operation.

See also:
IVIDEO_OperatingMode

Profile indicator of video codec

Remarks:
Only one default value (IVIDENC2_DEFAULTPROFILE) is defined by XDM for this field. The reason for not defining further values is to keep profile values as defined by video codec standards.
See also:
IVIDENC2_Status.profile

Level indicator of video codec

Remarks:
Only one default value (IVIDENC2_DEFAULTLEVEL) is defined by XDM for this field. The reason for not defining further values is to keep profile values as defined by video codec standards.
See also:
IVIDENC2_Status.level

Input data mode.

Remarks:
If a subframe mode is provided, the application must call IVIDENC2_Fxns::control() with XDM_SETPARAMS id prior to IVIDENC2_Fxns::process() to set the IVIDENC2_DynamicParams::getDataFxn and IVIDENC2_DynamicParams::getDataHandle. Else, the alg can return error.
See also:
IVIDEO_DataMode

Output data mode.

Remarks:
If a subframe mode is provided, the application must call IVIDENC2_Fxns::control() with XDM_SETPARAMS id prior to IVIDENC2_Fxns::process() to set the IVIDENC2_DynamicParams::putDataFxn, IVIDENC2_DynamicParams::putDataHandle (and optionally IVIDENC2_DynamicParams::getBufferFxn, and IVIDENC2_DynamicParams::getBufferHandle). Else, the alg can return error.
See also:
IVIDEO_DataMode

Number of input slices/rows.

Remarks:
Units depend on the inputDataMode, like number of slices/rows/blocks etc.
Ignored if inputDataMode is set to full frame mode.

Number of output slices/rows.

Remarks:
Units depend on the outputDataMode, like number of slices/rows/blocks etc.
Ignored if outputDataMode is set to full frame mode.

Type of each metadata plane.

See also:
IVIDEO_MetadataType

The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2011, Texas Instruments Incorporated