11b362b15af34006e6a11974088a46d42b903418eJohann/* 21b362b15af34006e6a11974088a46d42b903418eJohann * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 31b362b15af34006e6a11974088a46d42b903418eJohann * 41b362b15af34006e6a11974088a46d42b903418eJohann * Use of this source code is governed by a BSD-style license 51b362b15af34006e6a11974088a46d42b903418eJohann * that can be found in the LICENSE file in the root of the source 61b362b15af34006e6a11974088a46d42b903418eJohann * tree. An additional intellectual property rights grant can be found 71b362b15af34006e6a11974088a46d42b903418eJohann * in the file PATENTS. All contributing project authors may 81b362b15af34006e6a11974088a46d42b903418eJohann * be found in the AUTHORS file in the root of the source tree. 91b362b15af34006e6a11974088a46d42b903418eJohann */ 101b362b15af34006e6a11974088a46d42b903418eJohann 111b362b15af34006e6a11974088a46d42b903418eJohann 12b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifndef VP8_ENCODER_QUANTIZE_H_ 13b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#define VP8_ENCODER_QUANTIZE_H_ 14b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 15b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus 16b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanianextern "C" { 17b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif 181b362b15af34006e6a11974088a46d42b903418eJohann 191b362b15af34006e6a11974088a46d42b903418eJohannstruct VP8_COMP; 201b362b15af34006e6a11974088a46d42b903418eJohannstruct macroblock; 211b362b15af34006e6a11974088a46d42b903418eJohannextern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q); 221b362b15af34006e6a11974088a46d42b903418eJohannextern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi); 231b362b15af34006e6a11974088a46d42b903418eJohannextern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x); 241b362b15af34006e6a11974088a46d42b903418eJohannextern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x, int ok_to_skip); 251b362b15af34006e6a11974088a46d42b903418eJohannextern void vp8cx_init_quantizer(struct VP8_COMP *cpi); 261b362b15af34006e6a11974088a46d42b903418eJohann 27b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#ifdef __cplusplus 28b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian} // extern "C" 291b362b15af34006e6a11974088a46d42b903418eJohann#endif 30b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian 31b08e2e23eec181e9951df33cd704ac294c5407b6Vignesh Venkatasubramanian#endif // VP8_ENCODER_QUANTIZE_H_ 32