]> granicus.if.org Git - libvpx/commitdiff
rename quantize_x86.h
authorJohann <johann.koenig@duck.com>
Mon, 26 Nov 2018 20:43:43 +0000 (15:43 -0500)
committerJohann <johann.koenig@duck.com>
Tue, 27 Nov 2018 17:35:54 +0000 (12:35 -0500)
Pave the way for new quantize_OPT.h helper files.

Change-Id: Ice7225612983f5587a9660af3320c7d0c8bb1c2f

vp9/encoder/x86/vp9_quantize_avx2.c
vpx_dsp/vpx_dsp.mk
vpx_dsp/x86/quantize_avx.c
vpx_dsp/x86/quantize_sse2.c
vpx_dsp/x86/quantize_sse2.h [moved from vpx_dsp/x86/quantize_x86.h with 96% similarity]
vpx_dsp/x86/quantize_ssse3.c

index 556a9fbaa2f4d637083ee3ffb03ddc595bc66b79..8dfdbd50f6c294e461dd785c1f29d5adf6985596 100644 (file)
@@ -15,7 +15,7 @@
 #include "vpx/vpx_integer.h"
 #include "vpx_dsp/vpx_dsp_common.h"
 #include "vpx_dsp/x86/bitdepth_conversion_avx2.h"
-#include "vpx_dsp/x86/quantize_x86.h"
+#include "vpx_dsp/x86/quantize_sse2.h"
 
 // Zero fill 8 positions in the output buffer.
 static INLINE void store_zero_tran_low(tran_low_t *a) {
index c12d2fcc5268d9e9ef1e79499d4c60f723562a59..5ee3bfec72948732cd2338342f1f5a0bce4a3bf1 100644 (file)
@@ -296,8 +296,8 @@ ifeq ($(CONFIG_VP9_ENCODER),yes)
 DSP_SRCS-yes            += quantize.c
 DSP_SRCS-yes            += quantize.h
 
-DSP_SRCS-$(HAVE_SSE2)   += x86/quantize_x86.h
 DSP_SRCS-$(HAVE_SSE2)   += x86/quantize_sse2.c
+DSP_SRCS-$(HAVE_SSE2)   += x86/quantize_sse2.h
 DSP_SRCS-$(HAVE_SSSE3)  += x86/quantize_ssse3.c
 DSP_SRCS-$(HAVE_AVX)    += x86/quantize_avx.c
 DSP_SRCS-$(HAVE_NEON)   += arm/quantize_neon.c
index 692cf59d911bafdbc6778391f465a971ada542b3..d0a8d514eb16a08759e662623637c9273f2db72a 100644 (file)
@@ -17,7 +17,7 @@
 #include "./vpx_dsp_rtcd.h"
 #include "vpx/vpx_integer.h"
 #include "vpx_dsp/x86/bitdepth_conversion_sse2.h"
-#include "vpx_dsp/x86/quantize_x86.h"
+#include "vpx_dsp/x86/quantize_sse2.h"
 
 void vpx_quantize_b_avx(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
                         int skip_block, const int16_t *zbin_ptr,
index 327fb052a92dc65d6e8b5228f982797336020ef8..fa098a3a0a5fa24fe6a80c95e0ea4fa55cc0c7ef 100644 (file)
@@ -15,7 +15,7 @@
 #include "./vpx_dsp_rtcd.h"
 #include "vpx/vpx_integer.h"
 #include "vpx_dsp/x86/bitdepth_conversion_sse2.h"
-#include "vpx_dsp/x86/quantize_x86.h"
+#include "vpx_dsp/x86/quantize_sse2.h"
 
 void vpx_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
                          int skip_block, const int16_t *zbin_ptr,
similarity index 96%
rename from vpx_dsp/x86/quantize_x86.h
rename to vpx_dsp/x86/quantize_sse2.h
index a6e2f274d312a3b37639bacd75ce379003939186..1f858781087ca1512fcbc7aac43043e86474ae6f 100644 (file)
@@ -8,8 +8,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-#ifndef VPX_VPX_DSP_X86_QUANTIZE_X86_H_
-#define VPX_VPX_DSP_X86_QUANTIZE_X86_H_
+#ifndef VPX_VPX_DSP_X86_QUANTIZE_SSE2_H_
+#define VPX_VPX_DSP_X86_QUANTIZE_SSE2_H_
 
 #include <emmintrin.h>
 
@@ -79,4 +79,4 @@ static INLINE int16_t accumulate_eob(__m128i eob) {
   return _mm_extract_epi16(eob, 1);
 }
 
-#endif  // VPX_VPX_DSP_X86_QUANTIZE_X86_H_
+#endif  // VPX_VPX_DSP_X86_QUANTIZE_SSE2_H_
index d8b6dc78ac16a340ec4d4325c19b79dc02698c0a..e96f9f99058a73465d2afaadeeb81f4e87d48017 100644 (file)
@@ -14,7 +14,7 @@
 #include "./vpx_dsp_rtcd.h"
 #include "vpx/vpx_integer.h"
 #include "vpx_dsp/x86/bitdepth_conversion_sse2.h"
-#include "vpx_dsp/x86/quantize_x86.h"
+#include "vpx_dsp/x86/quantize_sse2.h"
 
 void vpx_quantize_b_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
                           int skip_block, const int16_t *zbin_ptr,