| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // Quantizer setings | 34 // Quantizer setings |
| 35 int16_t *quant_fp; | 35 int16_t *quant_fp; |
| 36 int16_t *round_fp; | 36 int16_t *round_fp; |
| 37 int16_t *quant; | 37 int16_t *quant; |
| 38 int16_t *quant_shift; | 38 int16_t *quant_shift; |
| 39 int16_t *zbin; | 39 int16_t *zbin; |
| 40 int16_t *round; | 40 int16_t *round; |
| 41 | 41 |
| 42 int64_t quant_thred[2]; | 42 int64_t quant_thred[2]; |
| 43 // Zbin Over Quant value | |
| 44 int16_t zbin_extra; | |
| 45 }; | 43 }; |
| 46 | 44 |
| 47 /* The [2] dimension is for whether we skip the EOB node (i.e. if previous | 45 /* The [2] dimension is for whether we skip the EOB node (i.e. if previous |
| 48 * coefficient in this block was zero) or not. */ | 46 * coefficient in this block was zero) or not. */ |
| 49 typedef unsigned int vp9_coeff_cost[PLANE_TYPES][REF_TYPES][COEF_BANDS][2] | 47 typedef unsigned int vp9_coeff_cost[PLANE_TYPES][REF_TYPES][COEF_BANDS][2] |
| 50 [COEFF_CONTEXTS][ENTROPY_TOKENS]; | 48 [COEFF_CONTEXTS][ENTROPY_TOKENS]; |
| 51 | 49 |
| 52 typedef struct macroblock MACROBLOCK; | 50 typedef struct macroblock MACROBLOCK; |
| 53 struct macroblock { | 51 struct macroblock { |
| 54 struct macroblock_plane plane[MAX_MB_PLANE]; | 52 struct macroblock_plane plane[MAX_MB_PLANE]; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 void (*highbd_itxm_add)(const tran_low_t *input, uint8_t *dest, int stride, | 124 void (*highbd_itxm_add)(const tran_low_t *input, uint8_t *dest, int stride, |
| 127 int eob, int bd); | 125 int eob, int bd); |
| 128 #endif | 126 #endif |
| 129 }; | 127 }; |
| 130 | 128 |
| 131 #ifdef __cplusplus | 129 #ifdef __cplusplus |
| 132 } // extern "C" | 130 } // extern "C" |
| 133 #endif | 131 #endif |
| 134 | 132 |
| 135 #endif // VP9_ENCODER_VP9_BLOCK_H_ | 133 #endif // VP9_ENCODER_VP9_BLOCK_H_ |
| OLD | NEW |