| 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 |
| 11 #ifndef VP9_COMMON_VP9_ENTROPY_H_ | 11 #ifndef VP9_COMMON_VP9_ENTROPY_H_ |
| 12 #define VP9_COMMON_VP9_ENTROPY_H_ | 12 #define VP9_COMMON_VP9_ENTROPY_H_ |
| 13 | 13 |
| 14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
| 15 | 15 |
| 16 #include "vp9/common/vp9_blockd.h" | |
| 17 #include "vp9/common/vp9_common.h" | 16 #include "vp9/common/vp9_common.h" |
| 17 #include "vp9/common/vp9_prob.h" |
| 18 #include "vp9/common/vp9_scan.h" | 18 #include "vp9/common/vp9_scan.h" |
| 19 | 19 |
| 20 #ifdef __cplusplus | 20 #ifdef __cplusplus |
| 21 extern "C" { | 21 extern "C" { |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 #define DIFF_UPDATE_PROB 252 | 24 #define DIFF_UPDATE_PROB 252 |
| 25 | 25 |
| 26 // Coefficient token alphabet | 26 // Coefficient token alphabet |
| 27 #define ZERO_TOKEN 0 // 0 Extra Bits 0+0 | 27 #define ZERO_TOKEN 0 // 0 Extra Bits 0+0 |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 const PREDICTION_MODE mode = get_y_mode(mi, block_idx); | 222 const PREDICTION_MODE mode = get_y_mode(mi, block_idx); |
| 223 return &vp9_scan_orders[tx_size][intra_mode_to_tx_type_lookup[mode]]; | 223 return &vp9_scan_orders[tx_size][intra_mode_to_tx_type_lookup[mode]]; |
| 224 } | 224 } |
| 225 } | 225 } |
| 226 | 226 |
| 227 #ifdef __cplusplus | 227 #ifdef __cplusplus |
| 228 } // extern "C" | 228 } // extern "C" |
| 229 #endif | 229 #endif |
| 230 | 230 |
| 231 #endif // VP9_COMMON_VP9_ENTROPY_H_ | 231 #endif // VP9_COMMON_VP9_ENTROPY_H_ |
| OLD | NEW |