VPP: it should be float for normalized_x/y
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 4 May 2012 08:34:55 +0000 (16:34 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 4 May 2012 08:34:55 +0000 (16:34 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_post_processing.h

index 1a83e65..486bde9 100644 (file)
@@ -65,8 +65,8 @@ struct pp_scaling_context
     int dest_y; /* in pixel */
     int dest_w;
     int dest_h;
-    int src_normalized_x;
-    int src_normalized_y;
+    float src_normalized_x;
+    float src_normalized_y;
 };
 
 struct pp_avs_context
@@ -75,8 +75,8 @@ struct pp_avs_context
     int dest_y; /* in pixel */
     int dest_w;
     int dest_h;
-    int src_normalized_x;
-    int src_normalized_y;
+    float src_normalized_x;
+    float src_normalized_y;
     int src_w;
     int src_h;
 };