Revert "quantize: replace highbd versions"
[platform/upstream/libvpx.git] / vpx_dsp / quantize.h
1 /*
2  *  Copyright (c) 2015 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 #ifndef VPX_VPX_DSP_QUANTIZE_H_
12 #define VPX_VPX_DSP_QUANTIZE_H_
13
14 #include "./vpx_config.h"
15 #include "vpx_dsp/vpx_dsp_common.h"
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 void vpx_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs,
22                      const int16_t *round_ptr, const int16_t quant,
23                      tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr,
24                      const int16_t dequant, uint16_t *eob_ptr);
25 void vpx_quantize_dc_32x32(const tran_low_t *coeff_ptr,
26                            const int16_t *round_ptr, const int16_t quant,
27                            tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr,
28                            const int16_t dequant, uint16_t *eob_ptr);
29
30 #if CONFIG_VP9_HIGHBITDEPTH
31 void vpx_highbd_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs,
32                             const int16_t *round_ptr, const int16_t quant,
33                             tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr,
34                             const int16_t dequant, uint16_t *eob_ptr);
35 void vpx_highbd_quantize_dc_32x32(const tran_low_t *coeff_ptr,
36                                   const int16_t *round_ptr, const int16_t quant,
37                                   tran_low_t *qcoeff_ptr,
38                                   tran_low_t *dqcoeff_ptr,
39                                   const int16_t dequant, uint16_t *eob_ptr);
40 #endif
41
42 #ifdef __cplusplus
43 }  // extern "C"
44 #endif
45
46 #endif  // VPX_VPX_DSP_QUANTIZE_H_