1 /* 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 12 #if !CONFIG_RUNTIME_CPU_DETECT 13 14 #ifndef LOOPFILTER_MIPS_H 15 #define LOOPFILTER_MIPS_H 16 17 extern prototype_loopfilter_block(vp8_loop_filter_mbv_mips); 18 extern prototype_loopfilter_block(vp8_loop_filter_bv_mips); 19 extern prototype_loopfilter_block(vp8_loop_filter_mbh_mips); 20 extern prototype_loopfilter_block(vp8_loop_filter_bh_mips); 21 22 #define prototype_loopfilter_mips(sym) \ 23 void sym(unsigned char *src, int pitch, const unsigned int flimit,\ 24 const unsigned int limit, const unsigned int thresh, int count) 25 26 #undef vp8_lf_normal_mb_v 27 #define vp8_lf_normal_mb_v vp8_loop_filter_mbv_mips 28 29 #undef vp8_lf_normal_b_v 30 #define vp8_lf_normal_b_v vp8_loop_filter_bv_mips 31 32 #undef vp8_lf_normal_mb_h 33 #define vp8_lf_normal_mb_h vp8_loop_filter_mbh_mips 34 35 #undef vp8_lf_normal_b_h 36 #define vp8_lf_normal_b_h vp8_loop_filter_bh_mips 37 38 #endif 39 #endif 40