Lines Matching refs:resize_coeff
453 uint32_t *resize_coeff, in calc_resize_coeffs() argument
459 *resize_coeff = 1 << 13; in calc_resize_coeffs()
480 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); in calc_resize_coeffs()
481 if (*resize_coeff >= 16384L) { in calc_resize_coeffs()
483 *resize_coeff = 0x3FFF; in calc_resize_coeffs()
488 *downsize_coeff, *resize_coeff >= 8192L ? 1 : 0, in calc_resize_coeffs()
489 ((*resize_coeff & 0x1FFF) * 10000L) / 8192L, *resize_coeff); in calc_resize_coeffs()
512 uint32_t downsize_coeff, resize_coeff; in ipu_ic_init_prpenc() local
518 &resize_coeff, &downsize_coeff); in ipu_ic_init_prpenc()
519 reg = (downsize_coeff << 30) | (resize_coeff << 16); in ipu_ic_init_prpenc()
524 &resize_coeff, &downsize_coeff); in ipu_ic_init_prpenc()
525 reg |= (downsize_coeff << 14) | resize_coeff; in ipu_ic_init_prpenc()