diff options
author | Johann <johannkoenig@google.com> | 2015-04-17 16:11:38 -0400 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2015-05-06 16:58:20 -0700 |
commit | d5d92898001064c74548a7fa04b0f624de4afb40 (patch) | |
tree | f10d02eae337f0cb5561404ac9109203776ecc32 /vp9/decoder | |
parent | c77b1f5acd09852aff1ba09d7f371728a60634d7 (diff) | |
download | libvpx-d5d92898001064c74548a7fa04b0f624de4afb40.tar libvpx-d5d92898001064c74548a7fa04b0f624de4afb40.tar.gz libvpx-d5d92898001064c74548a7fa04b0f624de4afb40.tar.bz2 libvpx-d5d92898001064c74548a7fa04b0f624de4afb40.zip |
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
Diffstat (limited to 'vp9/decoder')
-rw-r--r-- | vp9/decoder/vp9_decoder.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/decoder/vp9_decoder.c b/vp9/decoder/vp9_decoder.c index bf4037721..288d8690c 100644 --- a/vp9/decoder/vp9_decoder.c +++ b/vp9/decoder/vp9_decoder.c @@ -13,6 +13,7 @@ #include <stdio.h> #include "./vp9_rtcd.h" +#include "./vpx_dsp_rtcd.h" #include "./vpx_scale_rtcd.h" #include "vpx_mem/vpx_mem.h" @@ -40,6 +41,7 @@ static void initialize_dec(void) { if (!init_done) { vp9_rtcd(); + vpx_dsp_rtcd(); vpx_scale_rtcd(); vp9_init_intra_predictors(); init_done = 1; |