| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |