• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:scan

22     const int16_t *scan, const int16_t *iscan, const qm_val_t *qm_ptr,  in aom_quantize_b_adaptive_helper_c()  argument
26 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in aom_quantize_b_adaptive_helper_c()
27 int i, non_zero_count = (int)n_coeffs, eob = -1; in aom_quantize_b_adaptive_helper_c()
37 // Pre-scan pass in aom_quantize_b_adaptive_helper_c()
38 for (i = (int)n_coeffs - 1; i >= 0; i--) { in aom_quantize_b_adaptive_helper_c()
39 const int rc = scan[i]; in aom_quantize_b_adaptive_helper_c()
44 coeff > (nzbins[rc != 0] * (1 << AOM_QM_BITS) - prescan_add_val)) in aom_quantize_b_adaptive_helper_c()
45 non_zero_count--; in aom_quantize_b_adaptive_helper_c()
53 int first = -1; in aom_quantize_b_adaptive_helper_c()
56 const int rc = scan[i]; in aom_quantize_b_adaptive_helper_c()
59 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_helper_c()
70 (16 - log_scale + AOM_QM_BITS)); // quantization in aom_quantize_b_adaptive_helper_c()
71 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in aom_quantize_b_adaptive_helper_c()
74 (dequant_ptr[rc != 0] * iwt + (1 << (AOM_QM_BITS - 1))) >> in aom_quantize_b_adaptive_helper_c()
77 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in aom_quantize_b_adaptive_helper_c()
82 if (first == -1) first = i; in aom_quantize_b_adaptive_helper_c()
89 const int rc = scan[eob]; in aom_quantize_b_adaptive_helper_c()
90 if (qcoeff_ptr[rc] == 1 || qcoeff_ptr[rc] == -1) { in aom_quantize_b_adaptive_helper_c()
97 coeff > (nzbins[rc != 0] * (1 << AOM_QM_BITS) - prescan_add_val)) { in aom_quantize_b_adaptive_helper_c()
100 eob = -1; in aom_quantize_b_adaptive_helper_c()
115 const int16_t *scan, const int16_t *iscan, in aom_quantize_b_helper_c() argument
120 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in aom_quantize_b_helper_c()
121 int i, non_zero_count = (int)n_coeffs, eob = -1; in aom_quantize_b_helper_c()
127 // Pre-scan pass in aom_quantize_b_helper_c()
128 for (i = (int)n_coeffs - 1; i >= 0; i--) { in aom_quantize_b_helper_c()
129 const int rc = scan[i]; in aom_quantize_b_helper_c()
135 non_zero_count--; in aom_quantize_b_helper_c()
143 const int rc = scan[i]; in aom_quantize_b_helper_c()
146 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_quantize_b_helper_c()
157 (16 - log_scale + AOM_QM_BITS)); // quantization in aom_quantize_b_helper_c()
158 qcoeff_ptr[rc] = (tmp32 ^ coeff_sign) - coeff_sign; in aom_quantize_b_helper_c()
161 (dequant_ptr[rc != 0] * iwt + (1 << (AOM_QM_BITS - 1))) >> in aom_quantize_b_helper_c()
164 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in aom_quantize_b_helper_c()
179 const int16_t *scan, const int16_t *iscan, const qm_val_t *qm_ptr, in aom_highbd_quantize_b_adaptive_helper_c() argument
183 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in aom_highbd_quantize_b_adaptive_helper_c()
185 int i, non_zero_count = (int)n_coeffs, eob = -1; in aom_highbd_quantize_b_adaptive_helper_c()
194 // Pre-scan pass in aom_highbd_quantize_b_adaptive_helper_c()
195 for (i = (int)n_coeffs - 1; i >= 0; i--) { in aom_highbd_quantize_b_adaptive_helper_c()
196 const int rc = scan[i]; in aom_highbd_quantize_b_adaptive_helper_c()
201 coeff > (nzbins[rc != 0] * (1 << AOM_QM_BITS) - prescan_add_val)) in aom_highbd_quantize_b_adaptive_helper_c()
202 non_zero_count--; in aom_highbd_quantize_b_adaptive_helper_c()
210 int first = -1; in aom_highbd_quantize_b_adaptive_helper_c()
213 const int rc = scan[i]; in aom_highbd_quantize_b_adaptive_helper_c()
217 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_adaptive_helper_c()
224 (16 - log_scale + AOM_QM_BITS)); in aom_highbd_quantize_b_adaptive_helper_c()
225 qcoeff_ptr[rc] = (tran_low_t)((abs_qcoeff ^ coeff_sign) - coeff_sign); in aom_highbd_quantize_b_adaptive_helper_c()
228 (dequant_ptr[rc != 0] * iwt + (1 << (AOM_QM_BITS - 1))) >> in aom_highbd_quantize_b_adaptive_helper_c()
231 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in aom_highbd_quantize_b_adaptive_helper_c()
235 if (first == -1) first = eob; in aom_highbd_quantize_b_adaptive_helper_c()
242 const int rc = scan[eob]; in aom_highbd_quantize_b_adaptive_helper_c()
243 if (qcoeff_ptr[rc] == 1 || qcoeff_ptr[rc] == -1) { in aom_highbd_quantize_b_adaptive_helper_c()
250 coeff > (nzbins[rc != 0] * (1 << AOM_QM_BITS) - prescan_add_val)) { in aom_highbd_quantize_b_adaptive_helper_c()
253 eob = -1; in aom_highbd_quantize_b_adaptive_helper_c()
267 const int16_t *scan, const int16_t *iscan, const qm_val_t *qm_ptr, in aom_highbd_quantize_b_helper_c() argument
269 int i, eob = -1; in aom_highbd_quantize_b_helper_c()
272 const int nzbins[2] = { zbins[0] * -1, zbins[1] * -1 }; in aom_highbd_quantize_b_helper_c()
281 // Pre-scan pass in aom_highbd_quantize_b_helper_c()
283 const int rc = scan[i]; in aom_highbd_quantize_b_helper_c()
295 // pre-scan pass. Note: idx can be zero. in aom_highbd_quantize_b_helper_c()
297 const int rc = scan[idx_arr[i]]; in aom_highbd_quantize_b_helper_c()
302 const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign; in aom_highbd_quantize_b_helper_c()
308 (16 - log_scale + AOM_QM_BITS)); in aom_highbd_quantize_b_helper_c()
309 qcoeff_ptr[rc] = (tran_low_t)((abs_qcoeff ^ coeff_sign) - coeff_sign); in aom_highbd_quantize_b_helper_c()
311 (dequant_ptr[rc != 0] * iwt + (1 << (AOM_QM_BITS - 1))) >> AOM_QM_BITS; in aom_highbd_quantize_b_helper_c()
313 dqcoeff_ptr[rc] = (tran_low_t)((abs_dqcoeff ^ coeff_sign) - coeff_sign); in aom_highbd_quantize_b_helper_c()
330 const int16_t *scan, const int16_t *iscan) { in aom_quantize_b_adaptive_c() argument
333 dqcoeff_ptr, dequant_ptr, eob_ptr, scan, in aom_quantize_b_adaptive_c()
342 const int16_t *scan, const int16_t *iscan) { in aom_quantize_b_32x32_adaptive_c() argument
345 dqcoeff_ptr, dequant_ptr, eob_ptr, scan, in aom_quantize_b_32x32_adaptive_c()
354 const int16_t *scan, const int16_t *iscan) { in aom_quantize_b_64x64_adaptive_c() argument
357 dqcoeff_ptr, dequant_ptr, eob_ptr, scan, in aom_quantize_b_64x64_adaptive_c()
367 const int16_t *scan, const int16_t *iscan) { in aom_highbd_quantize_b_adaptive_c() argument
371 eob_ptr, scan, iscan, NULL, NULL, 0); in aom_highbd_quantize_b_adaptive_c()
379 const int16_t *scan, const int16_t *iscan) { in aom_highbd_quantize_b_32x32_adaptive_c() argument
383 eob_ptr, scan, iscan, NULL, NULL, 1); in aom_highbd_quantize_b_32x32_adaptive_c()
391 const int16_t *scan, const int16_t *iscan) { in aom_highbd_quantize_b_64x64_adaptive_c() argument
395 eob_ptr, scan, iscan, NULL, NULL, 2); in aom_highbd_quantize_b_64x64_adaptive_c()
405 const int16_t *scan, const int16_t *iscan) { in aom_quantize_b_c() argument
408 eob_ptr, scan, iscan, NULL, NULL, 0); in aom_quantize_b_c()
417 const int16_t *scan, const int16_t *iscan) { in aom_quantize_b_32x32_c() argument
420 eob_ptr, scan, iscan, NULL, NULL, 1); in aom_quantize_b_32x32_c()
429 const int16_t *scan, const int16_t *iscan) { in aom_quantize_b_64x64_c() argument
432 eob_ptr, scan, iscan, NULL, NULL, 2); in aom_quantize_b_64x64_c()
442 const int16_t *scan, const int16_t *iscan) { in aom_highbd_quantize_b_c() argument
445 dqcoeff_ptr, dequant_ptr, eob_ptr, scan, iscan, in aom_highbd_quantize_b_c()
454 const int16_t *scan, const int16_t *iscan) { in aom_highbd_quantize_b_32x32_c() argument
457 dqcoeff_ptr, dequant_ptr, eob_ptr, scan, iscan, in aom_highbd_quantize_b_32x32_c()
466 const int16_t *scan, const int16_t *iscan) { in aom_highbd_quantize_b_64x64_c() argument
469 dqcoeff_ptr, dequant_ptr, eob_ptr, scan, iscan, in aom_highbd_quantize_b_64x64_c()