]> granicus.if.org Git - libvpx/commit
remove redundant functions
authorYaowu Xu <yaowu@google.com>
Mon, 6 Jun 2011 23:42:58 +0000 (16:42 -0700)
committerYaowu Xu <yaowu@google.com>
Mon, 6 Jun 2011 23:44:05 +0000 (16:44 -0700)
commitd4700731ca4779678cef1b44374b88934e06b947
tree6faecc52a28e1b122461620cfe2ac741f3d4188f
parent04edde2b114da4ac94cea13bbe9a6fe0ed474576
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
vp8/encoder/arm/arm_csystemdependent.c
vp8/encoder/arm/variance_arm.h
vp8/encoder/encodeframe.c
vp8/encoder/generic/csystemdependent.c
vp8/encoder/ppc/csystemdependent.c
vp8/encoder/rdopt.c
vp8/encoder/variance.h
vp8/encoder/variance_c.c
vp8/encoder/x86/variance_mmx.c
vp8/encoder/x86/variance_x86.h
vp8/encoder/x86/x86_csystemdependent.c