/* * Copyright (c) 2014 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #include <emmintrin.h> // SSE2 #include "./vpx_dsp_rtcd.h" #include "vpx_dsp/txfm_common.h" #include "vpx_dsp/x86/fwd_txfm_sse2.h" #include "vpx_dsp/x86/txfm_common_sse2.h" #include "vpx_ports/mem.h" // TODO(jingning) The high bit-depth functions need rework for performance. // After we properly fix the high bit-depth function implementations, this // file's dependency should be substantially simplified. #if DCT_HIGH_BIT_DEPTH #define ADD_EPI16 … #define SUB_EPI16 … #else #define ADD_EPI16 … #define SUB_EPI16 … #endif void FDCT4x4_2D(const int16_t *input, tran_low_t *output, int stride) { … } void FDCT8x8_2D(const int16_t *input, tran_low_t *output, int stride) { … } void FDCT16x16_2D(const int16_t *input, tran_low_t *output, int stride) { … } #undef ADD_EPI16 #undef SUB_EPI16