Change blend function param order from h,w to w,h
[aom.git] / aom_dsp / quantize.h
blob56d50b9296bb651c21f1153f34bb7aba330c4f23
1 /*
2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
12 #ifndef AOM_DSP_QUANTIZE_H_
13 #define AOM_DSP_QUANTIZE_H_
15 #include "config/aom_config.h"
17 #include "aom_dsp/aom_dsp_common.h"
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
23 void quantize_b_helper_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
24 int skip_block, const int16_t *zbin_ptr,
25 const int16_t *round_ptr, const int16_t *quant_ptr,
26 const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr,
27 tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr,
28 uint16_t *eob_ptr, const int16_t *scan,
29 const int16_t *iscan, const qm_val_t *qm_ptr,
30 const qm_val_t *iqm_ptr, const int log_scale);
32 void aom_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
33 int skip_block, const int16_t *zbin_ptr,
34 const int16_t *round_ptr, const int16_t *quant_ptr,
35 const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr,
36 tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr,
37 uint16_t *eob_ptr, const int16_t *scan,
38 const int16_t *iscan);
40 void highbd_quantize_b_helper_c(
41 const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block,
42 const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
43 const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr,
44 tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr,
45 const int16_t *scan, const int16_t *iscan, const qm_val_t *qm_ptr,
46 const qm_val_t *iqm_ptr, const int log_scale);
48 void aom_highbd_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
49 int skip_block, const int16_t *zbin_ptr,
50 const int16_t *round_ptr, const int16_t *quant_ptr,
51 const int16_t *quant_shift_ptr,
52 tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr,
53 const int16_t *dequant_ptr, uint16_t *eob_ptr,
54 const int16_t *scan, const int16_t *iscan);
56 #ifdef __cplusplus
57 } // extern "C"
58 #endif
60 #endif // AOM_DSP_QUANTIZE_H_