[FFmpeg-cvslog] dxva2_vc1: set PQUANT as described by the 2010 spec update
Hendrik Leppkes
git at videolan.org
Wed Jan 1 03:05:12 CET 2014
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Thu Dec 12 21:12:50 2013 +0100| [e1facd3f8198fc4bfd54f3a4097e66513e6bf3e4] | committer: Michael Niedermayer
dxva2_vc1: set PQUANT as described by the 2010 spec update
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1facd3f8198fc4bfd54f3a4097e66513e6bf3e4
---
libavcodec/dxva2_vc1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c
index 33309b1..bf4e8e0 100644
--- a/libavcodec/dxva2_vc1.c
+++ b/libavcodec/dxva2_vc1.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list