michael@0: /* michael@0: * Copyright (c) 2010 The WebM project authors. All Rights Reserved. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. All contributing project authors may michael@0: * be found in the AUTHORS file in the root of the source tree. michael@0: */ michael@0: michael@0: #ifndef VP9_ENCODER_VP9_QUANTIZE_H_ michael@0: #define VP9_ENCODER_VP9_QUANTIZE_H_ michael@0: michael@0: #include "vp9/encoder/vp9_block.h" michael@0: michael@0: void vp9_regular_quantize_b_4x4(MACROBLOCK *x, int y_blocks, int b_idx, michael@0: const int16_t *scan, const int16_t *iscan); michael@0: michael@0: struct VP9_COMP; michael@0: michael@0: void vp9_set_quantizer(struct VP9_COMP *cpi, int q); michael@0: michael@0: void vp9_frame_init_quantizer(struct VP9_COMP *cpi); michael@0: michael@0: void vp9_update_zbin_extra(struct VP9_COMP *cpi, MACROBLOCK *x); michael@0: michael@0: void vp9_mb_init_quantizer(struct VP9_COMP *cpi, MACROBLOCK *x); michael@0: michael@0: void vp9_init_quantizer(struct VP9_COMP *cpi); michael@0: michael@0: #endif // VP9_ENCODER_VP9_QUANTIZE_H_