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 #ifndef VPX_VP8_ENCODER_QUANTIZE_H_ 12 #define VPX_VP8_ENCODER_QUANTIZE_H_ 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 struct VP8_COMP; 19 struct macroblock; 20 extern void vp8_quantize_mb(struct macroblock *x); 21 extern void vp8_quantize_mby(struct macroblock *x); 22 extern void vp8_quantize_mbuv(struct macroblock *x); 23 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); 24 extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); 25 extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x); 26 extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, 27 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 // VPX_VP8_ENCODER_QUANTIZE_H_ 35