blob: 4bc38578c9764cc0861c6c585a207165f9cdbe11 [file] [log] [blame]
Yaowu Xuc27fc142016-08-22 16:08:15 -07001/*
Yaowu Xu2ab7ff02016-09-02 12:04:54 -07002 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
Yaowu Xuc27fc142016-08-22 16:08:15 -07003 *
Yaowu Xu2ab7ff02016-09-02 12:04:54 -07004 * 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.
Yaowu Xuc27fc142016-08-22 16:08:15 -070010 */
11
Yaowu Xuf883b422016-08-30 14:01:10 -070012#ifndef AV1_DECODER_DSUBEXP_H_
13#define AV1_DECODER_DSUBEXP_H_
Yaowu Xuc27fc142016-08-22 16:08:15 -070014
Alex Converse4fb213f2016-09-26 13:09:09 -070015#include "aom_dsp/bitreader.h"
Yaowu Xuc27fc142016-08-22 16:08:15 -070016
17#ifdef __cplusplus
18extern "C" {
19#endif
20
Michael Bebenita6048d052016-08-25 14:40:54 -070021#if CONFIG_ACCOUNTING
22#define av1_diff_update_prob(r, p, str) av1_diff_update_prob_(r, p, str)
23#else
24#define av1_diff_update_prob(r, p, str) av1_diff_update_prob_(r, p)
25#endif
26
27void av1_diff_update_prob_(aom_reader *r, aom_prob *p ACCT_STR_PARAM);
Yaowu Xuc27fc142016-08-22 16:08:15 -070028
29#ifdef __cplusplus
30} // extern "C"
31#endif
Yaowu Xuf883b422016-08-30 14:01:10 -070032#endif // AV1_DECODER_DSUBEXP_H_