Home
last modified time | relevance | path

Searched refs:crop_rect (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
H A 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()
262 struct v4l2_rect *crop_rect; vimc_sca_get_selection() local
295 struct v4l2_rect *crop_rect; vimc_sca_set_selection() local
400 const struct v4l2_rect crop_rect = vsca->crop_rect; vimc_sca_scale_pix() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c29 struct v4l2_rect crop_rect; member
155 return &vscaler->crop_rect; in vimc_scaler_pad_crop()
277 struct v4l2_rect *crop_rect; in vimc_scaler_set_selection() local
286 crop_rect = vimc_scaler_pad_crop(vscaler, sd_state, sel->which); in vimc_scaler_set_selection()
290 *crop_rect = sel->r; in vimc_scaler_set_selection()
355 const struct v4l2_rect *r = &vscaler->crop_rect; in vimc_scaler_fill_src_frame()
436 vscaler->crop_rect = crop_rect_default; in vimc_scaler_add()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-jpeg/
H A Djpeg-core.c1643 * For decoding init crop_rect with capture buffer dimmensions which in s5p_jpeg_s_fmt()
1651 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 in exynos3250_jpeg_try_crop()
[all...]
H A Djpeg-core.h217 * @crop_rect: a rectangle representing crop area of the output buffer
233 struct v4l2_rect crop_rect; member
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c1641 * For decoding init crop_rect with capture buffer dimmensions which in s5p_jpeg_s_fmt()
1649 ct->crop_rect.width = pix->width; in s5p_jpeg_s_fmt()
1650 ct->crop_rect.height = pix->height; in s5p_jpeg_s_fmt()
1727 ctx->crop_rect.width = r->width; in exynos3250_jpeg_try_downscale()
1728 ctx->crop_rect.height = r->height; in exynos3250_jpeg_try_downscale()
1729 ctx->crop_rect.left = 0; in exynos3250_jpeg_try_downscale()
1730 ctx->crop_rect.top = 0; in exynos3250_jpeg_try_downscale()
1772 ctx->crop_rect.left = r->left; in exynos3250_jpeg_try_crop()
1773 ctx->crop_rect.top = r->top; in exynos3250_jpeg_try_crop()
1774 ctx->crop_rect in exynos3250_jpeg_try_crop()
[all...]
H A Djpeg-core.h209 * @crop_rect: a rectangle representing crop area of the output buffer
225 struct v4l2_rect crop_rect; member
/kernel/linux/linux-5.10/drivers/media/i2c/
H A 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()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
H A Dfimc-lite.c624 struct v4l2_rect *crop_rect = &fimc->inp_frame.rect; in fimc_lite_try_compose() local
628 r->width = crop_rect->width; in fimc_lite_try_compose()
629 r->height = crop_rect->height; in fimc_lite_try_compose()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-lite.c626 struct v4l2_rect *crop_rect = &fimc->inp_frame.rect; in fimc_lite_try_compose() local
630 r->width = crop_rect->width; in fimc_lite_try_compose()
631 r->height = crop_rect->height; in fimc_lite_try_compose()

Completed in 14 milliseconds