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 16extern "C" { 17#endif 18 19struct VP8_COMP; 20struct macroblock; 21extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); 22extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); 23extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x); 24extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, int ok_to_skip); 25extern void vp8cx_init_quantizer(struct VP8_COMP *cpi); 26 27#ifdef __cplusplus 28} // extern "C" 29#endif 30 31#endif // VP8_ENCODER_QUANTIZE_H_ 32