/linux/include/media/ |
H A D | v4l2-rect.h | 18 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 …]
|
H A D | vsp1.h | 60 struct v4l2_rect src; 61 struct v4l2_rect dst;
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-core.h | 75 extern const struct v4l2_rect vivid_min_rect; 76 extern const struct v4l2_rect vivid_max_rect; 491 struct v4l2_rect src_rect; 492 struct v4l2_rect fmt_cap_rect; 493 struct v4l2_rect crop_cap; 494 struct v4l2_rect compose_cap; 495 struct v4l2_rect crop_bounds_cap; 542 struct v4l2_rect sink_rect; 543 struct v4l2_rect fmt_out_rect; 544 struct v4l2_rect crop_out; [all …]
|
/linux/drivers/media/platform/ti/omap/ |
H A D | omap_voutlib.h | 16 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,
|
H A D | omap_voutlib.c | 44 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/drivers/media/test-drivers/vimc/ |
H A D | vimc-scaler.c | 40 struct v4l2_rect sink_crop; 53 static const struct v4l2_rect crop_rect_default = { 60 static const struct v4l2_rect crop_rect_min = { 67 static struct v4l2_rect 71 struct v4l2_rect r = { in vimc_scaler_get_crop_bound_sink() 84 struct v4l2_rect *r; in vimc_scaler_init_state() 189 struct v4l2_rect *crop; in vimc_scaler_set_fmt() 230 static void vimc_scaler_adjust_sink_crop(struct v4l2_rect *r, in vimc_scaler_adjust_sink_crop() 233 const struct v4l2_rect sink_rect = in vimc_scaler_adjust_sink_crop() 247 struct v4l2_rect *crop_rect; in vimc_scaler_set_selection() [all …]
|
/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_pipe.h | 66 struct v4l2_rect rpf[VSP1_MAX_RPF]; 67 struct v4l2_rect uds_sink; 68 struct v4l2_rect uds_source; 69 struct v4l2_rect sru; 70 struct v4l2_rect wpf;
|
H A D | vsp1_drm.h | 63 struct v4l2_rect crop; 64 struct v4l2_rect compose;
|
H A D | vsp1_rpf.c | 155 const struct v4l2_rect *compose; in rpf_configure_stream() 291 struct v4l2_rect crop = partition->rpf[rpf->entity.index]; in rpf_configure_partition() 353 struct v4l2_rect *window) in rpf_partition() 356 struct v4l2_rect *rpf_rect = &partition->rpf[rpf->entity.index]; in rpf_partition()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-common.c | 155 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()
|
H A D | rkisp1-resizer.c | 142 const struct v4l2_rect *sink_crop; in rkisp1_dcrop_config() 207 const struct v4l2_rect *sink_y, in rkisp1_rsz_config_regs() 208 const struct v4l2_rect *sink_c, in rkisp1_rsz_config_regs() 272 const struct v4l2_rect *sink_y; in rkisp1_rsz_config() 274 struct v4l2_rect sink_c; in rkisp1_rsz_config() 383 struct v4l2_rect *sink_crop; in rkisp1_rsz_init_state() 438 struct v4l2_rect *r) in rkisp1_rsz_set_sink_crop() 442 struct v4l2_rect *sink_crop; in rkisp1_rsz_set_sink_crop() 477 struct v4l2_rect *sink_crop; in rkisp1_rsz_set_sink_fmt()
|
H A D | rkisp1-isp.c | 178 const struct v4l2_rect *src_crop = in rkisp1_config_ism() 213 const struct v4l2_rect *sink_crop; in rkisp1_config_isp() 554 struct v4l2_rect *sink_crop, *src_crop; in rkisp1_isp_init_state() 610 const struct v4l2_rect *src_crop; in rkisp1_isp_set_src_fmt() 705 struct v4l2_rect *r) in rkisp1_isp_set_src_crop() 708 const struct v4l2_rect *sink_crop; in rkisp1_isp_set_src_crop() 709 struct v4l2_rect *src_crop; in rkisp1_isp_set_src_crop() 732 struct v4l2_rect *r) in rkisp1_isp_set_sink_crop() 734 struct v4l2_rect *sink_crop, *src_crop; in rkisp1_isp_set_sink_crop() 762 struct v4l2_rect *sink_crop; in rkisp1_isp_set_sink_fmt()
|
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-byteproc.c | 95 static const struct v4l2_rect crop_min = { 102 static void dcmipp_byteproc_adjust_crop(struct v4l2_rect *r, in dcmipp_byteproc_adjust_crop() 103 struct v4l2_rect *compose) in dcmipp_byteproc_adjust_crop() 110 static void dcmipp_byteproc_adjust_compose(struct v4l2_rect *r, in dcmipp_byteproc_adjust_compose() 169 struct v4l2_rect *r; in dcmipp_byteproc_init_state() 218 struct v4l2_rect *compose; in dcmipp_byteproc_enum_frame_size() 244 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_set_fmt() 278 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_get_selection() 332 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_set_selection() 401 struct v4l2_rect *compose, *crop; in dcmipp_byteproc_configure_scale_crop()
|
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3.h | 90 struct v4l2_rect eff; /* effective resolution */ 91 struct v4l2_rect bds; /* bayer-domain scaled resolution*/ 92 struct v4l2_rect gdc; /* gdc output resolution */
|
H A D | ipu3-css.h | 107 struct v4l2_rect rect[IPU3_CSS_RECTS]; 172 struct v4l2_rect *rects[IPU3_CSS_RECTS], 176 struct v4l2_rect *rects[IPU3_CSS_RECTS],
|
/linux/drivers/staging/media/starfive/camss/ |
H A D | stf-isp.c | 63 struct v4l2_rect *crop; in isp_set_stream() 173 static const struct v4l2_rect stf_frame_min_crop = { 182 struct v4l2_rect *crop) in isp_try_crop() 187 const struct v4l2_rect bounds = { in isp_try_crop() 203 struct v4l2_rect *rect; in isp_get_selection() 240 struct v4l2_rect *rect; in isp_set_selection()
|
/linux/include/uapi/linux/ |
H A D | ivtv.h | 56 struct v4l2_rect src; 57 struct v4l2_rect dst;
|
/linux/drivers/media/platform/ti/am437x/ |
H A D | am437x-vpfe.h | 137 struct v4l2_rect win; 166 struct v4l2_rect win; 269 struct v4l2_rect crop;
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.h | 299 struct v4l2_rect c; 312 struct v4l2_rect compose; 366 int mdp_try_crop(struct mdp_m2m_ctx *ctx, struct v4l2_rect *r, 368 int mdp_check_scaling_ratio(const struct v4l2_rect *crop, 369 const struct v4l2_rect *compose, s32 rotation,
|
/linux/drivers/media/i2c/ |
H A D | s5k5baf.c | 302 struct v4l2_rect crop_sink; 303 struct v4l2_rect compose; 304 struct v4l2_rect crop_source; 330 static struct v4l2_rect s5k5baf_cis_rect = { 841 static void s5k5baf_rescale(struct v4l2_rect *r, const struct v4l2_rect *v, in s5k5baf_rescale() 842 const struct v4l2_rect *n, in s5k5baf_rescale() 843 const struct v4l2_rect *d) in s5k5baf_rescale() 853 struct v4l2_rect *p, r; in s5k5baf_hw_set_crop_rects() 910 struct v4l2_rect *r = &state->crop_source; in s5k5baf_hw_set_config() 1442 static void s5k5baf_bound_rect(struct v4l2_rect *r, u32 width, u32 height) in s5k5baf_bound_rect() [all …]
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.h | 111 struct v4l2_rect request; 112 struct v4l2_rect active;
|
/linux/include/media/tpg/ |
H A D | v4l2-tpg.h | 143 struct v4l2_rect crop; 145 struct v4l2_rect compose; 147 struct v4l2_rect border; 148 struct v4l2_rect square; 254 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, 255 const struct v4l2_rect *compose);
|
/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 242 const struct v4l2_rect *compose; in mxc_isi_pipe_enable() 246 struct v4l2_rect crop; in mxc_isi_pipe_enable() 328 static struct v4l2_rect * 336 static struct v4l2_rect * 350 struct v4l2_rect *compose; in mxc_isi_pipe_init_state() 351 struct v4l2_rect *crop; in mxc_isi_pipe_init_state() 458 struct v4l2_rect *rect; in mxc_isi_pipe_set_fmt() 551 const struct v4l2_rect *rect; in mxc_isi_pipe_get_selection() 610 struct v4l2_rect *rect; in mxc_isi_pipe_set_selection()
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_subdev.c | 211 struct v4l2_rect *atomisp_subdev_get_rect(struct v4l2_subdev *sd, in atomisp_subdev_get_rect() 254 struct v4l2_rect *crop[ATOMISP_SUBDEV_PADS_NUM], in isp_get_fmt_rect() 255 struct v4l2_rect *comp[ATOMISP_SUBDEV_PADS_NUM]) in isp_get_fmt_rect() 272 struct v4l2_rect *rec; in isp_subdev_get_selection() 302 u32 flags, struct v4l2_rect *r) in atomisp_subdev_set_selection() 307 struct v4l2_rect *crop[ATOMISP_SUBDEV_PADS_NUM], in atomisp_subdev_set_selection() 358 struct v4l2_rect tmp = *crop[pad]; in atomisp_subdev_set_selection() 494 struct v4l2_rect r = {}; in atomisp_subdev_set_ffmt()
|
/linux/drivers/media/platform/ti/vpe/ |
H A D | vpdma.h | 244 int stride, const struct v4l2_rect *c_rect, 248 int stride, const struct v4l2_rect *c_rect, 253 int stride, const struct v4l2_rect *c_rect,
|