tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

fwd_txfm_sse2.c (1224B)


      1 /*
      2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
      3 *
      4 * This source code is subject to the terms of the BSD 2 Clause License and
      5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
      6 * was not distributed with this source code in the LICENSE file, you can
      7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
      8 * Media Patent License 1.0 was not distributed with this source code in the
      9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
     10 */
     11 
     12 #include <emmintrin.h>  // SSE2
     13 
     14 #include "config/aom_config.h"
     15 #include "config/aom_dsp_rtcd.h"
     16 
     17 #include "aom_dsp/aom_dsp_common.h"
     18 #include "aom_dsp/x86/fwd_txfm_sse2.h"
     19 
     20 #define DCT_HIGH_BIT_DEPTH 0
     21 #define FDCT4x4_2D_HELPER fdct4x4_helper
     22 #define FDCT4x4_2D aom_fdct4x4_sse2
     23 #define FDCT4x4_2D_LP aom_fdct4x4_lp_sse2
     24 #define FDCT8x8_2D aom_fdct8x8_sse2
     25 #include "aom_dsp/x86/fwd_txfm_impl_sse2.h"
     26 #undef FDCT4x4_2D_HELPER
     27 #undef FDCT4x4_2D
     28 #undef FDCT4x4_2D_LP
     29 #undef FDCT8x8_2D
     30 
     31 #if CONFIG_AV1_HIGHBITDEPTH
     32 
     33 #undef DCT_HIGH_BIT_DEPTH
     34 #define DCT_HIGH_BIT_DEPTH 1
     35 #define FDCT8x8_2D aom_highbd_fdct8x8_sse2
     36 #include "aom_dsp/x86/fwd_txfm_impl_sse2.h"  // NOLINT
     37 #undef FDCT8x8_2D
     38 
     39 #endif