IVIDENC1_MbData Struct Reference
[XDM IVIDENC1 Video Encoder Interface]

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

#include <ividenc1.h>

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

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

QP estimate.

Remarks:
A value of 0xFF for QP is not specified.

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
   mvFwdXY = ((MVx & 0x0000FFFF) << 16) |
              (MVy & 0x0000FFFF);
A value of 0x7FFF7FFF to indicate mvFwdXY is not specified.

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:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2010, Texas Instruments Incorporated