Move shared SAD code to vpx_dsp
authorJohann <johannkoenig@google.com>
Fri, 17 Apr 2015 20:11:38 +0000 (16:11 -0400)
committerJohann <johannkoenig@google.com>
Wed, 6 May 2015 23:58:20 +0000 (16:58 -0700)
commitd5d92898001064c74548a7fa04b0f624de4afb40
treef10d02eae337f0cb5561404ac9109203776ecc32
parentc77b1f5acd09852aff1ba09d7f371728a60634d7
Move shared SAD code to vpx_dsp

Create a new component, vpx_dsp, for code that can be shared
between codecs. Move the SAD code into the component.

This reduces the size of vpxenc/dec by 36k on x86_64 builds.

Change-Id: I73f837ddaecac6b350bf757af0cfe19c4ab9327a
44 files changed:
libs.mk
test/sad_test.cc
test/test_libvpx.cc
vp8/common/arm/neon/sad_neon.c [deleted file]
vp8/common/copy_c.c [new file with mode: 0644]
vp8/common/mfqe.c
vp8/common/rtcd_defs.pl
vp8/common/sad_c.c [deleted file]
vp8/common/variance.h
vp8/common/x86/copy_sse2.asm [new file with mode: 0644]
vp8/common/x86/copy_sse3.asm [new file with mode: 0644]
vp8/common/x86/sad_sse2.asm [deleted file]
vp8/common/x86/sad_sse3.asm [deleted file]
vp8/common/x86/sad_sse4.asm [deleted file]
vp8/encoder/mcomp.c
vp8/encoder/onyx_if.c
vp8/encoder/rdopt.c
vp8/vp8_common.mk
vp8/vp8_cx_iface.c
vp8/vp8_dx_iface.c
vp9/common/vp9_mfqe.c
vp9/common/vp9_rtcd_defs.pl
vp9/decoder/vp9_decoder.c
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_mbgraph.c
vp9/encoder/x86/vp9_sad_ssse3.asm [deleted file]
vp9/vp9cx.mk
vpx_dsp/arm/sad4d_neon.c [moved from vp9/encoder/arm/neon/vp9_sad4d_neon.c with 96% similarity]
vpx_dsp/arm/sad_media.asm [moved from vp8/common/arm/armv6/vp8_sad16x16_armv6.asm with 97% similarity]
vpx_dsp/arm/sad_neon.c [moved from vp9/encoder/arm/neon/vp9_sad_neon.c with 65% similarity]
vpx_dsp/sad.c [moved from vp9/encoder/vp9_sad.c with 59% similarity]
vpx_dsp/vpx_dsp.mk [new file with mode: 0644]
vpx_dsp/vpx_dsp_rtcd.c [new file with mode: 0644]
vpx_dsp/vpx_dsp_rtcd_defs.pl [new file with mode: 0644]
vpx_dsp/x86/highbd_sad4d_sse2.asm [moved from vp9/encoder/x86/vp9_highbd_sad4d_sse2.asm with 98% similarity]
vpx_dsp/x86/highbd_sad_sse2.asm [moved from vp9/encoder/x86/vp9_highbd_sad_sse2.asm with 97% similarity]
vpx_dsp/x86/sad4d_avx2.c [moved from vp9/encoder/x86/vp9_sad4d_intrin_avx2.c with 97% similarity]
vpx_dsp/x86/sad4d_sse2.asm [moved from vp9/encoder/x86/vp9_sad4d_sse2.asm with 98% similarity]
vpx_dsp/x86/sad_avx2.c [moved from vp9/encoder/x86/vp9_sad_intrin_avx2.c with 96% similarity]
vpx_dsp/x86/sad_mmx.asm [moved from vp8/common/x86/sad_mmx.asm with 95% similarity]
vpx_dsp/x86/sad_sse2.asm [moved from vp9/encoder/x86/vp9_sad_sse2.asm with 95% similarity]
vpx_dsp/x86/sad_sse3.asm [moved from vp9/encoder/x86/vp9_sad_sse3.asm with 94% similarity]
vpx_dsp/x86/sad_sse4.asm [moved from vp9/encoder/x86/vp9_sad_sse4.asm with 95% similarity]
vpx_dsp/x86/sad_ssse3.asm [moved from vp8/common/x86/sad_ssse3.asm with 64% similarity]