Merge "configure: detect toolchain if not specified"
[profile/ivi/libvpx.git] / vp8 / encoder / tokenize.h
1 /*
2  *  Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license and patent
5  *  grant that can be found in the LICENSE file in the root of the source
6  *  tree. All contributing project authors may be found in the AUTHORS
7  *  file in the root of the source tree.
8  */
9
10
11 #ifndef tokenize_h
12 #define tokenize_h
13
14 #include "entropy.h"
15 #include "block.h"
16
17 void vp8_tokenize_initialize();
18
19 typedef struct
20 {
21     int Token;
22     int Extra;
23     const vp8_prob *context_tree;
24     int skip_eob_node;
25     int section;
26 } TOKENEXTRA;
27
28 int rd_cost_mby(MACROBLOCKD *);
29
30 #ifdef ENTROPY_STATS
31 void init_context_counters();
32 void print_context_counters();
33
34 extern _int64 context_counters[BLOCK_TYPES] [COEF_BANDS] [PREV_COEF_CONTEXTS] [vp8_coef_tokens];
35 #endif
36
37
38 #endif  /* tokenize_h */