diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2012-10-31 16:47:57 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-11-01 08:45:44 +0800 |
commit | 984491249fcf79c3ed6b61379447a221313437d7 (patch) | |
tree | 841c4d9bb930f6003b5c5cfa157e6156a6e6a35f /src/gen75_vpp_vebox.c | |
parent | 7eee0e13b12184119b8df54583893932529994cc (diff) | |
download | libva-intel-driver-984491249fcf79c3ed6b61379447a221313437d7.tar.gz libva-intel-driver-984491249fcf79c3ed6b61379447a221313437d7.tar.bz2 libva-intel-driver-984491249fcf79c3ed6b61379447a221313437d7.zip |
Allow to create batchbuffer based on the expected buffer size
This is to support the 4Kx4K encoding on Haswell. Otherwise the default batch
buffer size can't hold the encoding command for 4Kx4K encoding.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/gen75_vpp_vebox.c')
-rw-r--r-- | src/gen75_vpp_vebox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c index d2472d9..b1bef7b 100644 --- a/src/gen75_vpp_vebox.c +++ b/src/gen75_vpp_vebox.c @@ -849,7 +849,7 @@ struct intel_vebox_context * gen75_vebox_context_init(VADriverContextP ctx) struct intel_driver_data *intel = intel_driver_data(ctx); struct intel_vebox_context *proc_context = calloc(1, sizeof(struct intel_vebox_context)); - proc_context->batch = intel_batchbuffer_new(intel, I915_EXEC_VEBOX); + proc_context->batch = intel_batchbuffer_new(intel, I915_EXEC_VEBOX, 0); memset(proc_context->frame_store, 0, sizeof(VEBFrameStore)*FRAME_STORE_SUM); proc_context->filters_mask = 0; |