summaryrefslogtreecommitdiff
path: root/vpx_dsp
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-01-26 20:13:57 -0800
committerJames Zern <jzern@google.com>2016-01-26 20:13:57 -0800
commitfea27ccca040abd3d3e40e38aac6f87025d383d4 (patch)
treee92649e4c1c5b157f4f388c52fe0ed9e93988a78 /vpx_dsp
parentfb58a84c683c9b2ade526c9a22727e378a34db03 (diff)
downloadlibvpx-fea27ccca040abd3d3e40e38aac6f87025d383d4.tar
libvpx-fea27ccca040abd3d3e40e38aac6f87025d383d4.tar.gz
libvpx-fea27ccca040abd3d3e40e38aac6f87025d383d4.tar.bz2
libvpx-fea27ccca040abd3d3e40e38aac6f87025d383d4.zip
intrapred: protect functions w/CONFIG check
d207e, d63e, d45e are only used with CONFIG_MISC_FIXES Change-Id: If13946e483c4d0ccaa3e1d60dc14216c06d5a219
Diffstat (limited to 'vpx_dsp')
-rw-r--r--vpx_dsp/intrapred.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vpx_dsp/intrapred.c b/vpx_dsp/intrapred.c
index a9669e512..912a2e0a6 100644
--- a/vpx_dsp/intrapred.c
+++ b/vpx_dsp/intrapred.c
@@ -44,6 +44,7 @@ static INLINE void d207_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
dst[r * stride + c] = dst[(r + 1) * stride + c - 2];
}
+#if CONFIG_MISC_FIXES
static INLINE void d207e_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
const uint8_t *above, const uint8_t *left) {
int r, c;
@@ -58,6 +59,7 @@ static INLINE void d207e_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
dst += stride;
}
}
+#endif // CONFIG_MISC_FIXES
static INLINE void d63_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
const uint8_t *above, const uint8_t *left) {
@@ -76,6 +78,7 @@ static INLINE void d63_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
}
}
+#if CONFIG_MISC_FIXES
static INLINE void d63e_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
const uint8_t *above, const uint8_t *left) {
int r, c;
@@ -89,6 +92,7 @@ static INLINE void d63e_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
dst += stride;
}
}
+#endif // CONFIG_MISC_FIXES
static INLINE void d45_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
const uint8_t *above, const uint8_t *left) {
@@ -109,6 +113,7 @@ static INLINE void d45_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
}
}
+#if CONFIG_MISC_FIXES
static INLINE void d45e_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
const uint8_t *above, const uint8_t *left) {
int r, c;
@@ -121,6 +126,7 @@ static INLINE void d45e_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
dst += stride;
}
}
+#endif // CONFIG_MISC_FIXES
static INLINE void d117_predictor(uint8_t *dst, ptrdiff_t stride, int bs,
const uint8_t *above, const uint8_t *left) {