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

Defines the structure that contains macroblock related encoding parameter estimates. More...

#include <ividenc1.h>

Collaboration diagram for IVIDENC1_MbData:
Collaboration graph

Data Fields

XDAS_Int32 mbMode
XDAS_Int32 QP
XDAS_Int32 mvFwdXY
XDAS_Int32 mvBwdXY

Detailed Description

Defines the structure that contains macroblock related encoding parameter estimates.

Remarks:
An array of IVIDENC1_MbData is provided within the inBufs parameter to IVIDENC1_Fxns::process() when IVIDENC1_DynamicParams::mbDataFlag is set.
See also:
IVIDENC1_DynamicParams::mbDataFlag
IVIDENC1_Fxns::process()
IVIDENC1_Fxns::control()

Field Documentation

XDAS_Int32 IVIDENC1_MbData::mbMode

MB encoding mode

Remarks:
Valid values are:
  • 0x00 for skip macroblock
  • 0x01 for I Frame macroblock
  • 0x02 for P Frame macroblock
  • 0x03 for B Frame macroblock
  • 0x04 for I Field macroblock
  • 0x05 for P Field macroblock
  • 0x06 for B Field macroblock
  • 0xFF for mbMode not specified
XDAS_Int32 IVIDENC1_MbData::QP

QP estimate.

                                @remarks   A value of 0xFF for QP is
                                           not specified.
XDAS_Int32 IVIDENC1_MbData::mvFwdXY

Forward Motion vector estimate.

                                @remarks   If MVx (XDAS_Int16) and MVy
                                           (XDAS_Int16) are the motion
                                           vectors in the x and y
                                           directions, in quarter pel
                                           units, then
                                @code 
                                mvFwdXY = ((MVx & 0x0000FFFF) << 16) |
                                           (MVy & 0x0000FFFF);
                                @endcode

                                @remarks   A value of 0x7FFF7FFF to
                                           indicate mvFwdXY is not
                                           specified.
XDAS_Int32 IVIDENC1_MbData::mvBwdXY

Backward motion vector estimate.

                                @remarks   The format is the same as
                                           IVIDENC1_MbData::mvFwdXY.

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