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

Side by Side Diff: source/libvpx/vp9/common/vp9_entropy.h

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 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
« no previous file with comments | « source/libvpx/vp9/common/vp9_blockd.h ('k') | source/libvpx/vp9/common/vp9_entropymode.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #endif // CONFIG_VP9_HIGHBITDEPTH 74 #endif // CONFIG_VP9_HIGHBITDEPTH
75 75
76 #define EOB_MODEL_TOKEN 3 76 #define EOB_MODEL_TOKEN 3
77 extern const vp9_tree_index vp9_coefmodel_tree[]; 77 extern const vp9_tree_index vp9_coefmodel_tree[];
78 78
79 typedef struct { 79 typedef struct {
80 const vp9_tree_index *tree; 80 const vp9_tree_index *tree;
81 const vp9_prob *prob; 81 const vp9_prob *prob;
82 int len; 82 int len;
83 int base_val; 83 int base_val;
84 const int16_t *cost;
84 } vp9_extra_bit; 85 } vp9_extra_bit;
85 86
86 // indexed by token value 87 // indexed by token value
87 extern const vp9_extra_bit vp9_extra_bits[ENTROPY_TOKENS]; 88 extern const vp9_extra_bit vp9_extra_bits[ENTROPY_TOKENS];
88 #if CONFIG_VP9_HIGHBITDEPTH 89 #if CONFIG_VP9_HIGHBITDEPTH
89 extern const vp9_extra_bit vp9_extra_bits_high10[ENTROPY_TOKENS]; 90 extern const vp9_extra_bit vp9_extra_bits_high10[ENTROPY_TOKENS];
90 extern const vp9_extra_bit vp9_extra_bits_high12[ENTROPY_TOKENS]; 91 extern const vp9_extra_bit vp9_extra_bits_high12[ENTROPY_TOKENS];
91 #endif // CONFIG_VP9_HIGHBITDEPTH 92 #endif // CONFIG_VP9_HIGHBITDEPTH
92 93
93 #define DCT_MAX_VALUE 16384 94 #define DCT_MAX_VALUE 16384
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 const PREDICTION_MODE mode = get_y_mode(mi, block_idx); 223 const PREDICTION_MODE mode = get_y_mode(mi, block_idx);
223 return &vp9_scan_orders[tx_size][intra_mode_to_tx_type_lookup[mode]]; 224 return &vp9_scan_orders[tx_size][intra_mode_to_tx_type_lookup[mode]];
224 } 225 }
225 } 226 }
226 227
227 #ifdef __cplusplus 228 #ifdef __cplusplus
228 } // extern "C" 229 } // extern "C"
229 #endif 230 #endif
230 231
231 #endif // VP9_COMMON_VP9_ENTROPY_H_ 232 #endif // VP9_COMMON_VP9_ENTROPY_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_blockd.h ('k') | source/libvpx/vp9/common/vp9_entropymode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698