Yushin Cho | 77bba8d | 2016-11-04 16:36:56 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2001-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 | /* clang-format off */ |
| 13 | |
| 14 | #if !defined(_zigzag_H) |
| 15 | # define _zigzag_H (1) |
| 16 | |
| 17 | extern const unsigned char OD_ZIGZAG4_DCT_DCT[15][2]; |
| 18 | extern const unsigned char OD_ZIGZAG4_ADST_DCT[15][2]; |
| 19 | extern const unsigned char OD_ZIGZAG4_DCT_ADST[15][2]; |
Urvang Joshi | 4d33ab5 | 2017-04-26 15:48:57 -0700 | [diff] [blame] | 20 | #define OD_ZIGZAG4_ADST_ADST OD_ZIGZAG4_DCT_DCT |
Yushin Cho | 77bba8d | 2016-11-04 16:36:56 -0700 | [diff] [blame] | 21 | |
| 22 | extern const unsigned char OD_ZIGZAG8_DCT_DCT[48][2]; |
| 23 | extern const unsigned char OD_ZIGZAG8_ADST_DCT[48][2]; |
| 24 | extern const unsigned char OD_ZIGZAG8_DCT_ADST[48][2]; |
Urvang Joshi | 4d33ab5 | 2017-04-26 15:48:57 -0700 | [diff] [blame] | 25 | #define OD_ZIGZAG8_ADST_ADST OD_ZIGZAG8_DCT_DCT |
Yushin Cho | 77bba8d | 2016-11-04 16:36:56 -0700 | [diff] [blame] | 26 | |
| 27 | extern const unsigned char OD_ZIGZAG16_DCT_DCT[192][2]; |
| 28 | extern const unsigned char OD_ZIGZAG16_ADST_DCT[192][2]; |
| 29 | extern const unsigned char OD_ZIGZAG16_DCT_ADST[192][2]; |
Urvang Joshi | 4d33ab5 | 2017-04-26 15:48:57 -0700 | [diff] [blame] | 30 | #define OD_ZIGZAG16_ADST_ADST OD_ZIGZAG16_DCT_DCT |
Yushin Cho | 77bba8d | 2016-11-04 16:36:56 -0700 | [diff] [blame] | 31 | |
| 32 | extern const unsigned char OD_ZIGZAG32_DCT_DCT[768][2]; |
| 33 | #endif |