Rename vp9_idct_x86.c
Remove similarly named header file. It is obsolete. Move file to match naming style. Adjust make file to include the file correctly and remove extra unnecessary #if guard. Change-Id: Ifba07ba9938a5df08a9f4eda54a3ac4d6983f7bf
This commit is contained in:
parent
9fca79c008
commit
c5b127afea
@ -15,7 +15,6 @@
|
||||
#include "vp9/common/vp9_common.h"
|
||||
#include "vp9/common/vp9_idct.h"
|
||||
|
||||
#if HAVE_SSE2
|
||||
// In order to improve performance, clip absolute diff values to [0, 255],
|
||||
// which allows to keep the additions/subtractions in 8 bits.
|
||||
void vp9_dc_only_idct_add_sse2(int input_dc, uint8_t *pred_ptr,
|
||||
@ -1972,4 +1971,3 @@ void vp9_short_idct32x32_sse2(int16_t *input, int16_t *output, int pitch) {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
@ -1,51 +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_IDCT_X86_H_
|
||||
#define VP9_COMMON_X86_VP9_IDCT_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_second_order(vp9_short_inv_walsh4x4_mmx);
|
||||
extern prototype_second_order(vp9_short_inv_walsh4x4_1_mmx);
|
||||
|
||||
#if !CONFIG_RUNTIME_CPU_DETECT
|
||||
#undef vp9_idct_iwalsh16
|
||||
#define vp9_idct_iwalsh16 vp9_short_inv_walsh4x4_mmx
|
||||
|
||||
#undef vp9_idct_iwalsh1
|
||||
#define vp9_idct_iwalsh1 vp9_short_inv_walsh4x4_1_mmx
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if HAVE_SSE2
|
||||
|
||||
extern prototype_second_order(vp9_short_inv_walsh4x4_sse2);
|
||||
|
||||
#if !CONFIG_RUNTIME_CPU_DETECT
|
||||
|
||||
#undef vp9_idct_iwalsh16
|
||||
#define vp9_idct_iwalsh16 vp9_short_inv_walsh4x4_sse2
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif
|
@ -82,7 +82,6 @@ VP9_COMMON_SRCS-$(CONFIG_POSTPROC_VISUALIZER) += common/vp9_textblit.c
|
||||
VP9_COMMON_SRCS-yes += common/vp9_treecoder.c
|
||||
VP9_COMMON_SRCS-$(CONFIG_IMPLICIT_SEGMENTATION) += common/vp9_implicit_segmentation.c
|
||||
|
||||
VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_idct_x86.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
|
||||
@ -112,13 +111,13 @@ VP9_COMMON_SRCS-yes += common/vp9_maskingmv.c
|
||||
VP9_COMMON_SRCS-$(HAVE_SSE3) += common/x86/vp9_mask_sse3.asm
|
||||
endif
|
||||
|
||||
VP9_COMMON_SRCS-$(ARCH_X86)$(ARCH_X86_64) += common/x86/vp9_idct_x86.c
|
||||
VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_idct_intrin_sse2.c
|
||||
VP9_COMMON_SRCS-$(HAVE_SSE2) += common/x86/vp9_sadmxn_sse2.c
|
||||
ifeq ($(HAVE_SSE2),yes)
|
||||
vp9/common/x86/vp9_idct_x86.c.o: CFLAGS += -msse2
|
||||
vp9/common/x86/vp9_idct_intrin_sse2.c.o: CFLAGS += -msse2
|
||||
vp9/common/x86/vp9_loopfilter_intrin_sse2.c.o: CFLAGS += -msse2
|
||||
vp9/common/x86/vp9_sadmxn_sse2.c.o: CFLAGS += -msse2
|
||||
vp9/common/x86/vp9_idct_x86.c.d: CFLAGS += -msse2
|
||||
vp9/common/x86/vp9_idct_intrin_sse2.c.d: CFLAGS += -msse2
|
||||
vp9/common/x86/vp9_loopfilter_intrin_sse2.c.d: CFLAGS += -msse2
|
||||
vp9/common/x86/vp9_sadmxn_sse2.c.d: CFLAGS += -msse2
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user