diff options
-rwxr-xr-x | src/gen6_mfd.c | 5 | ||||
-rw-r--r-- | src/gen75_mfd.c | 5 | ||||
-rwxr-xr-x | src/gen7_mfd.c | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/src/gen6_mfd.c b/src/gen6_mfd.c index 741a97e..4b11a87 100755 --- a/src/gen6_mfd.c +++ b/src/gen6_mfd.c @@ -1664,8 +1664,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 && diff --git a/src/gen75_mfd.c b/src/gen75_mfd.c index 1800ac5..a4269f8 100644 --- a/src/gen75_mfd.c +++ b/src/gen75_mfd.c @@ -1960,8 +1960,9 @@ gen75_mfd_vc1_pic_state(VADriverContextP ctx, overlap = 0; if (profile != GEN7_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 != GEN7_VC1_B_PICTURE) { + overlap = 1; } }else { if (pic_param->picture_fields.bits.picture_type == GEN7_VC1_P_PICTURE && diff --git a/src/gen7_mfd.c b/src/gen7_mfd.c index 8c51017..6c85a49 100755 --- a/src/gen7_mfd.c +++ b/src/gen7_mfd.c @@ -1619,8 +1619,9 @@ gen7_mfd_vc1_pic_state(VADriverContextP ctx, overlap = 0; if (profile != GEN7_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 != GEN7_VC1_B_PICTURE) { + overlap = 1; } }else { if (pic_param->picture_fields.bits.picture_type == GEN7_VC1_P_PICTURE && |