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

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

Issue 1217053002: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « source/libvpx/vp9/common/vp9_blockd.h ('k') | source/libvpx/vp9/common/vp9_entropy.c » ('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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat6_prob_high10[16]); 67 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat6_prob_high10[16]);
68 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat1_prob_high12[1]); 68 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat1_prob_high12[1]);
69 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat2_prob_high12[2]); 69 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat2_prob_high12[2]);
70 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat3_prob_high12[3]); 70 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat3_prob_high12[3]);
71 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat4_prob_high12[4]); 71 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat4_prob_high12[4]);
72 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat5_prob_high12[5]); 72 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat5_prob_high12[5]);
73 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat6_prob_high12[18]); 73 DECLARE_ALIGNED(16, extern const uint8_t, vp9_cat6_prob_high12[18]);
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[];
78 77
79 typedef struct { 78 typedef struct {
80 const vp9_tree_index *tree; 79 const vp9_tree_index *tree;
81 const vp9_prob *prob; 80 const vp9_prob *prob;
82 int len; 81 int len;
83 int base_val; 82 int base_val;
84 const int16_t *cost; 83 const int16_t *cost;
85 } vp9_extra_bit; 84 } vp9_extra_bit;
86 85
87 // indexed by token value 86 // indexed by token value
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 } 206 }
208 207
209 return combine_entropy_contexts(above_ec, left_ec); 208 return combine_entropy_contexts(above_ec, left_ec);
210 } 209 }
211 210
212 #ifdef __cplusplus 211 #ifdef __cplusplus
213 } // extern "C" 212 } // extern "C"
214 #endif 213 #endif
215 214
216 #endif // VP9_COMMON_VP9_ENTROPY_H_ 215 #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_entropy.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698