Some minor clean-ups on convolve functions
Some fixes and additions of asserts.
Change-Id: Ib5f706baf48acb2853f7fe55991efa95e6a848de
diff --git a/av1/common/convolve.h b/av1/common/convolve.h
index 7bbf220..7d4ae42 100644
--- a/av1/common/convolve.h
+++ b/av1/common/convolve.h
@@ -122,6 +122,7 @@
ConvolveParams conv_params;
conv_params.ref = ref;
conv_params.do_average = do_average;
+ assert(IMPLIES(do_average, is_compound));
conv_params.round = CONVOLVE_OPT_NO_ROUND;
conv_params.is_compound = is_compound;
conv_params.round_0 = ROUND0_BITS;