[FFmpeg-cvslog] dxva2_vc1: pass the overlap flag to the decoder
Hendrik Leppkes
git at videolan.org
Mon Mar 12 07:02:37 CET 2012
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Fri Jan 20 15:19:44 2012 +0100| [0aedd8c0bd5838a295be0c0a7e8407d7712326b9] | committer: Michael Niedermayer
dxva2_vc1: pass the overlap flag to the decoder
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0aedd8c0bd5838a295be0c0a7e8407d7712326b9
---
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 99b3dee..a881d81 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) |
More information about the ffmpeg-cvslog
mailing list