Commit 28566a6c authored by Jingning Han's avatar Jingning Han
Browse files

Place holder for high-precision 32x32 fdct

Resolve compile warnings on re-define FDCT32x32_2D template.

Change-Id: Idb3a54ef8d2710ce7245b726379a0e5c875f5cad
parent 3d98205f
......@@ -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;
......
......@@ -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"
// #define FDCT32x32_NAME vp9_short_fdct32x32_sse2
// #define FDCT32x32_LOW_PRECISION 0
// #include "vp9/encoder/x86/vp9_dct32x32_sse2.c"
#undef FDCT32x32_2D
#undef FDCT32x32_LOW_PRECISION
#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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment