diff options
author | James Zern <jzern@google.com> | 2022-03-31 12:10:03 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2022-03-31 12:14:09 -0700 |
commit | 6ac395ed771a4fa986637197a71ac6fe58d57965 (patch) | |
tree | 096a3e42df161beb49fba16279e88dd8645113d9 /vpx_dsp/quantize.h | |
parent | 81eb99386b068c23f9a513796ced3db81d5b0ec9 (diff) | |
download | libvpx-6ac395ed771a4fa986637197a71ac6fe58d57965.tar libvpx-6ac395ed771a4fa986637197a71ac6fe58d57965.tar.gz libvpx-6ac395ed771a4fa986637197a71ac6fe58d57965.tar.bz2 libvpx-6ac395ed771a4fa986637197a71ac6fe58d57965.zip |
Revert "quantize: remove highbd version"
This reverts commit 89cfe3835c47dabf77d38edb3af190155984fa9a.
This is a prerequisite for reverting
2200039d33c49a9f7a5c438656df143755b022c4 which causes high bitdepth test
failures
Bug: webm:1586
Change-Id: I28f3b98f3339f3573b1492b88bf733dade133fc0
Diffstat (limited to 'vpx_dsp/quantize.h')
-rw-r--r-- | vpx_dsp/quantize.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/vpx_dsp/quantize.h b/vpx_dsp/quantize.h index 9ac1a4741..0fcd77941 100644 --- a/vpx_dsp/quantize.h +++ b/vpx_dsp/quantize.h @@ -38,7 +38,22 @@ void vpx_highbd_quantize_dc_32x32(const tran_low_t *coeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t dequant, uint16_t *eob_ptr); -#endif // CONFIG_VP9_HIGHBITDEPTH +// Only used for reference. The optimized versions can handle HBD. +void vpx_highbd_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, + const int16_t *zbin_ptr, const int16_t *round_ptr, + const int16_t *quant_ptr, + const int16_t *quant_shift_ptr, + tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, + const int16_t *dequant_ptr, uint16_t *eob_ptr, + const int16_t *scan, const int16_t *iscan); + +void vpx_highbd_quantize_b_32x32_c( + const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, + const int16_t *round_ptr, const int16_t *quant_ptr, + const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, + tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, + const int16_t *scan, const int16_t *iscan); +#endif #ifdef __cplusplus } // extern "C" |