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_ENCODER_VP9_QUANTIZE_H_ | 11 #ifndef VP9_ENCODER_VP9_QUANTIZE_H_ |
12 #define VP9_ENCODER_VP9_QUANTIZE_H_ | 12 #define VP9_ENCODER_VP9_QUANTIZE_H_ |
13 | 13 |
14 #include "vp9/encoder/vp9_block.h" | 14 #include "vp9/encoder/vp9_block.h" |
15 | 15 |
16 void vp9_regular_quantize_b_4x4(MACROBLOCK *x, int y_blocks, int b_idx, | 16 void vp9_regular_quantize_b_4x4(MACROBLOCK *x, int plane, int block, |
17 const int16_t *scan, const int16_t *iscan); | 17 const int16_t *scan, const int16_t *iscan); |
18 | 18 |
19 struct VP9_COMP; | 19 struct VP9_COMP; |
20 | 20 |
21 void vp9_set_quantizer(struct VP9_COMP *cpi, int q); | 21 void vp9_set_quantizer(struct VP9_COMP *cpi, int q); |
22 | 22 |
23 void vp9_frame_init_quantizer(struct VP9_COMP *cpi); | 23 void vp9_frame_init_quantizer(struct VP9_COMP *cpi); |
24 | 24 |
25 void vp9_update_zbin_extra(struct VP9_COMP *cpi, MACROBLOCK *x); | 25 void vp9_update_zbin_extra(struct VP9_COMP *cpi, MACROBLOCK *x); |
26 | 26 |
27 void vp9_mb_init_quantizer(struct VP9_COMP *cpi, MACROBLOCK *x); | 27 void vp9_mb_init_quantizer(struct VP9_COMP *cpi, MACROBLOCK *x); |
28 | 28 |
29 void vp9_init_quantizer(struct VP9_COMP *cpi); | 29 void vp9_init_quantizer(struct VP9_COMP *cpi); |
30 | 30 |
31 #endif // VP9_ENCODER_VP9_QUANTIZE_H_ | 31 #endif // VP9_ENCODER_VP9_QUANTIZE_H_ |
OLD | NEW |