Simplify file dependencies of SIMD implementation of interpolation filters
This is a similar change to following aom CL
https://aomedia-review.googlesource.com/#/c/1961/
Move SIMD related functions from filter.c/h to following files
av1_convolve_ssse3.c
av1_highbd_convolve_filters_sse4.c
Change following c files to header files.
av1_highbd_convolve_filters_sse4.c
av1_convolve_filters_ssse3.c
Change-Id: I41a3cc6b0789e632451aeda82f5eb97a4d78e370
diff --git a/av1/common/filter.h b/av1/common/filter.h
index 098e38d..0ac52a9 100644
--- a/av1/common/filter.h
+++ b/av1/common/filter.h
@@ -73,6 +73,7 @@
const int16_t *filter_ptr;
uint16_t taps;
uint16_t subpel_shifts;
+ InterpFilter interp_filter;
} InterpFilterParams;
InterpFilterParams av1_get_interp_filter_params(
@@ -91,33 +92,6 @@
return (ip.filter_ptr[ip.taps / 2 - 1] == 128);
}
-#if USE_TEMPORALFILTER_12TAP
-DECLARE_ALIGNED(16, extern const int16_t,
- av1_sub_pel_filters_temporalfilter_12[SUBPEL_SHIFTS][12]);
-#endif
-
-#if CONFIG_EXT_INTERP
-DECLARE_ALIGNED(256, extern const int16_t,
- av1_sub_pel_filters_10sharp[SUBPEL_SHIFTS][10]);
-DECLARE_ALIGNED(16, extern const int16_t,
- av1_sub_pel_filters_12sharp[SUBPEL_SHIFTS][12]);
-#endif
-
-typedef const int8_t (*SubpelFilterCoeffs)[16];
-#if CONFIG_AOM_HIGHBITDEPTH
-typedef const int16_t (*HbdSubpelFilterCoeffs)[8];
-#endif
-
-SubpelFilterCoeffs av1_get_subpel_filter_signal_dir(const InterpFilterParams p,
- int index);
-
-SubpelFilterCoeffs av1_get_subpel_filter_ver_signal_dir(
- const InterpFilterParams p, int index);
-#if CONFIG_AOM_HIGHBITDEPTH
-HbdSubpelFilterCoeffs av1_hbd_get_subpel_filter_ver_signal_dir(
- const InterpFilterParams p, int index);
-#endif
-
#ifdef __cplusplus
} // extern "C"
#endif