VPP: add VPP Filters for BDW
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 21 Jun 2013 02:26:13 +0000 (10:26 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 27 Feb 2014 02:22:18 +0000 (10:22 +0800)
Needs to rebuild the shader for VAProcFilterSharpening on BDW

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_drv_video.c

index 86476b6..bfb1092 100755 (executable)
@@ -343,7 +343,16 @@ static struct hw_codec_info gen8_hw_codec_info = {
     .has_accelerated_getimage = 1,
     .has_accelerated_putimage = 1,
     .has_tiled_surface = 1,
+    .has_di_motion_adptive = 1,
     .has_vp8_decoding = 1,
+
+    .num_filters = 4,
+    .filters = {
+        VAProcFilterNoiseReduction,
+        VAProcFilterDeinterlacing,
+        VAProcFilterSharpening, /* need to rebuild the shader for BDW */
+        VAProcFilterColorBalance,
+    },
 };
 
 #define I965_PACKED_HEADER_BASE         0