OSDN Git Service

Add the 10bit-scaling conversion for I010 format
[android-x86/hardware-intel-common-vaapi.git] / src / i965_post_processing.h
index 63e678d..e55bf0b 100755 (executable)
 #define __I965_POST_PROCESSING_H__
 
 #include "i965_vpp_avs.h"
+#include <drm.h>
+#include <i915_drm.h>
+#include <intel_bufmgr.h>
+#include "i965_gpe_utils.h"
 
 #define MAX_PP_SURFACES                 48
 
+struct i965_gpe_context;
+
 enum
 {
     PP_NULL = 0,
@@ -528,6 +534,8 @@ struct i965_post_processing_context
         unsigned int curbe_allocation_size : 16;
     } vfe_gpu_state;
 
+    struct intel_vebox_context *vebox_proc_ctx;
+
     struct pp_load_save_context pp_load_save_context;
     struct pp_scaling_context pp_scaling_context;
     struct pp_avs_context pp_avs_context;
@@ -588,6 +596,10 @@ struct i965_post_processing_context
                                void * filter_param);
     void (*finalize)(VADriverContextP ctx,
         struct i965_post_processing_context *pp_context);
+
+
+    struct i965_gpe_context scaling_10bit_context;
+    int scaling_context_initialized;
 };
 
 struct i965_proc_context