From d5d92898001064c74548a7fa04b0f624de4afb40 Mon Sep 17 00:00:00 2001 From: Johann Date: Fri, 17 Apr 2015 16:11:38 -0400 Subject: 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 --- vp9/decoder/vp9_decoder.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vp9/decoder') 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 #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; -- cgit v1.2.3