Home
last modified time | relevance | path

Searched refs:resize_coeff (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/gpu/ipu-v3/
Dipu-ic.c218 u32 *resize_coeff, in calc_resize_coeffs() argument
259 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); in calc_resize_coeffs()
260 if (*resize_coeff >= 16384L) { in calc_resize_coeffs()
262 *resize_coeff = 0x3FFF; in calc_resize_coeffs()
404 u32 downsize_coeff, resize_coeff; in ipu_ic_task_init_rsc() local
412 &resize_coeff, &downsize_coeff); in ipu_ic_task_init_rsc()
416 rsc = (downsize_coeff << 30) | (resize_coeff << 16); in ipu_ic_task_init_rsc()
420 &resize_coeff, &downsize_coeff); in ipu_ic_task_init_rsc()
424 rsc |= (downsize_coeff << 14) | resize_coeff; in ipu_ic_task_init_rsc()
Dipu-image-convert.c507 unsigned int resize_coeff, in find_best_seam() argument
560 in_pos = (out_pos * resize_coeff) << downsize_coeff; in find_best_seam()
/Linux-v6.1/drivers/dma/ipu/
Dipu_idmac.c453 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()
[all …]