• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #ifndef AOM_AV1_COMMON_AV1_INV_TXFM1D_CFG_H_
13 #define AOM_AV1_COMMON_AV1_INV_TXFM1D_CFG_H_
14 #include "av1/common/av1_inv_txfm1d.h"
15 
16 // sum of fwd_shift_##
17 static const int8_t inv_start_range[TX_SIZES_ALL] = {
18   5,  // 4x4 transform
19   6,  // 8x8 transform
20   7,  // 16x16 transform
21   7,  // 32x32 transform
22   7,  // 64x64 transform
23   5,  // 4x8 transform
24   5,  // 8x4 transform
25   6,  // 8x16 transform
26   6,  // 16x8 transform
27   6,  // 16x32 transform
28   6,  // 32x16 transform
29   6,  // 32x64 transform
30   6,  // 64x32 transform
31   6,  // 4x16 transform
32   6,  // 16x4 transform
33   7,  // 8x32 transform
34   7,  // 32x8 transform
35   7,  // 16x64 transform
36   7,  // 64x16 transform
37 };
38 
39 extern const int8_t *av1_inv_txfm_shift_ls[TX_SIZES_ALL];
40 
41 // Values in both av1_inv_cos_bit_col and av1_inv_cos_bit_row are always 12
42 // for each valid row and col combination
43 #define INV_COS_BIT 12
44 
45 #endif  // AOM_AV1_COMMON_AV1_INV_TXFM1D_CFG_H_
46