Searched refs:tmp_w (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c397 u32 min_w, min_h, tmp_w, tmp_h; gsc_try_fmt_mplane() local
438 tmp_w = pix_mp->width; gsc_try_fmt_mplane()
443 if (tmp_w != pix_mp->width || tmp_h != pix_mp->height) gsc_try_fmt_mplane()
445 tmp_w, tmp_h, pix_mp->width, pix_mp->height); gsc_try_fmt_mplane()
496 void gsc_check_crop_change(u32 tmp_w, u32 tmp_h, u32 *w, u32 *h) gsc_check_crop_change() argument
498 if (tmp_w != *w || tmp_h != *h) { gsc_check_crop_change()
500 *w, *h, tmp_w, tmp_h); gsc_check_crop_change()
501 *w = tmp_w; gsc_check_crop_change()
524 u32 mod_x = 0, mod_y = 0, tmp_w, tmp_h; gsc_try_crop() local
542 tmp_w = cr->c.width; gsc_try_crop()
567 tmp_w = cr->c.height; gsc_try_crop()
576 pr_debug("tmp_w : %d, tmp_h : %d", tmp_w, tmp_h); gsc_try_crop()
578 v4l_bound_align_image(&tmp_w, min_w, max_w, mod_x, gsc_try_crop()
584 gsc_check_crop_change(tmp_h, tmp_w, gsc_try_crop()
587 gsc_check_crop_change(tmp_w, tmp_h, gsc_try_crop()
593 if (cr->c.left + tmp_w > max_w) gsc_try_crop()
594 cr->c.left = max_w - tmp_w; gsc_try_crop()
611 int tmp_w, tmp_h, sc_down_max; gsc_check_scaler_ratio() local
619 tmp_w = dh; gsc_check_scaler_ratio()
622 tmp_w = dw; gsc_check_scaler_ratio()
626 if ((sw / tmp_w) > sc_down_max || gsc_check_scaler_ratio()
628 (tmp_w / sw) > var->sc_up_max || gsc_check_scaler_ratio()
H A Dgsc-core.h397 void gsc_check_crop_change(u32 tmp_w, u32 tmp_h, u32 *w, u32 *h);
/linux-4.4.14/drivers/media/platform/soc_camera/
H A Dsoc_scale_crop.c223 unsigned int width = mf->width, height = mf->height, tmp_w, tmp_h; client_set_fmt() local
258 tmp_w = mf->width; client_set_fmt()
262 while ((width > tmp_w || height > tmp_h) && client_set_fmt()
263 tmp_w < max_width && tmp_h < max_height) { client_set_fmt()
264 tmp_w = min(2 * tmp_w, max_width); client_set_fmt()
266 mf->width = tmp_w; client_set_fmt()

Completed in 173 milliseconds