From f064a9d461934fbf50f879a306747aba6e1e043c Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Sat, 2 Apr 2011 12:05:10 +0800 Subject: [PATCH] fix internal buffer size Signed-off-by: Xiang, Haihao --- i965_drv_video/gen6_mfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i965_drv_video/gen6_mfc.c b/i965_drv_video/gen6_mfc.c index 241c950..81520ed 100644 --- a/i965_drv_video/gen6_mfc.c +++ b/i965_drv_video/gen6_mfc.c @@ -484,7 +484,7 @@ static void gen6_mfc_init(VADriverContextP ctx) //dri_bo_unreference(bo); bo = dri_bo_alloc(i965->intel.bufmgr, "Buffer", - 6 * 64, + 49152, /* 6 * 128 * 64 */ 64); assert(bo); bcs_state->deblocking_filter_row_store_scratch_buffer.bo = bo; @@ -495,7 +495,7 @@ static void gen6_mfc_init(VADriverContextP ctx) //dri_bo_unreference(bo); bo = dri_bo_alloc(i965->intel.bufmgr, "Buffer", - 11520, /* 1.5 * 120 * 64 */ + 12288, /* 1.5 * 128 * 64 */ 0x1000); assert(bo); bcs_state->bsd_mpc_row_store_scratch_buffer.bo = bo; -- 2.7.4