add_proto qw/void vp9_highbd_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, const struct macroblock_plane *const mb_plane, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const struct ScanOrder *const scan_order";
specialize qw/vp9_highbd_quantize_fp avx2 neon/;
- add_proto qw/void vp9_highbd_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, const struct macroblock_plane *const mb_plane, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const struct ScanOrder *const scan_order" ;
+ add_proto qw/void vp9_highbd_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, const struct macroblock_plane *const mb_plane, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const struct ScanOrder *const scan_order";
specialize qw/vp9_highbd_quantize_fp_32x32 avx2 neon/;
# fdct functions
*v_eobmax = get_max_lane_eob(iscan_ptr, *v_eobmax, v_nz_mask);
}
-void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t count,
+void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
const struct macroblock_plane *mb_plane,
tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr,
const int16_t *dequant_ptr, uint16_t *eob_ptr,
// now process the rest of the ac coeffs
update_fp_values(&v_round, &v_quant, &v_dequant);
- for (i = 8; i < count; i += 8) {
+ for (i = 8; i < n_coeffs; i += 8) {
quantize_fp_8(&v_round, &v_quant, &v_dequant, coeff_ptr + i, iscan + i,
qcoeff_ptr + i, dqcoeff_ptr + i, &v_eobmax);
}
*v_eobmax = get_max_lane_eob(iscan_ptr, *v_eobmax, v_nz_mask);
}
-void vp9_quantize_fp_32x32_neon(const tran_low_t *coeff_ptr, intptr_t count,
+void vp9_quantize_fp_32x32_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
const struct macroblock_plane *mb_plane,
tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr,
const int16_t *dequant_ptr, uint16_t *eob_ptr,
int i;
const int16_t *iscan = scan_order->iscan;
- (void)count;
+ (void)n_coeffs;
// Process dc and the first seven ac coeffs.
quantize_fp_32x32_8(&round, &quant, &dequant, &dequant_thresh, coeff_ptr,