Commit 7103c835 authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Anton Khirnov

dxva2_vc1: pass the overlap flag to the decoder

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent b2b0aa70
...@@ -101,7 +101,8 @@ static void fill_picture_parameters(AVCodecContext *avctx, ...@@ -101,7 +101,8 @@ static void fill_picture_parameters(AVCodecContext *avctx,
(v->rangered << 3) | (v->rangered << 3) |
(s->max_b_frames ); (s->max_b_frames );
pp->bPicExtrapolation = (!v->interlace || v->fcm == PROGRESSIVE) ? 1 : 2; pp->bPicExtrapolation = (!v->interlace || v->fcm == PROGRESSIVE) ? 1 : 2;
pp->bPicDeblocked = ((v->profile != PROFILE_ADVANCED && v->rangeredfrm) << 5) | pp->bPicDeblocked = ((!pp->bPicBackwardPrediction && v->overlap) << 6) |
((v->profile != PROFILE_ADVANCED && v->rangeredfrm) << 5) |
(s->loop_filter << 1); (s->loop_filter << 1);
pp->bPicDeblockConfined = (v->postprocflag << 7) | pp->bPicDeblockConfined = (v->postprocflag << 7) |
(v->broadcast << 6) | (v->broadcast << 6) |
......
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