From: James Zern Date: Wed, 3 Feb 2016 03:38:37 +0000 (-0800) Subject: intrapred: protect functions w/CONFIG check x2 X-Git-Tag: v1.6.0~385^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cdf1077d5ac268ad52d4512bd992e1a23b229d7b;p=libvpx intrapred: protect functions w/CONFIG check x2 high-bitdepth version d207e, d63e, d45e are only used with CONFIG_MISC_FIXES Change-Id: I77292e11f51fd76d4127fd0027f876866bcf8675 --- diff --git a/vpx_dsp/intrapred.c b/vpx_dsp/intrapred.c index 912a2e0a6..ba35b23c6 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,