OSDN Git Service

genX_mfd: remove mapping of I frame to BI frame
[android-x86/hardware-intel-common-vaapi.git] / src / gen7_mfd.c
index 80be4f6..cb23379 100644 (file)
@@ -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 {