From 3ca77948496298e87fb817ca28659e28f0d8c7fa Mon Sep 17 00:00:00 2001 From: kunimitsu suzuki Date: Mon, 26 Dec 2011 08:43:18 +0100 Subject: [PATCH] [PORT FROM R2] atomisp: Sh3a: optimize DVS run time by copying statistics at once. BZ: 18955 Change of DVS-Library according to layout change of the DVS statistics. By the layout change, the number of times of a call of hmm_load() reduces.(12calls -> 2call per frame) There are the following corrections on the whole. libmfldadvci: 3A/src/Sh3a/Custom/Wrap_3AIF.c 3A/src/Sh3a/Dis/AlDisP.c atomisp: drivers/media/video/atomisp/css/sh_css_binary.c Change-Id: I9315e53ef7bc18172671ba28b117ec51fb13a52b Orig-Change-Id: Ibedfb72486dc379469ee366d2651514953ad2d84 Signed-off-by: kunimitsu suzuki Reviewed-on: http://android.intel.com:8080/29933 Reviewed-by: Cohen, David A Reviewed-by: Wang, Wen W Tested-by: Koski, Anttu Reviewed-by: buildbot Tested-by: buildbot Reviewed-on: http://android.intel.com:8080/30512 Reviewed-by: Lampila, KalleX Reviewed-by: Koski, Anttu --- drivers/media/video/atomisp/css/sh_css_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/video/atomisp/css/sh_css_params.c b/drivers/media/video/atomisp/css/sh_css_params.c index 6e183cb..ffa1b64 100644 --- a/drivers/media/video/atomisp/css/sh_css_params.c +++ b/drivers/media/video/atomisp/css/sh_css_params.c @@ -652,7 +652,7 @@ sh_css_set_dis_coefficients(const short *horizontal_coefficients, dis_coef_table_changed = true; } -#if 0 +#if 1 /* This is the optimized code that uses the aligned_width and aligned_height * for the projections. This should be enabled in the same patch set that * adds the correct handling of these strides to the DIS IA code. -- 2.7.4