Partager via


DVD 352-Wide Example

DVD can use 352-wide pictures, which can be stretched to a width of 704 by use of the PictureSourceRect16thPel member of the DXVA_BlendCombination structure (in one-sixteenth of a luminance sample spacing resolution).

The PictureSourceRect16thPel member defines a source rectangle with the following values:

  • left = 0

  • right = 16 X (left + horizontal_size) = 5632

The PictureDestinationRect member of the DXVA_BlendCombination structure defines two alternative destination rectangles with the following values:

  1. A destination rectangle with the following values:

    • left = 8
    • right = left + (2 X horizontal_size) = 712
  2. A destination rectangle with the following values:

    • left = 0
    • right = left + (2 X horizontal_size) = 704

In the second case, the rectangle indicated by the GraphicDestinationRect member of the DXVA_BlendCombination structure is displaced to the left by eight to compensate for the shifted picture destination

The second of these two alternatives creates only the destination area that is used for the display.