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 | 11 |
12 #ifndef VP8_ENCODER_QUANTIZE_H_ | 12 #ifndef VP8_ENCODER_QUANTIZE_H_ |
13 #define VP8_ENCODER_QUANTIZE_H_ | 13 #define VP8_ENCODER_QUANTIZE_H_ |
14 | 14 |
15 #ifdef __cplusplus | 15 #ifdef __cplusplus |
16 extern "C" { | 16 extern "C" { |
17 #endif | 17 #endif |
18 | 18 |
19 struct VP8_COMP; | 19 struct VP8_COMP; |
20 struct macroblock; | 20 struct macroblock; |
| 21 extern void vp8_quantize_mb(struct macroblock *x); |
| 22 extern void vp8_quantize_mby(struct macroblock *x); |
| 23 extern void vp8_quantize_mbuv(struct macroblock *x); |
21 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); | 24 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); |
22 extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); | 25 extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); |
23 extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x); | 26 extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x); |
24 extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x,
int ok_to_skip); | 27 extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x,
int ok_to_skip); |
25 extern void vp8cx_init_quantizer(struct VP8_COMP *cpi); | 28 extern void vp8cx_init_quantizer(struct VP8_COMP *cpi); |
26 | 29 |
27 #ifdef __cplusplus | 30 #ifdef __cplusplus |
28 } // extern "C" | 31 } // extern "C" |
29 #endif | 32 #endif |
30 | 33 |
31 #endif // VP8_ENCODER_QUANTIZE_H_ | 34 #endif // VP8_ENCODER_QUANTIZE_H_ |
OLD | NEW |