From cdf1077d5ac268ad52d4512bd992e1a23b229d7b Mon Sep 17 00:00:00 2001 From: James Zern <jzern@google.com> Date: Tue, 2 Feb 2016 19:38:37 -0800 Subject: [PATCH] intrapred: protect functions w/CONFIG check x2 high-bitdepth version d207e, d63e, d45e are only used with CONFIG_MISC_FIXES Change-Id: I77292e11f51fd76d4127fd0027f876866bcf8675 --- vpx_dsp/intrapred.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vpx_dsp/intrapred.c b/vpx_dsp/intrapred.c index 912a2e0a67..ba35b23c60 100644 --- a/vpx_dsp/intrapred.c +++ b/vpx_dsp/intrapred.c @@ -534,6 +534,7 @@ static INLINE void highbd_d207_predictor(uint16_t *dst, ptrdiff_t stride, } } +#if CONFIG_MISC_FIXES static INLINE void highbd_d207e_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) { @@ -550,6 +551,7 @@ static INLINE void highbd_d207e_predictor(uint16_t *dst, ptrdiff_t stride, dst += stride; } } +#endif // CONFIG_MISC_FIXES static INLINE void highbd_d63_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, @@ -585,6 +587,7 @@ static INLINE void highbd_d45_predictor(uint16_t *dst, ptrdiff_t stride, int bs, } } +#if CONFIG_MISC_FIXES static INLINE void highbd_d45e_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) { @@ -599,6 +602,7 @@ static INLINE void highbd_d45e_predictor(uint16_t *dst, ptrdiff_t stride, dst += stride; } } +#endif // CONFIG_MISC_FIXES static INLINE void highbd_d117_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, -- GitLab