Commit b8822d61 authored by Frederic Barbier's avatar Frederic Barbier Committed by Fred BARBIER

Cleanup dead code

Change-Id: I2960f6d6d6bbdf747a32ed1cdd2b5a3c4e51ba8b
parent e5e8f4da
......@@ -327,36 +327,3 @@ const int16_t *av1_get_interp_filter_kernel(const InterpFilter interp_filter) {
return (const int16_t *)av1_interp_filter_params_list[interp_filter]
.filter_ptr;
}
#if CONFIG_DUAL_FILTER
InterpFilter av1_get_plane_interp_filter(InterpFilter interp_filter,
int plane) {
#if USE_TEMPORALFILTER_12TAP
#if USE_EXTRA_FILTER
assert(interp_filter <= EIGHTTAP_SHARP ||
interp_filter == TEMPORALFILTER_12TAP);
#else // USE_EXTRA_FILTER
assert(interp_filter <= SWITCHABLE_FILTERS ||
interp_filter == TEMPORALFILTER_12TAP);
#endif // USE_EXTRA_FILTER
#else
assert(interp_filter <= EIGHTTAP_SHARP);
#endif
#if USE_EXTRA_FILTER
if (plane == 0) {
return interp_filter;
} else {
switch (interp_filter) {
case EIGHTTAP_REGULAR: return FILTER_REGULAR_UV;
case EIGHTTAP_SMOOTH: return FILTER_SMOOTH_UV;
case MULTITAP_SHARP: return FILTER_SHARP_UV;
case EIGHTTAP_SMOOTH2: return FILTER_SMOOTH2_UV;
default: return interp_filter;
}
}
#else // USE_EXTRA_FILTER
(void)plane;
return interp_filter;
#endif // USE_EXTRA_FILTER
}
#endif
......@@ -141,10 +141,6 @@ static INLINE int av1_is_interpolating_filter(
return (ip.filter_ptr[ip.taps / 2 - 1] == 128);
}
#if CONFIG_DUAL_FILTER
InterpFilter av1_get_plane_interp_filter(InterpFilter interp_filter, int plane);
#endif
#ifdef __cplusplus
} // extern "C"
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment