Browse Source

dxva2_vc1: set PQUANT as described by the 2010 spec update

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Hendrik Leppkes Michael Niedermayer 12 years ago
parent
commit
e1facd3f81
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dxva2_vc1.c

+ 1
- 1
libavcodec/dxva2_vc1.c View File

@@ -123,7 +123,7 @@ static void fill_picture_parameters(AVCodecContext *avctx,
(v->range_mapuv );
pp->bPicBinPB = 0;
pp->bMV_RPS = (v->fcm == ILACE_FIELD && pp->bPicBackwardPrediction) ? v->refdist + 9 : 0;
pp->bReservedBits = 0;
pp->bReservedBits = v->pq;
if (s->picture_structure == PICT_FRAME) {
pp->wBitstreamFcodes = v->lumscale;
pp->wBitstreamPCEelements = v->lumshift;


Loading…
Cancel
Save