Move/Rename wiener convolve functions into av1
Moves and renames Wiener convolve functions into AV1.
Removes dependency of libaom on aom_convolve, which has
now only unused convolve functions that can be removed,
Change-Id: I90077cf9cd35852a35f9ac4b24f9da1a12c9cdc6
diff --git a/av1/common/convolve.h b/av1/common/convolve.h
index 555c671..5684e5c 100644
--- a/av1/common/convolve.h
+++ b/av1/common/convolve.h
@@ -41,6 +41,11 @@
#define COMPOUND_ROUND1_BITS 0
#endif // CONFIG_LOWPRECISION_BLEND
+#define WIENER_ROUND0_BITS 5
+#define WIENER_ROUND1_BITS (FILTER_BITS * 2 - WIENER_ROUND0_BITS)
+#define WIENER_CLAMP_LIMIT(bd) \
+ (1 << ((bd) + 1 + FILTER_BITS - WIENER_ROUND0_BITS))
+
typedef void (*aom_convolve_fn_t)(const uint8_t *src, int src_stride,
uint8_t *dst, int dst_stride, int w, int h,
InterpFilterParams *filter_params_x,