blob: c58b18b5711adace9b15b4d5688df5f4b4df4188 [file] [log] [blame]
Yushin Cho77bba8d2016-11-04 16:36:56 -07001/*
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
17extern const unsigned char OD_ZIGZAG4_DCT_DCT[15][2];
18extern const unsigned char OD_ZIGZAG4_ADST_DCT[15][2];
19extern const unsigned char OD_ZIGZAG4_DCT_ADST[15][2];
Urvang Joshi4d33ab52017-04-26 15:48:57 -070020#define OD_ZIGZAG4_ADST_ADST OD_ZIGZAG4_DCT_DCT
Yushin Cho77bba8d2016-11-04 16:36:56 -070021
22extern const unsigned char OD_ZIGZAG8_DCT_DCT[48][2];
23extern const unsigned char OD_ZIGZAG8_ADST_DCT[48][2];
24extern const unsigned char OD_ZIGZAG8_DCT_ADST[48][2];
Urvang Joshi4d33ab52017-04-26 15:48:57 -070025#define OD_ZIGZAG8_ADST_ADST OD_ZIGZAG8_DCT_DCT
Yushin Cho77bba8d2016-11-04 16:36:56 -070026
27extern const unsigned char OD_ZIGZAG16_DCT_DCT[192][2];
28extern const unsigned char OD_ZIGZAG16_ADST_DCT[192][2];
29extern const unsigned char OD_ZIGZAG16_DCT_ADST[192][2];
Urvang Joshi4d33ab52017-04-26 15:48:57 -070030#define OD_ZIGZAG16_ADST_ADST OD_ZIGZAG16_DCT_DCT
Yushin Cho77bba8d2016-11-04 16:36:56 -070031
32extern const unsigned char OD_ZIGZAG32_DCT_DCT[768][2];
33#endif