diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2013-01-09 15:44:29 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-01-09 16:09:19 +0800 |
commit | f0523c58e304bd8e7b2a470c4cb4e06057a0a4bf (patch) | |
tree | 7790e865520e479873370bea998b59f8f8df4e3f /src/gen6_mfd.c | |
parent | 066c9f6532b11e1e3d0457520dea565cd29faea7 (diff) | |
download | libva-intel-driver-f0523c58e304bd8e7b2a470c4cb4e06057a0a4bf.tar.gz libva-intel-driver-f0523c58e304bd8e7b2a470c4cb4e06057a0a4bf.tar.bz2 libva-intel-driver-f0523c58e304bd8e7b2a470c4cb4e06057a0a4bf.zip |
No overlap smoothing for B frame in Main and Simple profiles
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58448
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 660cb88ec00a896eefc9580e691d0a07fb2870ec)
Diffstat (limited to 'src/gen6_mfd.c')
-rwxr-xr-x | src/gen6_mfd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gen6_mfd.c b/src/gen6_mfd.c index ac3a68b..bd35c5c 100755 --- a/src/gen6_mfd.c +++ b/src/gen6_mfd.c @@ -1685,8 +1685,9 @@ gen6_mfd_vc1_pic_state(VADriverContextP ctx, overlap = 0; if (profile != GEN6_VC1_ADVANCED_PROFILE){ - if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9){ - overlap = 1; + if (pic_param->pic_quantizer_fields.bits.pic_quantizer_scale >= 9 && + pic_param->picture_fields.bits.picture_type != GEN6_VC1_B_PICTURE) { + overlap = 1; } }else { if (pic_param->picture_fields.bits.picture_type == GEN6_VC1_P_PICTURE && |