From 62ad8baa40cfc07555a6abc8054c8d98ed8b4d58 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 14 May 2015 20:27:59 -0700 Subject: [PATCH] vp8: add some missing includes silences missing prototype warnings Change-Id: Ib62e4743532b871e63bc99732875fff20501b8ac --- vp8/common/alloccommon.c | 1 + vp8/common/filter.c | 1 + vp8/common/generic/systemdependent.c | 1 + vp8/common/idctllm.c | 1 + vp8/encoder/dct.c | 2 ++ vp8/encoder/modecosts.c | 1 + vp8/encoder/modecosts.h | 4 +++- 7 files changed, 10 insertions(+), 1 deletion(-) diff --git a/vp8/common/alloccommon.c b/vp8/common/alloccommon.c index b9d875a..8dfd4ce 100644 --- a/vp8/common/alloccommon.c +++ b/vp8/common/alloccommon.c @@ -10,6 +10,7 @@ #include "vpx_config.h" +#include "alloccommon.h" #include "blockd.h" #include "vpx_mem/vpx_mem.h" #include "onyxc_int.h" diff --git a/vp8/common/filter.c b/vp8/common/filter.c index 25266f8..84c608e 100644 --- a/vp8/common/filter.c +++ b/vp8/common/filter.c @@ -10,6 +10,7 @@ #include "filter.h" +#include "./vp8_rtcd.h" DECLARE_ALIGNED(16, const short, vp8_bilinear_filters[8][2]) = { diff --git a/vp8/common/generic/systemdependent.c b/vp8/common/generic/systemdependent.c index d84df33..4393ced 100644 --- a/vp8/common/generic/systemdependent.c +++ b/vp8/common/generic/systemdependent.c @@ -17,6 +17,7 @@ #include "vpx_ports/x86.h" #endif #include "vp8/common/onyxc_int.h" +#include "vp8/common/systemdependent.h" #if CONFIG_MULTITHREAD #if HAVE_UNISTD_H && !defined(__OS2__) diff --git a/vp8/common/idctllm.c b/vp8/common/idctllm.c index 47af52f..f5403c5 100644 --- a/vp8/common/idctllm.c +++ b/vp8/common/idctllm.c @@ -8,6 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ +#include "./vp8_rtcd.h" /**************************************************************************** * Notes: diff --git a/vp8/encoder/dct.c b/vp8/encoder/dct.c index 091554a..0c7198d 100644 --- a/vp8/encoder/dct.c +++ b/vp8/encoder/dct.c @@ -11,6 +11,8 @@ #include +#include "./vp8_rtcd.h" + void vp8_short_fdct4x4_c(short *input, short *output, int pitch) { int i; diff --git a/vp8/encoder/modecosts.c b/vp8/encoder/modecosts.c index c61563c..ad0e930 100644 --- a/vp8/encoder/modecosts.c +++ b/vp8/encoder/modecosts.c @@ -10,6 +10,7 @@ #include "vp8/common/blockd.h" +#include "modecosts.h" #include "onyx_int.h" #include "treewriter.h" #include "vp8/common/entropymode.h" diff --git a/vp8/encoder/modecosts.h b/vp8/encoder/modecosts.h index 9281551..9871bff 100644 --- a/vp8/encoder/modecosts.h +++ b/vp8/encoder/modecosts.h @@ -16,7 +16,9 @@ extern "C" { #endif -void vp8_init_mode_costs(VP8_COMP *x); +struct VP8_COMP; + +void vp8_init_mode_costs(struct VP8_COMP *x); #ifdef __cplusplus } // extern "C" -- 2.7.4