| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, | 42 tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, |
| 43 const int16_t dequant_ptr, uint16_t *eob_ptr); | 43 const int16_t dequant_ptr, uint16_t *eob_ptr); |
| 44 void vp9_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block, | 44 void vp9_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block, |
| 45 const int16_t *round_ptr, const int16_t quant_ptr, | 45 const int16_t *round_ptr, const int16_t quant_ptr, |
| 46 tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, | 46 tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, |
| 47 const int16_t dequant_ptr, uint16_t *eob_ptr); | 47 const int16_t dequant_ptr, uint16_t *eob_ptr); |
| 48 void vp9_regular_quantize_b_4x4(MACROBLOCK *x, int plane, int block, | 48 void vp9_regular_quantize_b_4x4(MACROBLOCK *x, int plane, int block, |
| 49 const int16_t *scan, const int16_t *iscan); | 49 const int16_t *scan, const int16_t *iscan); |
| 50 | 50 |
| 51 #if CONFIG_VP9_HIGHBITDEPTH | 51 #if CONFIG_VP9_HIGHBITDEPTH |
| 52 void vp9_high_quantize_dc(const tran_low_t *coeff_ptr, int skip_block, | 52 void vp9_highbd_quantize_dc(const tran_low_t *coeff_ptr, int skip_block, |
| 53 const int16_t *round_ptr, const int16_t quant_ptr, | 53 const int16_t *round_ptr, const int16_t quant_ptr, |
| 54 tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, | 54 tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, |
| 55 const int16_t dequant_ptr, uint16_t *eob_ptr); | 55 const int16_t dequant_ptr, uint16_t *eob_ptr); |
| 56 void vp9_high_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block, | 56 void vp9_highbd_quantize_dc_32x32(const tran_low_t *coeff_ptr, |
| 57 const int16_t *round_ptr, | 57 int skip_block, |
| 58 const int16_t quant_ptr, tran_low_t *qcoeff_ptr, | 58 const int16_t *round_ptr, |
| 59 tran_low_t *dqcoeff_ptr, | 59 const int16_t quant_ptr, |
| 60 const int16_t dequant_ptr, uint16_t *eob_ptr); | 60 tran_low_t *qcoeff_ptr, |
| 61 tran_low_t *dqcoeff_ptr, |
| 62 const int16_t dequant_ptr, |
| 63 uint16_t *eob_ptr); |
| 61 #endif | 64 #endif |
| 62 | 65 |
| 63 struct VP9_COMP; | 66 struct VP9_COMP; |
| 64 struct VP9Common; | 67 struct VP9Common; |
| 65 | 68 |
| 66 void vp9_frame_init_quantizer(struct VP9_COMP *cpi); | 69 void vp9_frame_init_quantizer(struct VP9_COMP *cpi); |
| 67 | 70 |
| 68 void vp9_update_zbin_extra(struct VP9_COMP *cpi, MACROBLOCK *x); | 71 void vp9_update_zbin_extra(struct VP9_COMP *cpi, MACROBLOCK *x); |
| 69 | 72 |
| 70 void vp9_init_plane_quantizers(struct VP9_COMP *cpi, MACROBLOCK *x); | 73 void vp9_init_plane_quantizers(struct VP9_COMP *cpi, MACROBLOCK *x); |
| 71 | 74 |
| 72 void vp9_init_quantizer(struct VP9_COMP *cpi); | 75 void vp9_init_quantizer(struct VP9_COMP *cpi); |
| 73 | 76 |
| 74 void vp9_set_quantizer(struct VP9Common *cm, int q); | 77 void vp9_set_quantizer(struct VP9Common *cm, int q); |
| 75 | 78 |
| 76 int vp9_quantizer_to_qindex(int quantizer); | 79 int vp9_quantizer_to_qindex(int quantizer); |
| 77 | 80 |
| 78 int vp9_qindex_to_quantizer(int qindex); | 81 int vp9_qindex_to_quantizer(int qindex); |
| 79 | 82 |
| 80 #ifdef __cplusplus | 83 #ifdef __cplusplus |
| 81 } // extern "C" | 84 } // extern "C" |
| 82 #endif | 85 #endif |
| 83 | 86 |
| 84 #endif // VP9_ENCODER_VP9_QUANTIZE_H_ | 87 #endif // VP9_ENCODER_VP9_QUANTIZE_H_ |
| OLD | NEW |