diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h index 702efe07b6ec86d7bd94e0e3b80efab9f1956308..03ab2257e317ce59334f7dc18572d5a73ff6a463 100644 --- a/vp9/common/vp9_blockd.h +++ b/vp9/common/vp9_blockd.h @@ -21,7 +21,6 @@ #include "vp9/common/vp9_common_data.h" #include "vp9/common/vp9_enums.h" #include "vp9/common/vp9_filter.h" -#include "vp9/common/vp9_idct.h" #include "vp9/common/vp9_mv.h" #include "vp9/common/vp9_scale.h" #include "vp9/common/vp9_seg_common.h" diff --git a/vp9/common/vp9_idct.h b/vp9/common/vp9_idct.h index 694be3cf94bf0991dc33ef473bcdb29fc54485f0..1d619824a575d6cfca12b22f01ac14feca38b258 100644 --- a/vp9/common/vp9_idct.h +++ b/vp9/common/vp9_idct.h @@ -36,17 +36,6 @@ extern "C" { #define dual_set_epi16(a, b) \ _mm_set_epi16(b, b, b, b, a, a, a, a) -// Note: -// tran_low_t is the datatype used for final transform coefficients. -// tran_high_t is the datatype used for intermediate transform stages. -#if CONFIG_VP9_HIGHBITDEPTH -typedef int64_t tran_high_t; -typedef int32_t tran_low_t; -#else -typedef int32_t tran_high_t; -typedef int16_t tran_low_t; -#endif - // Constants: // for (int i = 1; i< 32; ++i) // printf("static const int cospi_%d_64 = %.0f;\n", i, diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl index 0e95141aa9bcb08b4a3ed358b23ef6b3ee1797c9..99460d1a12dce65332f8081a91ff2e62c40c1304 100644 --- a/vp9/common/vp9_rtcd_defs.pl +++ b/vp9/common/vp9_rtcd_defs.pl @@ -6,7 +6,6 @@ print <<EOF #include "vpx/vpx_integer.h" #include "vp9/common/vp9_enums.h" -#include "vp9/common/vp9_idct.h" struct macroblockd; diff --git a/vpx/vpx_integer.h b/vpx/vpx_integer.h index ffeefb8192fb9c5eeac0fb1a06d88dc5b021ee2b..8eee303f45d5cce50019b93eea28df0ca55e8711 100644 --- a/vpx/vpx_integer.h +++ b/vpx/vpx_integer.h @@ -63,4 +63,15 @@ typedef size_t uintptr_t; #include <inttypes.h> #endif +// Note: +// tran_low_t is the datatype used for final transform coefficients. +// tran_high_t is the datatype used for intermediate transform stages. +#if CONFIG_VP9_HIGHBITDEPTH && CONFIG_VP9 +typedef int64_t tran_high_t; +typedef int32_t tran_low_t; +#else +typedef int32_t tran_high_t; +typedef int16_t tran_low_t; +#endif + #endif // VPX_VPX_INTEGER_H_