Home
last modified time | relevance | path

Searched refs:crop_rect (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/media/test-drivers/vimc/
Dvimc-scaler.c32 struct v4l2_rect crop_rect; member
163 struct v4l2_rect *crop_rect; in vimc_sca_get_fmt() local
168 crop_rect = v4l2_subdev_get_try_crop(sd, cfg, 0); in vimc_sca_get_fmt()
171 crop_rect = &vsca->crop_rect; in vimc_sca_get_fmt()
176 format->format.width = crop_rect->width * sca_mult; in vimc_sca_get_fmt()
177 format->format.height = crop_rect->height * sca_mult; in vimc_sca_get_fmt()
209 struct v4l2_rect *crop_rect; in vimc_sca_set_fmt() local
217 crop_rect = &vsca->crop_rect; in vimc_sca_set_fmt()
220 crop_rect = v4l2_subdev_get_try_crop(sd, cfg, 0); in vimc_sca_set_fmt()
229 fmt->format.width = crop_rect->width * sca_mult; in vimc_sca_set_fmt()
[all …]
/Linux-v5.10/drivers/media/platform/s5p-jpeg/
Djpeg-core.c1651 ct->crop_rect.width = pix->width; in s5p_jpeg_s_fmt()
1652 ct->crop_rect.height = pix->height; in s5p_jpeg_s_fmt()
1729 ctx->crop_rect.width = r->width; in exynos3250_jpeg_try_downscale()
1730 ctx->crop_rect.height = r->height; in exynos3250_jpeg_try_downscale()
1731 ctx->crop_rect.left = 0; in exynos3250_jpeg_try_downscale()
1732 ctx->crop_rect.top = 0; in exynos3250_jpeg_try_downscale()
1774 ctx->crop_rect.left = r->left; in exynos3250_jpeg_try_crop()
1775 ctx->crop_rect.top = r->top; in exynos3250_jpeg_try_crop()
1776 ctx->crop_rect.width = r->width; in exynos3250_jpeg_try_crop()
1777 ctx->crop_rect.height = r->height; in exynos3250_jpeg_try_crop()
[all …]
Djpeg-core.h233 struct v4l2_rect crop_rect; member
/Linux-v5.10/drivers/media/i2c/
Ds5k4ecgx.c745 const struct v4l2_rect *crop_rect = &priv->curr_frmsize->input_window; in __s5k4ecgx_s_params() local
748 ret = s5k4ecgx_set_input_window(client, crop_rect); in __s5k4ecgx_s_params()
750 ret = s5k4ecgx_set_zoom_window(client, crop_rect); in __s5k4ecgx_s_params()
/Linux-v5.10/drivers/media/platform/exynos4-is/
Dfimc-lite.c623 struct v4l2_rect *crop_rect = &fimc->inp_frame.rect; in fimc_lite_try_compose() local
627 r->width = crop_rect->width; in fimc_lite_try_compose()
628 r->height = crop_rect->height; in fimc_lite_try_compose()