Home
last modified time | relevance | path

Searched refs:v4l2_rect (Results 1 – 25 of 175) sorted by relevance

1234567

/linux-6.1.9/include/media/
Dv4l2-rect.h18 static inline void v4l2_rect_set_size_to(struct v4l2_rect *r, in v4l2_rect_set_size_to()
19 const struct v4l2_rect *size) in v4l2_rect_set_size_to()
30 static inline void v4l2_rect_set_min_size(struct v4l2_rect *r, in v4l2_rect_set_min_size()
31 const struct v4l2_rect *min_size) in v4l2_rect_set_min_size()
44 static inline void v4l2_rect_set_max_size(struct v4l2_rect *r, in v4l2_rect_set_max_size()
45 const struct v4l2_rect *max_size) in v4l2_rect_set_max_size()
58 static inline void v4l2_rect_map_inside(struct v4l2_rect *r, in v4l2_rect_map_inside()
59 const struct v4l2_rect *boundary) in v4l2_rect_map_inside()
79 static inline bool v4l2_rect_same_size(const struct v4l2_rect *r1, in v4l2_rect_same_size()
80 const struct v4l2_rect *r2) in v4l2_rect_same_size()
[all …]
Dvsp1.h60 struct v4l2_rect src;
61 struct v4l2_rect dst;
/linux-6.1.9/drivers/media/platform/ti/omap/
Domap_voutlib.h16 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop);
19 struct v4l2_rect *crop, struct v4l2_window *win,
21 const struct v4l2_rect *new_crop);
26 int omap_vout_new_window(struct v4l2_rect *crop,
31 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop,
Domap_voutlib.c44 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop) in omap_vout_default_crop()
66 struct v4l2_rect try_win; in omap_vout_try_window()
115 int omap_vout_new_window(struct v4l2_rect *crop, in omap_vout_new_window()
170 struct v4l2_rect *crop, struct v4l2_window *win, in omap_vout_new_crop()
171 struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) in omap_vout_new_crop()
173 struct v4l2_rect try_crop; in omap_vout_new_crop()
286 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, in omap_vout_new_format()
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-core.h55 extern const struct v4l2_rect vivid_min_rect;
56 extern const struct v4l2_rect vivid_max_rect;
402 struct v4l2_rect src_rect;
403 struct v4l2_rect fmt_cap_rect;
404 struct v4l2_rect crop_cap;
405 struct v4l2_rect compose_cap;
406 struct v4l2_rect crop_bounds_cap;
453 struct v4l2_rect sink_rect;
454 struct v4l2_rect fmt_out_rect;
455 struct v4l2_rect crop_out;
[all …]
Dvivid-vid-out.c384 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out()
389 struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h }; in vivid_try_fmt_vid_out()
452 struct v4l2_rect *crop = &dev->crop_out; in vivid_s_fmt_vid_out()
453 struct v4l2_rect *compose = &dev->compose_out; in vivid_s_fmt_vid_out()
485 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
493 struct v4l2_rect min_r = { in vivid_s_fmt_vid_out()
498 struct v4l2_rect max_r = { in vivid_s_fmt_vid_out()
508 struct v4l2_rect min_r = { in vivid_s_fmt_vid_out()
513 struct v4l2_rect max_r = { in vivid_s_fmt_vid_out()
544 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out()
[all …]
Dvivid-vid-cap.c614 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_cap()
619 struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h }; in vivid_try_fmt_vid_cap()
688 struct v4l2_rect *crop = &dev->crop_cap; in vivid_s_fmt_vid_cap()
689 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap()
717 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_cap()
725 struct v4l2_rect min_r = { in vivid_s_fmt_vid_cap()
730 struct v4l2_rect max_r = { in vivid_s_fmt_vid_cap()
740 struct v4l2_rect min_r = { in vivid_s_fmt_vid_cap()
745 struct v4l2_rect max_r = { in vivid_s_fmt_vid_cap()
786 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_cap()
[all …]
/linux-6.1.9/drivers/media/test-drivers/vimc/
Dvimc-scaler.c29 struct v4l2_rect crop_rect;
46 static const struct v4l2_rect crop_rect_default = {
53 static const struct v4l2_rect crop_rect_min = {
60 static struct v4l2_rect
64 struct v4l2_rect r = { in vimc_scaler_get_crop_bound_sink()
77 struct v4l2_rect *r; in vimc_scaler_init_cfg()
146 static struct v4l2_rect *
216 struct v4l2_rect *crop; in vimc_scaler_set_fmt()
260 static void vimc_scaler_adjust_sink_crop(struct v4l2_rect *r, in vimc_scaler_adjust_sink_crop()
263 const struct v4l2_rect sink_rect = in vimc_scaler_adjust_sink_crop()
[all …]
/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/
Drkisp1-common.c155 static const struct v4l2_rect rkisp1_sd_min_crop = {
162 void rkisp1_sd_adjust_crop_rect(struct v4l2_rect *crop, in rkisp1_sd_adjust_crop_rect()
163 const struct v4l2_rect *bounds) in rkisp1_sd_adjust_crop_rect()
169 void rkisp1_sd_adjust_crop(struct v4l2_rect *crop, in rkisp1_sd_adjust_crop()
172 struct v4l2_rect crop_bounds = { in rkisp1_sd_adjust_crop()
Drkisp1-resizer.c134 static struct v4l2_rect *
172 struct v4l2_rect *sink_crop; in rkisp1_dcrop_config()
239 struct v4l2_rect *sink_y, in rkisp1_rsz_config_regs()
240 struct v4l2_rect *sink_c, in rkisp1_rsz_config_regs()
241 struct v4l2_rect *src_y, in rkisp1_rsz_config_regs()
242 struct v4l2_rect *src_c, in rkisp1_rsz_config_regs()
302 struct v4l2_rect sink_y, sink_c, src_y, src_c; in rkisp1_rsz_config()
304 struct v4l2_rect *sink_crop; in rkisp1_rsz_config()
406 struct v4l2_rect *sink_crop; in rkisp1_rsz_init_config()
466 struct v4l2_rect *r, in rkisp1_rsz_set_sink_crop()
[all …]
Drkisp1-isp.c75 static struct v4l2_rect *
101 const struct v4l2_rect *src_crop = in rkisp1_config_ism()
135 const struct v4l2_rect *sink_crop; in rkisp1_config_isp()
436 struct v4l2_rect *sink_crop, *src_crop; in rkisp1_isp_init_config()
493 const struct v4l2_rect *src_crop; in rkisp1_isp_set_src_fmt()
592 struct v4l2_rect *r, unsigned int which) in rkisp1_isp_set_src_crop()
595 const struct v4l2_rect *sink_crop; in rkisp1_isp_set_src_crop()
596 struct v4l2_rect *src_crop; in rkisp1_isp_set_src_crop()
621 struct v4l2_rect *r, unsigned int which) in rkisp1_isp_set_sink_crop()
623 struct v4l2_rect *sink_crop, *src_crop; in rkisp1_isp_set_sink_crop()
[all …]
/linux-6.1.9/include/uapi/linux/
Divtv.h56 struct v4l2_rect src;
57 struct v4l2_rect dst;
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3.h90 struct v4l2_rect eff; /* effective resolution */
91 struct v4l2_rect bds; /* bayer-domain scaled resolution*/
92 struct v4l2_rect gdc; /* gdc output resolution */
Dipu3-css.h107 struct v4l2_rect rect[IPU3_CSS_RECTS];
172 struct v4l2_rect *rects[IPU3_CSS_RECTS],
176 struct v4l2_rect *rects[IPU3_CSS_RECTS],
/linux-6.1.9/drivers/media/platform/renesas/vsp1/
Dvsp1_drm.h61 struct v4l2_rect crop;
62 struct v4l2_rect compose;
/linux-6.1.9/drivers/media/platform/ti/am437x/
Dam437x-vpfe.h137 struct v4l2_rect win;
166 struct v4l2_rect win;
269 struct v4l2_rect crop;
/linux-6.1.9/drivers/media/common/
Dbtcx-risc.h22 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
24 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
/linux-6.1.9/drivers/media/pci/bt8xx/
Dbtcx-risc.h20 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
22 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
/linux-6.1.9/drivers/staging/media/deprecated/vpfe_capture/
Dccdc_hw_device.h54 int (*set_image_window) (struct v4l2_rect *win);
56 void (*get_image_window) (struct v4l2_rect *win);
Ddm644x_ccdc.h132 struct v4l2_rect win;
156 struct v4l2_rect win;
/linux-6.1.9/drivers/media/platform/renesas/rcar-vin/
Drcar-vin.h248 struct v4l2_rect crop;
249 struct v4l2_rect compose;
250 struct v4l2_rect src_rect;
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.h298 struct v4l2_rect c;
311 struct v4l2_rect compose;
362 int mdp_try_crop(struct mdp_m2m_ctx *ctx, struct v4l2_rect *r,
364 int mdp_check_scaling_ratio(const struct v4l2_rect *crop,
365 const struct v4l2_rect *compose, s32 rotation,
/linux-6.1.9/drivers/media/platform/ti/omap3isp/
Dispresizer.h111 struct v4l2_rect request;
112 struct v4l2_rect active;
/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_subdev.h115 struct v4l2_rect crop;
116 struct v4l2_rect compose;
387 struct v4l2_rect *atomisp_subdev_get_rect(struct v4l2_subdev *sd,
394 u32 flags, struct v4l2_rect *r);
/linux-6.1.9/drivers/media/i2c/
Ds5k5baf.c308 struct v4l2_rect crop_sink;
309 struct v4l2_rect compose;
310 struct v4l2_rect crop_source;
336 static struct v4l2_rect s5k5baf_cis_rect = {
847 static void s5k5baf_rescale(struct v4l2_rect *r, const struct v4l2_rect *v, in s5k5baf_rescale()
848 const struct v4l2_rect *n, in s5k5baf_rescale()
849 const struct v4l2_rect *d) in s5k5baf_rescale()
859 struct v4l2_rect *p, r; in s5k5baf_hw_set_crop_rects()
916 struct v4l2_rect *r = &state->crop_source; in s5k5baf_hw_set_config()
1436 static void s5k5baf_bound_rect(struct v4l2_rect *r, u32 width, u32 height) in s5k5baf_bound_rect()
[all …]

1234567