From: Xiang, Haihao Date: Sat, 2 Apr 2011 04:05:10 +0000 (+0800) Subject: fix internal buffer size X-Git-Tag: libva-1.0.13~30^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f064a9d461934fbf50f879a306747aba6e1e043c;p=platform%2Fupstream%2Flibva.git fix internal buffer size Signed-off-by: Xiang, Haihao --- 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;