IVIDENC1_MbData Struct Reference
[XDM IVIDENC1 Video Encoder Interface]

#include <ividenc1.h>


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()


Data Fields

XDAS_Int32 mbMode
XDAS_Int32 QP
XDAS_Int32 mvFwdXY
XDAS_Int32 mvBwdXY


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
   mvFwdXY = ((MVx & 0x0000FFFF) << 16) |
              (MVy & 0x0000FFFF);

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 2009, Texas Instruments Incorporated