Correct an assertion
Change (ID:I15faa59e2b0cadf4b7fb8998e747400a370df0b3) added the option
to use EIGHTTAP_REGULAR for resizing, this commit correct the assertion
to reflect the new option.
BUG=aomedia:2742
Change-Id: Icd6a7e7aa37f84675c5ad435629fac414f0d9399
diff --git a/av1/common/resize.c b/av1/common/resize.c
index 74847ba..74f6432 100644
--- a/av1/common/resize.c
+++ b/av1/common/resize.c
@@ -1201,7 +1201,8 @@
const int src_strides[3] = { src->y_stride, src->uv_stride, src->uv_stride };
uint8_t *const dsts[3] = { dst->y_buffer, dst->u_buffer, dst->v_buffer };
const int dst_strides[3] = { dst->y_stride, dst->uv_stride, dst->uv_stride };
- assert(filter == BILINEAR || filter == EIGHTTAP_SMOOTH);
+ assert(filter == BILINEAR || filter == EIGHTTAP_SMOOTH ||
+ filter == EIGHTTAP_REGULAR);
const InterpKernel *const kernel =
filter == BILINEAR ? av1_bilinear_filters : av1_sub_pel_filters_8smooth;
const int dst_w = dst->y_crop_width;