Home
last modified time | relevance | path

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

1234567

/linux/include/media/
H A 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 …]
H A Dvsp1.h60 struct v4l2_rect src;
61 struct v4l2_rect dst;
/linux/drivers/media/test-drivers/vivid/
H A Dvivid-core.h75 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 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,
H A 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/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c40 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 Dvsp1_pipe.h66 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 Dvsp1_drm.h63 struct v4l2_rect crop;
64 struct v4l2_rect compose;
H A Dvsp1_rpf.c155 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 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()
H A Drkisp1-resizer.c142 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 Drkisp1-isp.c178 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 Ddcmipp-byteproc.c95 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 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 */
H A 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/drivers/staging/media/starfive/camss/
H A Dstf-isp.c63 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 Divtv.h56 struct v4l2_rect src;
57 struct v4l2_rect dst;
/linux/drivers/media/platform/ti/am437x/
H A Dam437x-vpfe.h137 struct v4l2_rect win;
166 struct v4l2_rect win;
269 struct v4l2_rect crop;
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.h299 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 Ds5k5baf.c302 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 Dispresizer.h111 struct v4l2_rect request;
112 struct v4l2_rect active;
/linux/include/media/tpg/
H A Dv4l2-tpg.h143 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 Dimx8-isi-pipe.c242 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 Datomisp_subdev.c211 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 Dvpdma.h244 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,

1234567