summaryrefslogtreecommitdiff
path: root/src/i965_encoder.h
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2012-01-01 02:18:58 +0000
committerXiang, Haihao <haihao.xiang@intel.com>2016-08-15 14:36:02 +0800
commit89463c30a9ce2740603f36f1000da54b8b5c731b (patch)
tree3478688799c4e7220ce36199b75fcb7a199607fd /src/i965_encoder.h
parentae08e61f0746c5ed34d740ad2ed3731e43b5b456 (diff)
downloadlibva-intel-driver-89463c30a9ce2740603f36f1000da54b8b5c731b.tar.gz
Encoding: Dynamically select one mechanism to construct encoding command buffer for each frame on Haswell and Gen7/Gen6
v2:remove the warning when compiling v1: combine the Haswell and Gen7/6 patch together Currently it uses the fixed policy to construct encoding command buffer. (Use CPU or GPU). And it is statically compiled. But sometimes it needs to choose the different mechanism on the fly instead of statically compiled mode. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: pjl <cecilia.peng@intel.com> Signed-off-by: Pengfei Qu <Pengfei.Qu@intel.com>
Diffstat (limited to 'src/i965_encoder.h')
-rw-r--r--src/i965_encoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i965_encoder.h b/src/i965_encoder.h
index ddfcf9f1..94d84b5d 100644
--- a/src/i965_encoder.h
+++ b/src/i965_encoder.h
@@ -65,6 +65,7 @@ struct intel_encoder_context
unsigned int is_tmp_id:1;
unsigned int low_power_mode:1;
+ unsigned int soft_batch_force:1;
void (*vme_context_destroy)(void *vme_context);
VAStatus (*vme_pipeline)(VADriverContextP ctx,