]> granicus.if.org Git - libvpx/commitdiff
vp9 intrinsics: add vp9_rtcd include
authorJames Zern <jzern@google.com>
Fri, 15 May 2015 03:08:03 +0000 (20:08 -0700)
committerJames Zern <jzern@google.com>
Fri, 15 May 2015 17:43:47 +0000 (10:43 -0700)
silences a missing declaration warning

Change-Id: I59a34e1a1377cf3529b678d7ec0122bd43ab1bf1

17 files changed:
vp9/common/vp9_rtcd_defs.pl
vp9/common/x86/vp9_idct_intrin_sse2.c
vp9/common/x86/vp9_loopfilter_intrin_avx2.c
vp9/common/x86/vp9_loopfilter_intrin_sse2.c
vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c
vp9/encoder/vp9_avg.c
vp9/encoder/x86/vp9_avg_intrin_sse2.c
vp9/encoder/x86/vp9_dct32x32_avx2.c
vp9/encoder/x86/vp9_dct32x32_sse2.c
vp9/encoder/x86/vp9_dct_impl_sse2.c
vp9/encoder/x86/vp9_dct_sse2.c
vp9/encoder/x86/vp9_dct_ssse3.c
vp9/encoder/x86/vp9_error_intrin_avx2.c
vp9/encoder/x86/vp9_quantize_sse2.c
vp9/encoder/x86/vp9_subpel_variance_impl_intrin_avx2.c
vp9/encoder/x86/vp9_variance_avx2.c
vp9/encoder/x86/vp9_variance_impl_intrin_avx2.c

index c8169fd3bdf44c3312d27e87f59eaa8abeb6236f..2a9736b4062c3dd16098774e580cbf83c79eeec0 100644 (file)
@@ -969,7 +969,7 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
   specialize qw/vp9_highbd_avg_8x8/;
   add_proto qw/unsigned int vp9_highbd_avg_4x4/, "const uint8_t *, int p";
   specialize qw/vp9_highbd_avg_4x4/;
-  add_proto qw/unsigned int vp9_highbd_minmax_8x8/, "const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max";
+  add_proto qw/void vp9_highbd_minmax_8x8/, "const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max";
   specialize qw/vp9_highbd_minmax_8x8/;
 }
 
index 6ad7c629452bba011c040656c28ff62ca8e465ed..52d21be4a7406e330064024381425ad54a2449fe 100644 (file)
@@ -8,6 +8,7 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
+#include "./vp9_rtcd.h"
 #include "vpx_ports/mem.h"
 #include "vp9/common/x86/vp9_idct_intrin_sse2.h"
 #include "vp9/common/vp9_idct.h"
