diff options
author | carpalis <jerome.borsboom@carpalis.nl> | 2017-10-23 10:23:35 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2018-01-05 14:57:31 +0800 |
commit | 1c848c89d53fcaf834e875fdb47779fd3cce071e (patch) | |
tree | a605cf7dbff2125f8b056138a4a0df9cc5953f08 | |
parent | b708e8f58583fc1aa04694bcd7b61e7969107720 (diff) | |
download | libva-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>
-rw-r--r-- | src/gen6_mfd.c | 4 | ||||
-rw-r--r-- | src/gen75_mfd.c | 4 | ||||
-rw-r--r-- | src/gen7_mfd.c | 4 | ||||
-rw-r--r-- | src/gen8_mfd.c | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/src/gen6_mfd.c b/src/gen6_mfd.c index 35b570b5..e2c3b1f9 100644 --- a/src/gen6_mfd.c +++ b/src/gen6_mfd.c @@ -1457,10 +1457,6 @@ gen6_mfd_vc1_pic_state(VADriverContextP ctx, else ptype = pic_param->picture_fields.bits.picture_type; - if (profile == GEN6_VC1_ADVANCED_PROFILE && - picture_type == GEN6_VC1_I_PICTURE) - picture_type = GEN6_VC1_BI_PICTURE; - if (picture_type == GEN6_VC1_I_PICTURE || picture_type == GEN6_VC1_BI_PICTURE) /* I picture */ trans_ac_y = pic_param->transform_fields.bits.transform_ac_codingset_idx2; else { diff --git a/src/gen75_mfd.c b/src/gen75_mfd.c index 84ae8567..896a615b 100644 --- a/src/gen75_mfd.c +++ b/src/gen75_mfd.c @@ -1782,10 +1782,6 @@ gen75_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 { diff --git a/src/gen7_mfd.c b/src/gen7_mfd.c index 80be4f61..cb23379d 100644 --- a/src/gen7_mfd.c +++ b/src/gen7_mfd.c @@ -1517,10 +1517,6 @@ gen7_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 { 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 { |