summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-06-13 20:50:58 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-06-21 12:19:13 +0800
commitd052a16e7349f615e8010d046f03074f8df20200 (patch)
treec831959179153b0bf6c8af061f911851cfae94ba
parentdb24619aeca7f46aad76d490b8d8756ba03ed652 (diff)
downloadlibva-intel-driver-d052a16e7349f615e8010d046f03074f8df20200.tar.gz
libva-intel-driver-d052a16e7349f615e8010d046f03074f8df20200.tar.bz2
libva-intel-driver-d052a16e7349f615e8010d046f03074f8df20200.zip
VEBOX: clean up
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--src/gen75_vpp_vebox.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c
index 9ae8775..7cb568a 100644
--- a/src/gen75_vpp_vebox.c
+++ b/src/gen75_vpp_vebox.c
@@ -773,15 +773,6 @@ void hsw_veb_resource_prepare(VADriverContextP ctx,
proc_ctx->fourcc_output = output_fourcc;
/* create pipeline surfaces */
- VASurfaceID surfaces[FRAME_STORE_SUM];
- va_status = i965_CreateSurfaces(ctx,
- proc_ctx ->width_input,
- proc_ctx ->height_input,
- VA_RT_FORMAT_YUV420,
- FRAME_STORE_SUM,
- surfaces);
- assert(va_status == VA_STATUS_SUCCESS);
-
for(i = 0; i < FRAME_STORE_SUM; i ++) {
if(proc_ctx->frame_store[i].obj_surface){
continue; //refer external surface for vebox pipeline