summaryrefslogtreecommitdiff
path: root/media/libaom/src/aom_dsp/aom_convolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'media/libaom/src/aom_dsp/aom_convolve.c')
-rw-r--r--media/libaom/src/aom_dsp/aom_convolve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libaom/src/aom_dsp/aom_convolve.c b/media/libaom/src/aom_dsp/aom_convolve.c
index 4791826da..7879b88f6 100644
--- a/media/libaom/src/aom_dsp/aom_convolve.c
+++ b/media/libaom/src/aom_dsp/aom_convolve.c
@@ -74,7 +74,6 @@ static void convolve_vert(const uint8_t *src, ptrdiff_t src_stride,
static const InterpKernel *get_filter_base(const int16_t *filter) {
// NOTE: This assumes that the filter table is 256-byte aligned.
- // TODO(agrange) Modify to make independent of table alignment.
return (const InterpKernel *)(((intptr_t)filter) & ~((intptr_t)0xFF));
}
@@ -130,6 +129,7 @@ void aom_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
}
}
+#if CONFIG_AV1_HIGHBITDEPTH
static INLINE int highbd_vert_scalar_product(const uint16_t *a,
ptrdiff_t a_stride,
const int16_t *b) {
@@ -236,3 +236,4 @@ void aom_highbd_convolve_copy_c(const uint8_t *src8, ptrdiff_t src_stride,
dst += dst_stride;
}
}
+#endif // CONFIG_AV1_HIGHBITDEPTH