index 0cb0912ad62f21da36b9cd1b2409eab714cb78ff..770a65f4ca1fd69c622235fe4e11e55fbe42012a 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <immintrin.h>  /* AVX2 */
+
+#include "./vp9_rtcd.h"
 #include "vpx_ports/mem.h"
 
 static void mb_lpf_horizontal_edge_w_avx2_8(unsigned char *s, int p,
index 8723d32836dc2929869d1a3085a3f97c74cf6288..e321dbebe39c5e048eb3c66241fac2762dd08cd1 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <emmintrin.h>  // SSE2
+
+#include "./vp9_rtcd.h"
 #include "vp9/common/vp9_loopfilter.h"
 #include "vpx_ports/emmintrin_compat.h"
 
index 71dbb402dd43b0c99991c37a31878199b393706a..4ab49e772e0a13416c7199eed123f454f4fc25a1 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <tmmintrin.h>
+
+#include "./vp9_rtcd.h"
 #include "vpx_ports/mem.h"
 #include "vpx_ports/emmintrin_compat.h"
 
index 95b13bb7718d257899445ee02d2dadb3e87fff16..b9987c1ce9948cad50d875319c3a3a79ab91166e 100644 (file)
@@ -7,6 +7,7 @@
  *  in the file PATENTS.  All contributing project authors may
  *  be found in the AUTHORS file in the root of the source tree.
  */
+#include "./vp9_rtcd.h"
 #include "vp9/common/vp9_common.h"
 #include "vpx_ports/mem.h"
 
index 4672aa6b8cf2300d123ebbae22a1daf8b2112490..56a91ed2d711f6919fb900a62c36786b0fe11bbe 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <emmintrin.h>
+
+#include "./vp9_rtcd.h"
 #include "vpx_ports/mem.h"
 
 void vp9_minmax_8x8_sse2(const uint8_t *s, int p, const uint8_t *d, int dp,
index 66827ad80376703da5cc8ad19cbaae6486b86579..ae6bfe5fa2d793d00c5d02a7f7fcf3de0d16cd32 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <immintrin.h>  // AVX2
+
+#include "./vp9_rtcd.h"
 #include "vp9/common/vp9_idct.h"  // for cospi constants
 #include "vpx_ports/mem.h"
 
index 099993aa6a00ead4434638410c8137a8da790db0..003ebd13fe36e63166df3e1eaf5c8baf98c0290e 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <emmintrin.h>  // SSE2
+
+#include "./vp9_rtcd.h"
 #include "vp9/common/vp9_idct.h"  // for cospi constants
 #include "vp9/encoder/x86/vp9_dct_sse2.h"
 #include "vp9/encoder/vp9_dct.h"
index e03a76d2e894305145da306ec96aa113d33a472a..11bf5a25e6270d50877e1148107e9cd8a4333321 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <emmintrin.h>  // SSE2
+
+#include "./vp9_rtcd.h"
 #include "vp9/common/vp9_idct.h"  // for cospi constants
 #include "vp9/encoder/vp9_dct.h"
 #include "vp9/encoder/x86/vp9_dct_sse2.h"
index fb04aece0607c395a373f23b133c2561454ad5c4..6d1f52a00696344523838dfd30a0494bcf10e346 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <assert.h>
 #include <emmintrin.h>  // SSE2
+
+#include "./vp9_rtcd.h"
 #include "vp9/common/vp9_idct.h"  // for cospi constants
 #include "vp9/encoder/vp9_dct.h"
 #include "vp9/encoder/x86/vp9_dct_sse2.h"
@@ -2334,7 +2336,7 @@ void vp9_highbd_fht8x8_sse2(const int16_t *input, tran_low_t *output,
   }
 }
 
-void vp9_highbd_fht16x16_sse2(int16_t *input, tran_low_t *output,
+void vp9_highbd_fht16x16_sse2(const int16_t *input, tran_low_t *output,
                               int stride, int tx_type) {
   if (tx_type == DCT_DCT) {
     vp9_highbd_fdct16x16_sse2(input, output, stride);
index 1c1005aeeda8b50e3ff05b2bb7ebde15271c92eb..96038fee16b0d2ca72cbb3c26c512bf45e9172ad 100644 (file)
@@ -15,6 +15,8 @@
 #include <math.h>
 #endif
 #include <tmmintrin.h>  // SSSE3
+
+#include "./vp9_rtcd.h"
 #include "vp9/common/x86/vp9_idct_intrin_sse2.h"
 
 void vp9_fdct8x8_quant_ssse3(const int16_t *input, int stride,
index c67490fad345a8cd1299720fd74d8c4f6499c63f..dfebaab0ac6db590944c2dfaae20c921809c52da 100644 (file)
@@ -9,8 +9,9 @@
  */
 
 #include <immintrin.h>  // AVX2
-#include "vpx/vpx_integer.h"
 
+#include "./vp9_rtcd.h"
+#include "vpx/vpx_integer.h"
 
 int64_t vp9_block_error_avx2(const int16_t *coeff,
                              const int16_t *dqcoeff,
index 00abd3c49622b83e73de14618220ae15ba5f935f..71fdfd7162441984767721901a960c0dc112c3f5 100644 (file)
@@ -11,6 +11,7 @@
 #include <emmintrin.h>
 #include <xmmintrin.h>
 
+#include "./vp9_rtcd.h"
 #include "vpx/vpx_integer.h"
 
 void vp9_quantize_b_sse2(const int16_t* coeff_ptr, intptr_t n_coeffs,
index a441cadaf703fb33efdaecf4f73512f0c53b0c03..19ac5c0dfb2ce5ee635c88bef9b04a725b801c4b 100644 (file)
@@ -9,6 +9,8 @@
  */
 
 #include <immintrin.h>  // AVX2
+
+#include "./vp9_rtcd.h"
 #include "vpx_ports/mem.h"
 #include "vp9/encoder/vp9_variance.h"
 
index ea09b959e125575e2ecbd0e9b15dff5a3b1d0548..ff9f7cca3bc552b4e512ed194f0f19765c2005ba 100644 (file)
@@ -7,6 +7,7 @@
  *  in the file PATENTS.  All contributing project authors may
  *  be found in the AUTHORS file in the root of the source tree.
  */
+#include "./vp9_rtcd.h"
 #include "./vpx_config.h"
 
 #include "vp9/encoder/vp9_variance.h"
index f9923280a3424d4c31c90ef93e8c2978a24c879d..ee76a315f3790b5c41debfe31bb351afca1b2dd9 100644 (file)
@@ -10,6 +10,8 @@
 
 #include <immintrin.h>  // AVX2
 
+#include "./vp9_rtcd.h"
+
 void vp9_get16x16var_avx2(const unsigned char *src_ptr,
                           int source_stride,
                           const unsigned char *ref_ptr,