s/INTERP_FILTER/InterpFilter/

this matches style guidelines and stabilizes successive runs of
clang-format across the tree. remaining types should be address in
successive commits.

Change-Id: I6ad3f69cf0a22cb9a9b895b272195f891f71170f
diff --git a/av1/common/av1_convolve.c b/av1/common/av1_convolve.c
index dec6759..1f8d623 100644
--- a/av1/common/av1_convolve.c
+++ b/av1/common/av1_convolve.c
@@ -96,9 +96,9 @@
 void av1_convolve(const uint8_t *src, int src_stride, uint8_t *dst,
                   int dst_stride, int w, int h,
 #if CONFIG_DUAL_FILTER
-                  const INTERP_FILTER *interp_filter,
+                  const InterpFilter *interp_filter,
 #else
-                  const INTERP_FILTER interp_filter,
+                  const InterpFilter interp_filter,
 #endif
                   const int subpel_x_q4, int x_step_q4, const int subpel_y_q4,
                   int y_step_q4, int ref_idx) {
@@ -270,9 +270,9 @@
 void av1_highbd_convolve(const uint8_t *src8, int src_stride, uint8_t *dst8,
                          int dst_stride, int w, int h,
 #if CONFIG_DUAL_FILTER
-                         const INTERP_FILTER *interp_filter,
+                         const InterpFilter *interp_filter,
 #else
-                         const INTERP_FILTER interp_filter,
+                         const InterpFilter interp_filter,
 #endif
                          const int subpel_x_q4, int x_step_q4,
                          const int subpel_y_q4, int y_step_q4, int ref_idx,
diff --git a/av1/common/av1_convolve.h b/av1/common/av1_convolve.h
index f082a8a..804c102 100644
--- a/av1/common/av1_convolve.h
+++ b/av1/common/av1_convolve.h
@@ -9,9 +9,9 @@
 void av1_convolve(const uint8_t *src, int src_stride, uint8_t *dst,
                   int dst_stride, int w, int h,
 #if CONFIG_DUAL_FILTER
-                  const INTERP_FILTER *interp_filter,
+                  const InterpFilter *interp_filter,
 #else
-                  const INTERP_FILTER interp_filter,
+                  const InterpFilter interp_filter,
 #endif
                   const int subpel_x, int xstep, const int subpel_y, int ystep,
                   int avg);
@@ -20,9 +20,9 @@
 void av1_highbd_convolve(const uint8_t *src, int src_stride, uint8_t *dst,
                          int dst_stride, int w, int h,
 #if CONFIG_DUAL_FILTER
-                         const INTERP_FILTER *interp_filter,
+                         const InterpFilter *interp_filter,
 #else
-                         const INTERP_FILTER interp_filter,
+                         const InterpFilter interp_filter,
 #endif
                          const int subpel_x, int xstep, const int subpel_y,
                          int ystep, int avg, int bd);
diff --git a/av1/common/blockd.h b/av1/common/blockd.h
index f035bb5..f9f82e1 100644
--- a/av1/common/blockd.h
+++ b/av1/common/blockd.h
@@ -203,9 +203,9 @@
 
 // Only for INTER blocks
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER interp_filter[4];
+  InterpFilter interp_filter[4];
 #else
-  INTERP_FILTER interp_filter;
+  InterpFilter interp_filter;
 #endif
   MV_REFERENCE_FRAME ref_frame[2];
   TX_TYPE tx_type;
diff --git a/av1/common/filter.c b/av1/common/filter.c
index 3960ab4..544e3da 100644
--- a/av1/common/filter.c
+++ b/av1/common/filter.c
@@ -222,7 +222,7 @@
 #endif  // USE_TEMPORALFILTER_12TAP
 
 InterpFilterParams av1_get_interp_filter_params(
-    const INTERP_FILTER interp_filter) {
+    const InterpFilter interp_filter) {
 #if USE_TEMPORALFILTER_12TAP
   if (interp_filter == TEMPORALFILTER_12TAP)
     return av1_interp_temporalfilter_12tap;
@@ -230,7 +230,7 @@
   return av1_interp_filter_params_list[interp_filter];
 }
 
-const int16_t *av1_get_interp_filter_kernel(const INTERP_FILTER interp_filter) {
+const int16_t *av1_get_interp_filter_kernel(const InterpFilter interp_filter) {
 #if USE_TEMPORALFILTER_12TAP
   if (interp_filter == TEMPORALFILTER_12TAP)
     return av1_interp_temporalfilter_12tap.filter_ptr;
diff --git a/av1/common/filter.h b/av1/common/filter.h
index c757e0e..8b3aaa3 100644
--- a/av1/common/filter.h
+++ b/av1/common/filter.h
@@ -55,7 +55,7 @@
 #define SWITCHABLE_FILTER_CONTEXTS (SWITCHABLE_FILTERS + 1)
 #endif
 
-typedef uint8_t INTERP_FILTER;
+typedef uint8_t InterpFilter;
 
 #if CONFIG_EXT_INTRA
 typedef enum {
@@ -76,9 +76,9 @@
 } InterpFilterParams;
 
 InterpFilterParams av1_get_interp_filter_params(
-    const INTERP_FILTER interp_filter);
+    const InterpFilter interp_filter);
 
-const int16_t *av1_get_interp_filter_kernel(const INTERP_FILTER interp_filter);
+const int16_t *av1_get_interp_filter_kernel(const InterpFilter interp_filter);
 
 static INLINE const int16_t *av1_get_interp_filter_subpel_kernel(
     const InterpFilterParams filter_params, const int subpel) {
@@ -86,7 +86,7 @@
 }
 
 static INLINE int av1_is_interpolating_filter(
-    const INTERP_FILTER interp_filter) {
+    const InterpFilter interp_filter) {
   const InterpFilterParams ip = av1_get_interp_filter_params(interp_filter);
   return (ip.filter_ptr[ip.taps / 2 - 1] == 128);
 }
diff --git a/av1/common/onyxc_int.h b/av1/common/onyxc_int.h
index e2bd218..a14b34f 100644
--- a/av1/common/onyxc_int.h
+++ b/av1/common/onyxc_int.h
@@ -271,7 +271,7 @@
   uint8_t *current_frame_seg_map;
   int seg_map_alloc_size;
 
-  INTERP_FILTER interp_filter;
+  InterpFilter interp_filter;
 
   loop_filter_info_n lf_info;
 #if CONFIG_LOOP_RESTORATION
diff --git a/av1/common/pred_common.c b/av1/common/pred_common.c
index 6fe1188..5d8cad0 100644
--- a/av1/common/pred_common.c
+++ b/av1/common/pred_common.c
@@ -16,10 +16,10 @@
 
 // Returns a context number for the given MB prediction signal
 #if CONFIG_DUAL_FILTER
-static INTERP_FILTER get_ref_filter_type(const MODE_INFO *mi,
-                                         const MACROBLOCKD *xd, int dir,
-                                         MV_REFERENCE_FRAME ref_frame) {
-  INTERP_FILTER ref_type = SWITCHABLE_FILTERS;
+static InterpFilter get_ref_filter_type(const MODE_INFO *mi,
+                                        const MACROBLOCKD *xd, int dir,
+                                        MV_REFERENCE_FRAME ref_frame) {
+  InterpFilter ref_type = SWITCHABLE_FILTERS;
   const MB_MODE_INFO *ref_mbmi = &mi->mbmi;
   int use_subpel[2] = {
     has_subpel_mv_component(mi, xd, dir),
diff --git a/av1/common/reconinter.c b/av1/common/reconinter.c
index 6a28161..a16f7ef 100644
--- a/av1/common/reconinter.c
+++ b/av1/common/reconinter.c
@@ -418,9 +418,9 @@
                                      const struct scale_factors *sf, int w,
                                      int h,
 #if CONFIG_DUAL_FILTER
-                                     const INTERP_FILTER *interp_filter,
+                                     const InterpFilter *interp_filter,
 #else
-                                     const INTERP_FILTER interp_filter,
+                                     const InterpFilter interp_filter,
 #endif
                                      int xs, int ys,
 #if CONFIG_SUPERTX
@@ -431,11 +431,11 @@
 // The prediction filter types used here should be those for
 // the second reference block.
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER tmp_ipf[4] = {
+  InterpFilter tmp_ipf[4] = {
     interp_filter[2], interp_filter[3], interp_filter[2], interp_filter[3],
   };
 #else
-  INTERP_FILTER tmp_ipf = interp_filter;
+  InterpFilter tmp_ipf = interp_filter;
 #endif  // CONFIG_DUAL_FILTER
 #if CONFIG_AOM_HIGHBITDEPTH
   DECLARE_ALIGNED(16, uint8_t, tmp_dst_[2 * MAX_SB_SQUARE]);
@@ -491,9 +491,9 @@
     const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride,
     const MV *src_mv, const struct scale_factors *sf, int w, int h, int ref,
 #if CONFIG_DUAL_FILTER
-    const INTERP_FILTER *interp_filter,
+    const InterpFilter *interp_filter,
 #else
-    const INTERP_FILTER interp_filter,
+    const InterpFilter interp_filter,
 #endif
     enum mv_precision precision, int x, int y, int bd) {
   const int is_q4 = precision == MV_PRECISION_Q4;
@@ -516,9 +516,9 @@
                                const struct scale_factors *sf, int w, int h,
                                int ref,
 #if CONFIG_DUAL_FILTER
-                               const INTERP_FILTER *interp_filter,
+                               const InterpFilter *interp_filter,
 #else
-                               const INTERP_FILTER interp_filter,
+                               const InterpFilter interp_filter,
 #endif
                                enum mv_precision precision, int x, int y) {
   const int is_q4 = precision == MV_PRECISION_Q4;
diff --git a/av1/common/reconinter.h b/av1/common/reconinter.h
index 379ba51..26a4590 100644
--- a/av1/common/reconinter.h
+++ b/av1/common/reconinter.h
@@ -27,9 +27,9 @@
                                    const struct scale_factors *sf, int w, int h,
                                    int ref_idx,
 #if CONFIG_DUAL_FILTER
-                                   const INTERP_FILTER *interp_filter,
+                                   const InterpFilter *interp_filter,
 #else
-                                   const INTERP_FILTER interp_filter,
+                                   const InterpFilter interp_filter,
 #endif
                                    int xs, int ys) {
 #if CONFIG_DUAL_FILTER
@@ -86,9 +86,9 @@
                                           const struct scale_factors *sf, int w,
                                           int h, int ref,
 #if CONFIG_DUAL_FILTER
-                                          const INTERP_FILTER *interp_filter,
+                                          const InterpFilter *interp_filter,
 #else
-                                          const INTERP_FILTER interp_filter,
+                                          const InterpFilter interp_filter,
 #endif
                                           int xs, int ys, int bd) {
 #if CONFIG_DUAL_FILTER
@@ -229,9 +229,9 @@
     const int subpel_x, const int subpel_y, const struct scale_factors *sf,
     int w, int h, int ref,
 #if CONFIG_DUAL_FILTER
-    const INTERP_FILTER *interp_filter,
+    const InterpFilter *interp_filter,
 #else
-    const INTERP_FILTER interp_filter,
+    const InterpFilter interp_filter,
 #endif
     int xs, int ys, const MACROBLOCKD *xd) {
   (void)xd;
@@ -252,9 +252,9 @@
                                      const struct scale_factors *sf, int w,
                                      int h,
 #if CONFIG_DUAL_FILTER
-                                     const INTERP_FILTER *interp_filter,
+                                     const InterpFilter *interp_filter,
 #else
-                                     const INTERP_FILTER interp_filter,
+                                     const InterpFilter interp_filter,
 #endif
                                      int xs, int ys,
 #if CONFIG_SUPERTX
@@ -371,9 +371,9 @@
                                const struct scale_factors *sf, int w, int h,
                                int do_avg,
 #if CONFIG_DUAL_FILTER
-                               const INTERP_FILTER *interp_filter,
+                               const InterpFilter *interp_filter,
 #else
-                               const INTERP_FILTER interp_filter,
+                               const InterpFilter interp_filter,
 #endif
                                enum mv_precision precision, int x, int y);
 
@@ -382,9 +382,9 @@
     const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride,
     const MV *mv_q3, const struct scale_factors *sf, int w, int h, int do_avg,
 #if CONFIG_DUAL_FILTER
-    const INTERP_FILTER *interp_filter,
+    const InterpFilter *interp_filter,
 #else
-    const INTERP_FILTER interp_filter,
+    const InterpFilter interp_filter,
 #endif
     enum mv_precision precision, int x, int y, int bd);
 #endif
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index 8d3202c..6e52c79 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -2108,7 +2108,7 @@
   }
 }
 
-static INTERP_FILTER read_interp_filter(struct aom_read_bit_buffer *rb) {
+static InterpFilter read_interp_filter(struct aom_read_bit_buffer *rb) {
   return aom_rb_read_bit(rb) ? SWITCHABLE
                              : aom_rb_read_literal(rb, 2 + CONFIG_EXT_INTERP);
 }
diff --git a/av1/decoder/decodemv.c b/av1/decoder/decodemv.c
index 535c5b5..290f6c1 100644
--- a/av1/decoder/decodemv.c
+++ b/av1/decoder/decodemv.c
@@ -862,12 +862,12 @@
 }
 #endif  // CONFIG_OBMC || CONFIG_WARPED_MOTION
 
-static INLINE INTERP_FILTER read_interp_filter(AV1_COMMON *const cm,
-                                               MACROBLOCKD *const xd,
+static INLINE InterpFilter read_interp_filter(AV1_COMMON *const cm,
+                                              MACROBLOCKD *const xd,
 #if CONFIG_DUAL_FILTER
-                                               int dir,
+                                              int dir,
 #endif
-                                               aom_reader *r) {
+                                              aom_reader *r) {
 #if CONFIG_EXT_INTERP
   if (!av1_is_interp_needed(xd)) return EIGHTTAP_REGULAR;
 #endif
@@ -880,7 +880,7 @@
     const int ctx = av1_get_pred_context_switchable_interp(xd);
 #endif
     FRAME_COUNTS *counts = xd->counts;
-    const INTERP_FILTER type = (INTERP_FILTER)aom_read_tree(
+    const InterpFilter type = (InterpFilter)aom_read_tree(
         r, av1_switchable_interp_tree, cm->fc->switchable_interp_prob[ctx]);
     if (counts) ++counts->switchable_interp[ctx][type];
     return type;
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index 7c33aea..49f1b44 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -2624,7 +2624,7 @@
   }
 }
 
-static void write_interp_filter(INTERP_FILTER filter,
+static void write_interp_filter(InterpFilter filter,
                                 struct aom_write_bit_buffer *wb) {
   aom_wb_write_bit(wb, filter == SWITCHABLE);
   if (filter != SWITCHABLE)
diff --git a/av1/encoder/context_tree.h b/av1/encoder/context_tree.h
index c77eb24..c798cdf 100644
--- a/av1/encoder/context_tree.h
+++ b/av1/encoder/context_tree.h
@@ -58,7 +58,7 @@
   // motion vector cache for adaptive motion search control in partition
   // search loop
   MV pred_mv[TOTAL_REFS_PER_FRAME];
-  INTERP_FILTER pred_interp_filter;
+  InterpFilter pred_interp_filter;
 #if CONFIG_EXT_PARTITION_TYPES
   PARTITION_TYPE partition;
 #endif
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c
index 65e1f3c..3e9e2c2 100644
--- a/av1/encoder/encoder.c
+++ b/av1/encoder/encoder.c
@@ -4429,7 +4429,7 @@
 }
 
 static int setup_interp_filter_search_mask(AV1_COMP *cpi) {
-  INTERP_FILTER ifilter;
+  InterpFilter ifilter;
   int ref_total[TOTAL_REFS_PER_FRAME] = { 0 };
   MV_REFERENCE_FRAME ref;
   int mask = 0;
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index f27a100..0632693 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -4569,12 +4569,12 @@
   int_mv ref_mv[2];
   int ite, ref;
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER interp_filter[4] = {
+  InterpFilter interp_filter[4] = {
     mbmi->interp_filter[0], mbmi->interp_filter[1], mbmi->interp_filter[2],
     mbmi->interp_filter[3],
   };
 #else
-  const INTERP_FILTER interp_filter = mbmi->interp_filter;
+  const InterpFilter interp_filter = mbmi->interp_filter;
 #endif
   struct scale_factors sf;
 
@@ -6335,11 +6335,11 @@
 #endif  // CONFIG_EXT_INTER
 
 #if !CONFIG_DUAL_FILTER
-static INTERP_FILTER predict_interp_filter(
+static InterpFilter predict_interp_filter(
     const AV1_COMP *cpi, const MACROBLOCK *x, const BLOCK_SIZE bsize,
     const int mi_row, const int mi_col,
-    INTERP_FILTER (*single_filter)[TOTAL_REFS_PER_FRAME]) {
-  INTERP_FILTER best_filter = SWITCHABLE;
+    InterpFilter (*single_filter)[TOTAL_REFS_PER_FRAME]) {
+  InterpFilter best_filter = SWITCHABLE;
   const AV1_COMMON *cm = &cpi->common;
   const MACROBLOCKD *xd = &x->e_mbd;
   int bsl = mi_width_log2_lookup[bsize];
@@ -6359,7 +6359,7 @@
   return SWITCHABLE;
 #else
   if (pred_filter_search) {
-    INTERP_FILTER af = SWITCHABLE, lf = SWITCHABLE;
+    InterpFilter af = SWITCHABLE, lf = SWITCHABLE;
     if (xd->up_available) af = xd->mi[-xd->mi_stride]->mbmi.interp_filter;
     if (xd->left_available) lf = xd->mi[-1]->mbmi.interp_filter;
 
@@ -6647,7 +6647,7 @@
 #else
     int_mv single_newmv[TOTAL_REFS_PER_FRAME],
 #endif  // CONFIG_EXT_INTER
-    INTERP_FILTER (*single_filter)[TOTAL_REFS_PER_FRAME],
+    InterpFilter (*single_filter)[TOTAL_REFS_PER_FRAME],
     int (*single_skippable)[TOTAL_REFS_PER_FRAME], int64_t *psse,
     const int64_t ref_best_rd) {
   AV1_COMMON *cm = &cpi->common;
@@ -6712,11 +6712,11 @@
   // Index use case:
   // {0, 1} -> (vertical, horizontal) filter types for the first ref frame
   // {2, 3} -> (vertical, horizontal) filter types for the second ref frame
-  INTERP_FILTER best_filter[4] = {
+  InterpFilter best_filter[4] = {
     SWITCHABLE, SWITCHABLE, SWITCHABLE, SWITCHABLE,
   };
 #else
-  INTERP_FILTER best_filter = SWITCHABLE;
+  InterpFilter best_filter = SWITCHABLE;
 #endif
 
   int skip_txfm_sb = 0;
@@ -7510,12 +7510,12 @@
 #endif  // CONFIG_EXT_INTER
 #if CONFIG_EXT_INTERP
 #if CONFIG_DUAL_FILTER
-    INTERP_FILTER obmc_interp_filter[2][2] = {
+    InterpFilter obmc_interp_filter[2][2] = {
       { mbmi->interp_filter[0], mbmi->interp_filter[1] },  // obmc == 0
       { mbmi->interp_filter[0], mbmi->interp_filter[1] }   // obmc == 1
     };
 #else
-    INTERP_FILTER obmc_interp_filter[2] = {
+    InterpFilter obmc_interp_filter[2] = {
       mbmi->interp_filter,  // obmc == 0
       mbmi->interp_filter   // obmc == 1
     };
@@ -8193,7 +8193,7 @@
 #else
   int_mv single_newmv[TOTAL_REFS_PER_FRAME] = { { 0 } };
 #endif  // CONFIG_EXT_INTER
-  INTERP_FILTER single_inter_filter[MB_MODE_COUNT][TOTAL_REFS_PER_FRAME];
+  InterpFilter single_inter_filter[MB_MODE_COUNT][TOTAL_REFS_PER_FRAME];
   int single_skippable[MB_MODE_COUNT][TOTAL_REFS_PER_FRAME];
   static const int flag_list[TOTAL_REFS_PER_FRAME] = {
     0,
@@ -8982,10 +8982,9 @@
           clamp_mv2(&cur_mv.as_mv, xd);
 
           if (!mv_check_bounds(x, &cur_mv.as_mv)) {
-            INTERP_FILTER
-            dummy_single_inter_filter[MB_MODE_COUNT][TOTAL_REFS_PER_FRAME] = {
-              { 0 }
-            };
+            InterpFilter
+                dummy_single_inter_filter[MB_MODE_COUNT][TOTAL_REFS_PER_FRAME] =
+                    { { 0 } };
             int dummy_single_skippable[MB_MODE_COUNT][TOTAL_REFS_PER_FRAME] = {
               { 0 }
             };
@@ -9763,7 +9762,7 @@
   unsigned int ref_costs_single[TOTAL_REFS_PER_FRAME];
   unsigned int ref_costs_comp[TOTAL_REFS_PER_FRAME];
   aom_prob comp_mode_p;
-  INTERP_FILTER best_filter = SWITCHABLE;
+  InterpFilter best_filter = SWITCHABLE;
   int64_t this_rd = INT64_MAX;
   int rate2 = 0;
   const int64_t distortion2 = 0;
@@ -9923,9 +9922,9 @@
   unsigned int ref_costs_comp[TOTAL_REFS_PER_FRAME];
   aom_prob comp_mode_p;
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER tmp_best_filter[4] = { 0 };
+  InterpFilter tmp_best_filter[4] = { 0 };
 #else
-  INTERP_FILTER tmp_best_filter = SWITCHABLE;
+  InterpFilter tmp_best_filter = SWITCHABLE;
 #endif
   int rate_uv_intra, rate_uv_tokenonly;
   int64_t dist_uv;
diff --git a/av1/encoder/speed_features.h b/av1/encoder/speed_features.h
index 20296c4..a6a4278 100644
--- a/av1/encoder/speed_features.h
+++ b/av1/encoder/speed_features.h
@@ -453,7 +453,7 @@
   int encode_breakout_thresh;
 
   // default interp filter choice
-  INTERP_FILTER default_interp_filter;
+  InterpFilter default_interp_filter;
 
   // Early termination in transform size search, which only applies while
   // tx_size_search_method is USE_FULL_RD.
diff --git a/av1/encoder/temporal_filter.c b/av1/encoder/temporal_filter.c
index 4ac47b9..909d539 100644
--- a/av1/encoder/temporal_filter.c
+++ b/av1/encoder/temporal_filter.c
@@ -42,16 +42,16 @@
 
 #if USE_TEMPORALFILTER_12TAP
 #if CONFIG_DUAL_FILTER
-  const INTERP_FILTER interp_filter[4] = { TEMPORALFILTER_12TAP,
-                                           TEMPORALFILTER_12TAP,
-                                           TEMPORALFILTER_12TAP,
-                                           TEMPORALFILTER_12TAP };
+  const InterpFilter interp_filter[4] = { TEMPORALFILTER_12TAP,
+                                          TEMPORALFILTER_12TAP,
+                                          TEMPORALFILTER_12TAP,
+                                          TEMPORALFILTER_12TAP };
 #else
-  const INTERP_FILTER interp_filter = TEMPORALFILTER_12TAP;
+  const InterpFilter interp_filter = TEMPORALFILTER_12TAP;
 #endif
   (void)xd;
 #else
-  const INTERP_FILTER interp_filter = xd->mi[0]->mbmi.interp_filter;
+  const InterpFilter interp_filter = xd->mi[0]->mbmi.interp_filter;
 #endif  // USE_TEMPORALFILTER_12TAP
 
   if (uv_block_width == 8) {
diff --git a/test/av1_convolve_optimz_test.cc b/test/av1_convolve_optimz_test.cc
index 11ca48c..a2923dd 100644
--- a/test/av1_convolve_optimz_test.cc
+++ b/test/av1_convolve_optimz_test.cc
@@ -34,14 +34,14 @@
 //  <convolve_horiz_func, convolve_vert_func,
 //  <width, height>, filter_params, subpel_x_q4, avg>
 typedef tuple<int, int> BlockDimension;
-typedef tuple<conv_filter_t, conv_filter_t, BlockDimension, INTERP_FILTER, int,
+typedef tuple<conv_filter_t, conv_filter_t, BlockDimension, InterpFilter, int,
               int> ConvParams;
 #if CONFIG_AOM_HIGHBITDEPTH
 // Test parameter list:
 //  <convolve_horiz_func, convolve_vert_func,
 //  <width, height>, filter_params, subpel_x_q4, avg, bit_dpeth>
 typedef tuple<hbd_conv_filter_t, hbd_conv_filter_t, BlockDimension,
-              INTERP_FILTER, int, int, int> HbdConvParams;
+              InterpFilter, int, int, int> HbdConvParams;
 #endif
 
 // Note:
@@ -211,7 +211,7 @@
 };
 
 // 10/12-tap filters
-const INTERP_FILTER kFilter[] = { 6, 4, 2 };
+const InterpFilter kFilter[] = { 6, 4, 2 };
 
 const int kSubpelQ4[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
 
diff --git a/test/av1_convolve_test.cc b/test/av1_convolve_test.cc
index af15cef..435e106 100644
--- a/test/av1_convolve_test.cc
+++ b/test/av1_convolve_test.cc
@@ -32,12 +32,12 @@
 TEST(AV1ConvolveTest, av1_convolve8) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
-                                     EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
+  InterpFilter interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
+                                    EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter[0]);
 #else
-  INTERP_FILTER interp_filter = EIGHTTAP_REGULAR;
+  InterpFilter interp_filter = EIGHTTAP_REGULAR;
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter);
 #endif
@@ -79,12 +79,12 @@
 TEST(AV1ConvolveTest, av1_convolve) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
-                                     EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
+  InterpFilter interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
+                                    EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter[0]);
 #else
-  INTERP_FILTER interp_filter = EIGHTTAP_REGULAR;
+  InterpFilter interp_filter = EIGHTTAP_REGULAR;
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter);
 #endif
@@ -139,12 +139,12 @@
 TEST(AV1ConvolveTest, av1_convolve_avg) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
-                                     EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
+  InterpFilter interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
+                                    EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter[0]);
 #else
-  INTERP_FILTER interp_filter = EIGHTTAP_REGULAR;
+  InterpFilter interp_filter = EIGHTTAP_REGULAR;
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter);
 #endif
@@ -205,12 +205,12 @@
 TEST(AV1ConvolveTest, av1_highbd_convolve) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
-                                     EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
+  InterpFilter interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
+                                    EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter[0]);
 #else
-  INTERP_FILTER interp_filter = EIGHTTAP_REGULAR;
+  InterpFilter interp_filter = EIGHTTAP_REGULAR;
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter);
 #endif
@@ -266,12 +266,12 @@
 TEST(AV1ConvolveTest, av1_highbd_convolve_avg) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
 #if CONFIG_DUAL_FILTER
-  INTERP_FILTER interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
-                                     EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
+  InterpFilter interp_filter[4] = { EIGHTTAP_REGULAR, EIGHTTAP_REGULAR,
+                                    EIGHTTAP_REGULAR, EIGHTTAP_REGULAR };
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter[0]);
 #else
-  INTERP_FILTER interp_filter = EIGHTTAP_REGULAR;
+  InterpFilter interp_filter = EIGHTTAP_REGULAR;
   InterpFilterParams filter_params =
       av1_get_interp_filter_params(interp_filter);
 #endif
@@ -337,7 +337,7 @@
 #define highbd_convolve_speed(func, block_size, frame_size)                  \
   TEST(AV1ConvolveTest, func##_speed_##block_size##_##frame_size) {          \
     ACMRandom rnd(ACMRandom::DeterministicSeed());                           \
-    INTERP_FILTER interp_filter = EIGHTTAP;                                  \
+    InterpFilter interp_filter = EIGHTTAP;                                   \
     InterpFilterParams filter_params =                                       \
         av1_get_interp_filter_params(interp_filter);                         \
     int filter_size = filter_params.tap;                                     \
@@ -389,7 +389,7 @@
 #define lowbd_convolve_speed(func, block_size, frame_size)                  \
   TEST(AV1ConvolveTest, func##_speed_l_##block_size##_##frame_size) {       \
     ACMRandom rnd(ACMRandom::DeterministicSeed());                          \
-    INTERP_FILTER interp_filter = EIGHTTAP;                                 \
+    InterpFilter interp_filter = EIGHTTAP;                                  \
     InterpFilterParams filter_params =                                      \
         av1_get_interp_filter_params(interp_filter);                        \
     int filter_size = filter_params.tap;                                    \
diff --git a/test/convolve_test.cc b/test/convolve_test.cc
index 3bbbe95..2610264 100644
--- a/test/convolve_test.cc
+++ b/test/convolve_test.cc
@@ -636,7 +636,7 @@
 TEST(ConvolveTest, FiltersWontSaturateWhenAddedPairwise) {
   for (int filter_bank = 0; filter_bank < kNumFilterBanks; ++filter_bank) {
     const InterpKernel *filters =
-        av1_filter_kernels[static_cast<INTERP_FILTER>(filter_bank)];
+        av1_filter_kernels[static_cast<InterpFilter>(filter_bank)];
     for (int i = 0; i < kNumFilters; i++) {
       const int p0 = filters[i][0] + filters[i][1];
       const int p1 = filters[i][2] + filters[i][3];
@@ -674,7 +674,7 @@
 
   for (int filter_bank = 0; filter_bank < kNumFilterBanks; ++filter_bank) {
     const InterpKernel *filters =
-        av1_filter_kernels[static_cast<INTERP_FILTER>(filter_bank)];
+        av1_filter_kernels[static_cast<InterpFilter>(filter_bank)];
 
     for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) {
       for (int filter_y = 0; filter_y < kNumFilters; ++filter_y) {
@@ -751,7 +751,7 @@
 
   for (int filter_bank = 0; filter_bank < kNumFilterBanks; ++filter_bank) {
     const InterpKernel *filters =
-        av1_filter_kernels[static_cast<INTERP_FILTER>(filter_bank)];
+        av1_filter_kernels[static_cast<InterpFilter>(filter_bank)];
 
     for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) {
       for (int filter_y = 0; filter_y < kNumFilters; ++filter_y) {
@@ -848,7 +848,7 @@
 
       for (int filter_bank = 0; filter_bank < kNumFilterBanks; ++filter_bank) {
         const InterpKernel *filters =
-            av1_filter_kernels[static_cast<INTERP_FILTER>(filter_bank)];
+            av1_filter_kernels[static_cast<InterpFilter>(filter_bank)];
         for (int filter_x = 0; filter_x < kNumFilters; ++filter_x) {
           for (int filter_y = 0; filter_y < kNumFilters; ++filter_y) {
             wrapper_filter_block2d_8_c(in, kInputStride, filters[filter_x],