Home
last modified time | relevance | path

Searched refs:AOM_QM_BITS (Results 1 – 6 of 6) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dquantize.c39 const qm_val_t wt = qm_ptr != NULL ? qm_ptr[rc] : (1 << AOM_QM_BITS); in quantize_b_adaptive_helper_c()
42 if (coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val) && in quantize_b_adaptive_helper_c()
43 coeff > (nzbins[rc != 0] * (1 << AOM_QM_BITS) - prescan_add_val)) in quantize_b_adaptive_helper_c()
61 const qm_val_t wt = qm_ptr != NULL ? qm_ptr[rc] : (1 << AOM_QM_BITS); in quantize_b_adaptive_helper_c()
62 if (abs_coeff * wt >= (zbins[rc != 0] << AOM_QM_BITS)) { in quantize_b_adaptive_helper_c()
69 (16 - log_scale + AOM_QM_BITS)); // quantization in quantize_b_adaptive_helper_c()
71 const int iwt = iqm_ptr != NULL ? iqm_ptr[rc] : (1 << AOM_QM_BITS); in quantize_b_adaptive_helper_c()
73 (dequant_ptr[rc != 0] * iwt + (1 << (AOM_QM_BITS - 1))) >> in quantize_b_adaptive_helper_c()
74 AOM_QM_BITS; in quantize_b_adaptive_helper_c()
90 const qm_val_t wt = qm_ptr != NULL ? qm_ptr[rc] : (1 << AOM_QM_BITS); in quantize_b_adaptive_helper_c()
[all …]
Daom_dsp_common.h53 #define AOM_QM_BITS 5 macro
/external/libaom/libaom/av1/encoder/
Dav1_quantize.c82 const qm_val_t wt = qm_ptr ? qm_ptr[rc] : (1 << AOM_QM_BITS); in quantize_fp_helper_c()
83 const qm_val_t iwt = iqm_ptr ? iqm_ptr[rc] : (1 << AOM_QM_BITS); in quantize_fp_helper_c()
85 (dequant_ptr[rc != 0] * iwt + (1 << (AOM_QM_BITS - 1))) >> in quantize_fp_helper_c()
86 AOM_QM_BITS; in quantize_fp_helper_c()
91 (dequant_ptr[rc != 0] << (AOM_QM_BITS - (1 + log_scale)))) { in quantize_fp_helper_c()
95 (16 - log_scale + AOM_QM_BITS)); in quantize_fp_helper_c()
129 const qm_val_t wt = qm_ptr != NULL ? qm_ptr[rc] : (1 << AOM_QM_BITS); in highbd_quantize_fp_helper_c()
130 const qm_val_t iwt = iqm_ptr != NULL ? iqm_ptr[rc] : (1 << AOM_QM_BITS); in highbd_quantize_fp_helper_c()
132 (dequant_ptr[rc != 0] * iwt + (1 << (AOM_QM_BITS - 1))) >> in highbd_quantize_fp_helper_c()
133 AOM_QM_BITS; in highbd_quantize_fp_helper_c()
[all …]
Dencodetxb.c116 ((iqmatrix[coeff_idx] * dqv) + (1 << (AOM_QM_BITS - 1))) >> AOM_QM_BITS; in qcoeff_to_dqcoeff()
/external/libaom/libaom/aom_dsp/x86/
Dadaptive_quantize_sse2.c48 const qm_val_t wt = 1 << AOM_QM_BITS; in aom_quantize_b_adaptive_sse2()
53 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_quantize_b_adaptive_sse2()
199 const qm_val_t wt = (1 << AOM_QM_BITS); in aom_quantize_b_adaptive_sse2()
206 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_quantize_b_adaptive_sse2()
248 const qm_val_t wt = 1 << AOM_QM_BITS; in aom_quantize_b_32x32_adaptive_sse2()
253 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_quantize_b_32x32_adaptive_sse2()
406 const qm_val_t wt = (1 << AOM_QM_BITS); in aom_quantize_b_32x32_adaptive_sse2()
413 if (abs_coeff < (zbins[rc != 0] * (1 << AOM_QM_BITS) + prescan_add_val)) { in aom_quantize_b_32x32_adaptive_sse2()
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c58 ((iqmatrix[coeff_idx] * dqv) + (1 << (AOM_QM_BITS - 1))) >> AOM_QM_BITS; in get_dqv()