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/bitreader.h"
18 # include "aom_dsp/entdec.h"
19 
20 typedef struct daala_dec_ctx daala_dec_ctx;
21 
22 typedef struct daala_dec_ctx od_dec_ctx;
23 
24 
25 struct daala_dec_ctx {
26   /* Stores context-adaptive CDFs for PVQ. */
27   od_state state;
28   /* AOM entropy decoder. */
29   aom_reader *r;
30   int use_activity_masking;
31   /* Mode of quantization matrice : FLAT (0) or HVS (1) */
32   int qm;
33 };
34 
35 #endif
36