diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-01-20 15:19:44 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-12 06:12:35 +0100 |
commit | 0aedd8c0bd5838a295be0c0a7e8407d7712326b9 (patch) | |
tree | 171bb4cb305c091c5f8758f37893814275f85220 /libavcodec/dxva2_vc1.c | |
parent | a3c5aefff2892fb4e86ee6caaec23c9f3ffb2953 (diff) | |
download | ffmpeg-0aedd8c0bd5838a295be0c0a7e8407d7712326b9.tar.gz |
dxva2_vc1: pass the overlap flag to the decoder
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dxva2_vc1.c')
-rw-r--r-- | libavcodec/dxva2_vc1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dxva2_vc1.c b/libavcodec/dxva2_vc1.c index 99b3deecdf..a881d817e5 100644 --- a/libavcodec/dxva2_vc1.c +++ b/libavcodec/dxva2_vc1.c @@ -101,7 +101,8 @@ static void fill_picture_parameters(AVCodecContext *avctx, (v->rangered << 3) | (s->max_b_frames ); 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); pp->bPicDeblockConfined = (v->postprocflag << 7) | (v->broadcast << 6) | |