1 /* 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3 * 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 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 12 #ifndef VP8_ENCODER_QUANTIZE_H_ 13 #define VP8_ENCODER_QUANTIZE_H_ 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 struct VP8_COMP; 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); 24 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); 25 extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); 26 extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x); 27 extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, int ok_to_skip); 28 extern void vp8cx_init_quantizer(struct VP8_COMP *cpi); 29 30 #ifdef __cplusplus 31 } // extern "C" 32 #endif 33 34 #endif // VP8_ENCODER_QUANTIZE_H_ 35