Place holder for high-precision 32x32 fdct

Resolve compile warnings on re-define FDCT32x32_2D template.

Change-Id: Idb3a54ef8d2710ce7245b726379a0e5c875f5cad
This commit is contained in:
Jingning Han 2013-08-06 11:10:12 -07:00
parent 3d98205fce
commit 28566a6cd5
2 changed files with 10 additions and 6 deletions

View File

@ -12,8 +12,8 @@
#include "vp9/common/vp9_idct.h" // for cospi constants
#include "vpx_ports/mem.h"
void FDCT32x32_NAME(int16_t *input,
int16_t *output_org, int pitch) {
void FDCT32x32_2D(int16_t *input,
int16_t *output_org, int pitch) {
// Calculate pre-multiplied strides
const int str1 = pitch >> 1;
const int str2 = pitch;

View File

@ -2572,10 +2572,14 @@ void vp9_short_fht16x16_sse2(int16_t *input, int16_t *output,
write_buffer_16x16(output, in0, in1, 16);
}
#define FDCT32x32_NAME vp9_short_fdct32x32_rd_sse2
#define FDCT32x32_2D vp9_short_fdct32x32_rd_sse2
#define FDCT32x32_LOW_PRECISION 1
#include "vp9/encoder/x86/vp9_dct32x32_sse2.c"
#undef FDCT32x32_2D
#undef FDCT32x32_LOW_PRECISION
// #define FDCT32x32_NAME vp9_short_fdct32x32_sse2
// #define FDCT32x32_LOW_PRECISION 0
// #include "vp9/encoder/x86/vp9_dct32x32_sse2.c"
#define FDCT32x32_2D vp9_short_fdct32x32_sse2
#define FDCT32x32_LOW_PRECISION 0
#include "vp9/encoder/x86/vp9_dct32x32_sse2.c" // NOLINT
#undef FDCT32x32_2D
#undef FDCT32x32_LOW_PRECISION