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(_decint_H) |
| 15 | # define _decint_H (1) |
| 16 | # include "av1/common/pvq_state.h" |
| 17 | # include "aom_dsp/entdec.h" |
| 18 | |
| 19 | typedef struct daala_dec_ctx daala_dec_ctx; |
| 20 | |
| 21 | typedef struct daala_dec_ctx od_dec_ctx; |
| 22 | |
| 23 | |
| 24 | struct daala_dec_ctx { |
| 25 | /* Stores context-adaptive CDFs for PVQ. */ |
| 26 | od_state state; |
| 27 | /* Daala entropy decoder. */ |
| 28 | od_ec_dec *ec; |
| 29 | /* Mode of quantization matrice : FLAT (0) or HVS (1) */ |
| 30 | int qm; |
| 31 | }; |
| 32 | |
| 33 | #endif |