diff options
author | Yaowu Xu <yaowu@google.com> | 2011-06-06 16:42:58 -0700 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2011-06-06 16:44:05 -0700 |
commit | d4700731ca4779678cef1b44374b88934e06b947 (patch) | |
tree | 6faecc52a28e1b122461620cfe2ac741f3d4188f /vp8/encoder/arm/arm_csystemdependent.c | |
parent | 04edde2b114da4ac94cea13bbe9a6fe0ed474576 (diff) | |
download | libvpx-d4700731ca4779678cef1b44374b88934e06b947.tar libvpx-d4700731ca4779678cef1b44374b88934e06b947.tar.gz libvpx-d4700731ca4779678cef1b44374b88934e06b947.tar.bz2 libvpx-d4700731ca4779678cef1b44374b88934e06b947.zip |
remove redundant functions
The encoder defined about 4 set of similar functions to calculate sum,
variance or sse or a combination of them. This commit removed one set
of these functions, get8x8var and get16x16var, where calls to the later
function are replaced with var16x16 by using the fact on a 16x16 MB:
variance == sse - sum*sum/256
Change-Id: I803eabd1fb3ab177780a40338cbd596dffaed267
Diffstat (limited to 'vp8/encoder/arm/arm_csystemdependent.c')
-rw-r--r-- | vp8/encoder/arm/arm_csystemdependent.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vp8/encoder/arm/arm_csystemdependent.c b/vp8/encoder/arm/arm_csystemdependent.c index db079d5ed..75e3a53d2 100644 --- a/vp8/encoder/arm/arm_csystemdependent.c +++ b/vp8/encoder/arm/arm_csystemdependent.c @@ -54,8 +54,6 @@ void vp8_arch_arm_encoder_init(VP8_COMP *cpi) /*cpi->rtcd.variance.getmbss = vp8_get_mb_ss_c;*/ /*cpi->rtcd.variance.get16x16prederror = vp8_get16x16pred_error_c; - cpi->rtcd.variance.get8x8var = vp8_get8x8var_c; - cpi->rtcd.variance.get16x16var = vp8_get16x16var_c;; cpi->rtcd.variance.get4x4sse_cs = vp8_get4x4sse_cs_c;*/ /*cpi->rtcd.fdct.short4x4 = vp8_short_fdct4x4_c; @@ -104,8 +102,6 @@ void vp8_arch_arm_encoder_init(VP8_COMP *cpi) /*cpi->rtcd.variance.getmbss = vp8_get_mb_ss_c;*/ cpi->rtcd.variance.get16x16prederror = vp8_get16x16pred_error_neon; - /*cpi->rtcd.variance.get8x8var = vp8_get8x8var_c; - cpi->rtcd.variance.get16x16var = vp8_get16x16var_c;*/ cpi->rtcd.variance.get4x4sse_cs = vp8_get4x4sse_cs_neon; cpi->rtcd.fdct.short4x4 = vp8_short_fdct4x4_neon; |