summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_coefupdateprobs.h
blob: e49935c0c7aa8b5c1c3b2bfc48e10876d411d16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#ifndef VP9_COMMON_VP9_COEFUPDATEPROBS_H_
#define VP9_COMMON_VP9_COEFUPDATEPROBS_H_

/* Update probabilities for the nodes in the token entropy tree.
   Generated file included by vp9_entropy.c */

static const vp9_prob vp9_coef_update_prob[ENTROPY_NODES] = {
  252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252
};

#if CONFIG_CODE_ZEROGROUP
#define ZPC_UPDATE_PROB         248
#endif

#if CONFIG_MODELCOEFPROB
#define COEF_MODEL_UPDATE_PROB   16
#endif

#endif  // VP9_COMMON_VP9_COEFUPDATEPROBS_H__