summaryrefslogtreecommitdiff
path: root/src/gen8_mfd.c
diff options
context:
space:
mode:
authorcarpalis <jerome.borsboom@carpalis.nl>2017-10-23 10:23:35 +0200
committerXiang, Haihao <haihao.xiang@intel.com>2018-01-05 14:57:31 +0800
commit1c848c89d53fcaf834e875fdb47779fd3cce071e (patch)
treea605cf7dbff2125f8b056138a4a0df9cc5953f08 /src/gen8_mfd.c
parentb708e8f58583fc1aa04694bcd7b61e7969107720 (diff)
downloadlibva-intel-driver-1c848c89d53fcaf834e875fdb47779fd3cce071e.tar.gz
genX_mfd: remove mapping of I frame to BI frame
This mapping does not make sense. Unless the mapping is some workaround for a hardware quirk, we should be able to safely remove it. If this breaks things, we can always put it back accompanied with an explanation in the code. Signed-off-by: Jerome Borsboom <jerome.borsboom@carpalis.nl>
Diffstat (limited to 'src/gen8_mfd.c')
-rw-r--r--src/gen8_mfd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gen8_mfd.c b/src/gen8_mfd.c
index 962cb153..5dcccb7c 100644
--- a/src/gen8_mfd.c
+++ b/src/gen8_mfd.c
@@ -1561,10 +1561,6 @@ gen8_mfd_vc1_pic_state(VADriverContextP ctx,
else
ptype = pic_param->picture_fields.bits.picture_type;
- if (profile == GEN7_VC1_ADVANCED_PROFILE &&
- picture_type == GEN7_VC1_I_PICTURE)
- picture_type = GEN7_VC1_BI_PICTURE;
-
if (picture_type == GEN7_VC1_I_PICTURE || picture_type == GEN7_VC1_BI_PICTURE) /* I picture */
trans_ac_y = pic_param->transform_fields.bits.transform_ac_codingset_idx2;
else {