ref: a9a1d4e8e521d2a6d34fb58a233baef525334d1a
parent: 5ebc8febdc25ea79a89ac01fef21f84fd53b3143
author: Jingning Han <[email protected]>
date: Fri Jul 24 06:27:23 EDT 2015
Replace vp9_idct.h for precise dependency This commit replaces vp9_idct.h with txfm_common.h in many SIMD implementation files for precise file dependency. Change-Id: If73dd726bb16537e7494f28538b0a169810f9756
--- a/vp9/common/arm/neon/vp9_idct16x16_1_add_neon.c
+++ b/vp9/common/arm/neon/vp9_idct16x16_1_add_neon.c
@@ -10,8 +10,8 @@
#include <arm_neon.h>
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_idct.h"
+#include "vpx_ports/mem.h"
void vp9_idct16x16_1_add_neon(
int16_t *input,
--- a/vp9/common/arm/neon/vp9_idct32x32_1_add_neon.c
+++ b/vp9/common/arm/neon/vp9_idct32x32_1_add_neon.c
@@ -12,8 +12,8 @@
#include "./vpx_config.h"
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_idct.h"
+#include "vpx_ports/mem.h"
static INLINE void LD_16x8(
uint8_t *d,
--- a/vp9/common/arm/neon/vp9_idct4x4_1_add_neon.c
+++ b/vp9/common/arm/neon/vp9_idct4x4_1_add_neon.c
@@ -10,8 +10,8 @@
#include <arm_neon.h>
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_idct.h"
+#include "vpx_ports/mem.h"
void vp9_idct4x4_1_add_neon(
int16_t *input,
--- a/vp9/common/arm/neon/vp9_idct8x8_1_add_neon.c
+++ b/vp9/common/arm/neon/vp9_idct8x8_1_add_neon.c
@@ -10,8 +10,8 @@
#include <arm_neon.h>
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_idct.h"
+#include "vpx_ports/mem.h"
void vp9_idct8x8_1_add_neon(
int16_t *input,
--- a/vp9/common/mips/dspr2/vp9_itrans16_dspr2.c
+++ b/vp9/common/mips/dspr2/vp9_itrans16_dspr2.c
@@ -13,11 +13,11 @@
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_blockd.h"
-#include "vp9/common/vp9_idct.h"
#include "vp9/common/mips/dspr2/vp9_common_dspr2.h"
+#include "vpx_dsp/txfm_common.h"
+#include "vpx_ports/mem.h"
#if HAVE_DSPR2
static void idct16_rows_dspr2(const int16_t *input, int16_t *output,
--- a/vp9/common/mips/dspr2/vp9_itrans32_cols_dspr2.c
+++ b/vp9/common/mips/dspr2/vp9_itrans32_cols_dspr2.c
@@ -12,11 +12,11 @@
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_blockd.h"
-#include "vp9/common/vp9_idct.h"
#include "vp9/common/mips/dspr2/vp9_common_dspr2.h"
+#include "vpx_dsp/txfm_common.h"
+#include "vpx_ports/mem.h"
#if HAVE_DSPR2
void vp9_idct32_cols_add_blk_dspr2(int16_t *input, uint8_t *dest,
--- a/vp9/common/mips/dspr2/vp9_itrans32_dspr2.c
+++ b/vp9/common/mips/dspr2/vp9_itrans32_dspr2.c
@@ -15,8 +15,8 @@
#include "./vp9_rtcd.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_blockd.h"
-#include "vp9/common/vp9_idct.h"
#include "vp9/common/mips/dspr2/vp9_common_dspr2.h"
+#include "vpx_dsp/txfm_common.h"
#if HAVE_DSPR2
static void idct32_rows_dspr2(const int16_t *input, int16_t *output,
--- a/vp9/common/mips/dspr2/vp9_itrans4_dspr2.c
+++ b/vp9/common/mips/dspr2/vp9_itrans4_dspr2.c
@@ -13,11 +13,11 @@
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_blockd.h"
-#include "vp9/common/vp9_idct.h"
#include "vp9/common/mips/dspr2/vp9_common_dspr2.h"
+#include "vpx_dsp/txfm_common.h"
+#include "vpx_ports/mem.h"
#if HAVE_DSPR2
static void vp9_idct4_rows_dspr2(const int16_t *input, int16_t *output) {
--- a/vp9/common/mips/dspr2/vp9_itrans8_dspr2.c
+++ b/vp9/common/mips/dspr2/vp9_itrans8_dspr2.c
@@ -13,11 +13,11 @@
#include "./vpx_config.h"
#include "./vp9_rtcd.h"
-#include "vpx_ports/mem.h"
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_blockd.h"
-#include "vp9/common/vp9_idct.h"
#include "vp9/common/mips/dspr2/vp9_common_dspr2.h"
+#include "vpx_dsp/txfm_common.h"
+#include "vpx_ports/mem.h"
#if HAVE_DSPR2
static void idct8_rows_dspr2(const int16_t *input, int16_t *output,
--- a/vp9/encoder/arm/neon/vp9_dct_neon.c
+++ b/vp9/encoder/arm/neon/vp9_dct_neon.c
@@ -14,7 +14,7 @@
#include "./vpx_config.h"
#include "vp9/common/vp9_blockd.h"
-#include "vp9/common/vp9_idct.h"
+#include "vpx_dsp/txfm_common.h"
void vp9_fdct8x8_1_neon(const int16_t *input, int16_t *output, int stride) {
int r;
--- a/vp9/encoder/mips/msa/vp9_fdct_msa.h
+++ b/vp9/encoder/mips/msa/vp9_fdct_msa.h
@@ -11,7 +11,6 @@
#ifndef VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_
#define VP9_ENCODER_MIPS_MSA_VP9_FDCT_MSA_H_
-#include "vp9/common/vp9_idct.h"
#include "vpx_dsp/mips/fwd_txfm_msa.h"
#include "vpx_dsp/mips/txfm_macros_msa.h"
#include "vpx_ports/mem.h"
--- a/vp9/encoder/x86/vp9_dct32x32_avx2_impl.h
+++ b/vp9/encoder/x86/vp9_dct32x32_avx2_impl.h
@@ -11,7 +11,7 @@
#include <immintrin.h> // AVX2
#include "./vp9_rtcd.h"
-#include "vp9/common/vp9_idct.h" // for cospi constants
+#include "vpx_dsp/txfm_common.h"
#include "vpx_ports/mem.h"
#define pair256_set_epi16(a, b) \