From: James Zern Date: Sun, 14 Jul 2013 01:50:55 +0000 (-0700) Subject: delete x86/vp9_loopfilter_x86.h X-Git-Tag: v1.3.0~843^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af58254267e1cec851c9eb4b6e7d60af17b13a58;p=libvpx delete x86/vp9_loopfilter_x86.h also remove prototype_loopfilter{,_block} defines from vp9_loopfilter.h Change-Id: I865ab3f9436c7b1ca166f76630328abf01389405 --- diff --git a/vp9/common/vp9_loopfilter.h b/vp9/common/vp9_loopfilter.h index e74362a5b..80fcbe2fd 100644 --- a/vp9/common/vp9_loopfilter.h +++ b/vp9/common/vp9_loopfilter.h @@ -44,18 +44,6 @@ struct loop_filter_info { const uint8_t *hev_thr; }; -#define prototype_loopfilter(sym) \ - void sym(uint8_t *src, int pitch, const uint8_t *blimit, \ - const uint8_t *limit, const uint8_t *thresh, int count) - -#define prototype_loopfilter_block(sym) \ - void sym(uint8_t *y, uint8_t *u, uint8_t *v, \ - int ystride, int uv_stride, struct loop_filter_info *lfi) - -#if ARCH_X86 || ARCH_X86_64 -#include "x86/vp9_loopfilter_x86.h" -#endif - /* assorted loopfilter functions which get used elsewhere */ struct VP9Common; struct macroblockd; diff --git a/vp9/common/x86/vp9_loopfilter_intrin_sse2.c b/vp9/common/x86/vp9_loopfilter_intrin_sse2.c index 64afedade..1a3537bba 100644 --- a/vp9/common/x86/vp9_loopfilter_intrin_sse2.c +++ b/vp9/common/x86/vp9_loopfilter_intrin_sse2.c @@ -12,9 +12,6 @@ #include "vp9/common/vp9_loopfilter.h" #include "vpx_ports/emmintrin_compat.h" -prototype_loopfilter(vp9_loop_filter_vertical_edge_sse2); -prototype_loopfilter(vp9_loop_filter_horizontal_edge_sse2); - static void mb_lpf_horizontal_edge_w_sse2_8(unsigned char *s, int p, const unsigned char *_blimit, diff --git a/vp9/common/x86/vp9_loopfilter_x86.h b/vp9/common/x86/vp9_loopfilter_x86.h deleted file mode 100644 index fb5af05f7..000000000 --- a/vp9/common/x86/vp9_loopfilter_x86.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) 2010 The WebM project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#ifndef VP9_COMMON_X86_VP9_LOOPFILTER_X86_H_ -#define VP9_COMMON_X86_VP9_LOOPFILTER_X86_H_ - -/* Note: - * - * This platform is commonly built for runtime CPU detection. If you modify - * any of the function mappings present in this file, be sure to also update - * them in the function pointer initialization code - */ - -#if HAVE_MMX -extern prototype_loopfilter_block(vp9_loop_filter_mbv_mmx); -extern prototype_loopfilter_block(vp9_loop_filter_bv_mmx); -extern prototype_loopfilter_block(vp9_loop_filter_mbh_mmx); -extern prototype_loopfilter_block(vp9_loop_filter_bh_mmx); -#endif - -#if HAVE_SSE2 -extern prototype_loopfilter_block(vp9_loop_filter_mbv_sse2); -extern prototype_loopfilter_block(vp9_loop_filter_bv_sse2); -extern prototype_loopfilter_block(vp9_loop_filter_mbh_sse2); -extern prototype_loopfilter_block(vp9_loop_filter_bh_sse2); -#endif - -#endif // LOOPFILTER_X86_H diff --git a/vp9/vp9_common.mk b/vp9/vp9_common.mk index 2518ce148..9e0b7fc08 100644 --- a/vp9/vp9_common.mk +++ b/vp9/vp9_common.mk @@ -69,7 +69,6 @@ VP9_COMMON_SRCS-yes += common/vp9_treecoder.c VP9_COMMON_SRCS-yes += common/vp9_common_data.c VP9_COMMON_SRCS-yes += common/vp9_common_data.h -VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_x86.h VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_postproc_x86.h VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_asm_stubs.c VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_loopfilter_intrin_sse2.c