shithub: libvpx

Download patch

ref: cdf1077d5ac268ad52d4512bd992e1a23b229d7b
parent: b0549839f6398c9086aa0deb66c4d29e89851e4d
author: James Zern <[email protected]>
date: Tue Feb 2 14:38:37 EST 2016

intrapred: protect functions w/CONFIG check x2

high-bitdepth version
d207e, d63e, d45e are only used with CONFIG_MISC_FIXES

Change-Id: I77292e11f51fd76d4127fd0027f876866bcf8675

--- a/vpx_dsp/intrapred.c
+++ b/vpx_dsp/intrapred.c
@@ -534,6 +534,7 @@
   }
 }
 
+#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 @@
     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 @@
   }
 }
 
+#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 @@
     dst += stride;
   }
 }
+#endif  // CONFIG_MISC_FIXES
 
 static INLINE void highbd_d117_predictor(uint16_t *dst, ptrdiff_t stride,
                                          int bs, const uint16_t *above,