Move superres 1D convolve functions to convolve.c This is to ease integration with striped loop restoration Change-Id: If10e16656a3fe42bcca3e7238e4e729c962f2bb8
diff --git a/av1/common/av1_rtcd_defs.pl b/av1/common/av1_rtcd_defs.pl index 1a16086..3bbcd70 100755 --- a/av1/common/av1_rtcd_defs.pl +++ b/av1/common/av1_rtcd_defs.pl
@@ -50,6 +50,15 @@ add_proto qw/void av1_convolve_vert/, "const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const InterpFilterParams fp, const int subpel_x_q4, int x_step_q4, ConvolveParams *conv_params"; specialize qw/av1_convolve_vert ssse3/; +if (aom_config("CONFIG_FRAME_SUPERRES") eq "yes") { + if (aom_config("CONFIG_LOOP_RESTORATION") eq "yes") { + add_proto qw/void av1_convolve_horiz_rs/, "const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int interp_taps, const int x0_qn, const int x_step_qn"; + if (aom_config("CONFIG_HIGHBITDEPTH") eq "yes") { + add_proto qw/void av1_highbd_convolve_horiz_rs/, "const uint16_t *src, int src_stride, uint16_t *dst, int dst_stride, int w, int h, const int16_t *x_filters, int interp_taps, const int x0_qn, const int x_step_qn, int bd"; + } + } +} + if (aom_config("CONFIG_HIGHBITDEPTH") eq "yes") { add_proto qw/void av1_highbd_convolve_init/, "void"; specialize qw/av1_highbd_convolve_init sse4_1/;