Commit e1facd3f authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

dxva2_vc1: set PQUANT as described by the 2010 spec update

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3021d1be
...@@ -123,7 +123,7 @@ static void fill_picture_parameters(AVCodecContext *avctx, ...@@ -123,7 +123,7 @@ static void fill_picture_parameters(AVCodecContext *avctx,
(v->range_mapuv ); (v->range_mapuv );
pp->bPicBinPB = 0; pp->bPicBinPB = 0;
pp->bMV_RPS = (v->fcm == ILACE_FIELD && pp->bPicBackwardPrediction) ? v->refdist + 9 : 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) { if (s->picture_structure == PICT_FRAME) {
pp->wBitstreamFcodes = v->lumscale; pp->wBitstreamFcodes = v->lumscale;
pp->wBitstreamPCEelements = v->lumshift; pp->wBitstreamPCEelements = v->lumshift;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment