Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: source/libvpx/vp9/encoder/vp9_tokenize.h

Issue 23600008: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 13 matching lines...) Expand all
24 typedef struct { 24 typedef struct {
25 const vp9_prob *context_tree; 25 const vp9_prob *context_tree;
26 int16_t extra; 26 int16_t extra;
27 uint8_t token; 27 uint8_t token;
28 uint8_t skip_eob_node; 28 uint8_t skip_eob_node;
29 } TOKENEXTRA; 29 } TOKENEXTRA;
30 30
31 typedef int64_t vp9_coeff_accum[REF_TYPES][COEF_BANDS][PREV_COEF_CONTEXTS] 31 typedef int64_t vp9_coeff_accum[REF_TYPES][COEF_BANDS][PREV_COEF_CONTEXTS]
32 [MAX_ENTROPY_TOKENS + 1]; 32 [MAX_ENTROPY_TOKENS + 1];
33 33
34 int vp9_sb_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE_TYPE bsize); 34 int vp9_sb_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE bsize);
35 int vp9_sby_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE_TYPE bsize); 35 int vp9_is_skippable_in_plane(MACROBLOCKD *xd, BLOCK_SIZE bsize,
36 int vp9_sbuv_is_skippable(MACROBLOCKD *xd, BLOCK_SIZE_TYPE bsize); 36 int plane);
37 struct VP9_COMP; 37 struct VP9_COMP;
38 38
39 void vp9_tokenize_sb(struct VP9_COMP *cpi, TOKENEXTRA **t, int dry_run, 39 void vp9_tokenize_sb(struct VP9_COMP *cpi, TOKENEXTRA **t, int dry_run,
40 BLOCK_SIZE_TYPE bsize); 40 BLOCK_SIZE bsize);
41 41
42 #ifdef ENTROPY_STATS 42 #ifdef ENTROPY_STATS
43 void init_context_counters(); 43 void init_context_counters();
44 void print_context_counters(); 44 void print_context_counters();
45 45
46 extern vp9_coeff_accum context_counters[TX_SIZE_MAX_SB][BLOCK_TYPES]; 46 extern vp9_coeff_accum context_counters[TX_SIZES][BLOCK_TYPES];
47 #endif 47 #endif
48 48
49 extern const int *vp9_dct_value_cost_ptr; 49 extern const int *vp9_dct_value_cost_ptr;
50 /* TODO: The Token field should be broken out into a separate char array to 50 /* TODO: The Token field should be broken out into a separate char array to
51 * improve cache locality, since it's needed for costing when the rest of the 51 * improve cache locality, since it's needed for costing when the rest of the
52 * fields are not. 52 * fields are not.
53 */ 53 */
54 extern const TOKENVALUE *vp9_dct_value_tokens_ptr; 54 extern const TOKENVALUE *vp9_dct_value_tokens_ptr;
55 55
56 #endif // VP9_ENCODER_VP9_TOKENIZE_H_ 56 #endif // VP9_ENCODER_VP9_TOKENIZE_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_temporal_filter.c ('k') | source/libvpx/vp9/encoder/vp9_tokenize.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698