Home
last modified time | relevance | path

Searched refs:tmp_w (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/media/platform/exynos-gsc/
Dgsc-core.c423 u32 min_w, min_h, tmp_w, tmp_h; in gsc_try_fmt_mplane() local
465 tmp_w = pix_mp->width; in gsc_try_fmt_mplane()
470 if (tmp_w != pix_mp->width || tmp_h != pix_mp->height) in gsc_try_fmt_mplane()
472 tmp_w, tmp_h, pix_mp->width, pix_mp->height); in gsc_try_fmt_mplane()
534 void gsc_check_crop_change(u32 tmp_w, u32 tmp_h, u32 *w, u32 *h) in gsc_check_crop_change() argument
536 if (tmp_w != *w || tmp_h != *h) { in gsc_check_crop_change()
538 *w, *h, tmp_w, tmp_h); in gsc_check_crop_change()
539 *w = tmp_w; in gsc_check_crop_change()
562 u32 mod_x = 0, mod_y = 0, tmp_w, tmp_h; in gsc_try_crop() local
580 tmp_w = cr->c.width; in gsc_try_crop()
[all …]
Dgsc-core.h394 void gsc_check_crop_change(u32 tmp_w, u32 tmp_h, u32 *w, u32 *h);
/Linux-v4.19/drivers/media/platform/soc_camera/
Dsoc_scale_crop.c236 unsigned int width = mf->width, height = mf->height, tmp_w, tmp_h; in client_set_fmt() local
272 tmp_w = mf->width; in client_set_fmt()
276 while ((width > tmp_w || height > tmp_h) && in client_set_fmt()
277 tmp_w < max_width && tmp_h < max_height) { in client_set_fmt()
278 tmp_w = min(2 * tmp_w, max_width); in client_set_fmt()
280 mf->width = tmp_w; in client_set_fmt()
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c863 int tmp_w, tmp_h; in mtk_mdp_check_scaler_ratio() local
866 tmp_w = dst_h; in mtk_mdp_check_scaler_ratio()
869 tmp_w = dst_w; in mtk_mdp_check_scaler_ratio()
873 if ((src_w / tmp_w) > var->h_scale_down_max || in mtk_mdp_check_scaler_ratio()
875 (tmp_w / src_w) > var->h_scale_up_max || in mtk_mdp_check_scaler_ratio()
/Linux-v4.19/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c305 int tmp_w, tmp_h; in vidioc_try_fmt() local
317 tmp_w = pix_fmt_mp->width; in vidioc_try_fmt()
326 if (pix_fmt_mp->width < tmp_w && in vidioc_try_fmt()
335 tmp_w, tmp_h, pix_fmt_mp->width, in vidioc_try_fmt()
Dmtk_vcodec_dec.c647 int tmp_w, tmp_h; in vidioc_try_fmt() local
662 tmp_w = pix_fmt_mp->width; in vidioc_try_fmt()
671 if (pix_fmt_mp->width < tmp_w && in vidioc_try_fmt()
680 tmp_w, tmp_h, pix_fmt_mp->width, in vidioc_try_fmt()