/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-vid-common.h | 40 bool rect_overlap(const struct v4l2_rect *r1, const struct v4l2_rect *r2); 41 void rect_set_size_to(struct v4l2_rect *r, const struct v4l2_rect *size); 42 void rect_set_min_size(struct v4l2_rect *r, const struct v4l2_rect *min_size); 43 void rect_set_max_size(struct v4l2_rect *r, const struct v4l2_rect *max_size); 44 void rect_map_inside(struct v4l2_rect *r, const struct v4l2_rect *boundary); 45 bool rect_same_size(const struct v4l2_rect *r1, const struct v4l2_rect *r2); 46 struct v4l2_rect rect_intersect(const struct v4l2_rect *a, const struct v4l2_rect *b); 47 void rect_scale(struct v4l2_rect *r, const struct v4l2_rect *from, 48 const struct v4l2_rect *to); 49 int vivid_vid_adjust_sel(unsigned flags, struct v4l2_rect *r);
|
D | vivid-core.h | 75 extern const struct v4l2_rect vivid_min_rect; 76 extern const struct v4l2_rect vivid_max_rect; 369 struct v4l2_rect src_rect; 370 struct v4l2_rect fmt_cap_rect; 371 struct v4l2_rect crop_cap; 372 struct v4l2_rect compose_cap; 373 struct v4l2_rect crop_bounds_cap; 397 struct v4l2_rect sink_rect; 398 struct v4l2_rect fmt_out_rect; 399 struct v4l2_rect crop_out; [all …]
|
D | vivid-vid-common.c | 597 void rect_set_size_to(struct v4l2_rect *r, const struct v4l2_rect *size) in rect_set_size_to() 604 void rect_set_min_size(struct v4l2_rect *r, const struct v4l2_rect *min_size) in rect_set_min_size() 613 void rect_set_max_size(struct v4l2_rect *r, const struct v4l2_rect *max_size) in rect_set_max_size() 622 void rect_map_inside(struct v4l2_rect *r, const struct v4l2_rect *boundary) in rect_map_inside() 636 bool rect_same_size(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in rect_same_size() 642 struct v4l2_rect rect_intersect(const struct v4l2_rect *a, const struct v4l2_rect *b) in rect_intersect() 644 struct v4l2_rect r; in rect_intersect() 660 void rect_scale(struct v4l2_rect *r, const struct v4l2_rect *from, in rect_scale() 661 const struct v4l2_rect *to) in rect_scale() 673 bool rect_overlap(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in rect_overlap() [all …]
|
D | vivid-vid-out.c | 375 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_out() 380 struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h }; in vivid_try_fmt_vid_out() 436 struct v4l2_rect *crop = &dev->crop_out; in vivid_s_fmt_vid_out() 437 struct v4l2_rect *compose = &dev->compose_out; in vivid_s_fmt_vid_out() 469 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out() 477 struct v4l2_rect min_r = { in vivid_s_fmt_vid_out() 482 struct v4l2_rect max_r = { in vivid_s_fmt_vid_out() 492 struct v4l2_rect min_r = { in vivid_s_fmt_vid_out() 497 struct v4l2_rect max_r = { in vivid_s_fmt_vid_out() 528 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_out() [all …]
|
D | vivid-vid-cap.c | 583 struct v4l2_rect r = { 0, 0, mp->width, mp->height * factor }; in vivid_try_fmt_vid_cap() 588 struct v4l2_rect max_r = { 0, 0, MAX_ZOOM * w, MAX_ZOOM * h }; in vivid_try_fmt_vid_cap() 629 struct v4l2_rect *crop = &dev->crop_cap; in vivid_s_fmt_vid_cap() 630 struct v4l2_rect *compose = &dev->compose_cap; in vivid_s_fmt_vid_cap() 658 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_cap() 666 struct v4l2_rect min_r = { in vivid_s_fmt_vid_cap() 671 struct v4l2_rect max_r = { in vivid_s_fmt_vid_cap() 681 struct v4l2_rect min_r = { in vivid_s_fmt_vid_cap() 686 struct v4l2_rect max_r = { in vivid_s_fmt_vid_cap() 727 struct v4l2_rect r = { 0, 0, mp->width, mp->height }; in vivid_s_fmt_vid_cap() [all …]
|
D | vivid-tpg.h | 106 struct v4l2_rect crop; 108 struct v4l2_rect compose; 110 struct v4l2_rect border; 111 struct v4l2_rect square; 207 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, 208 const struct v4l2_rect *compose);
|
D | vivid-kthread-cap.c | 84 struct v4l2_rect *r = &dev->clips_out[i].c; in copy_pix() 178 struct v4l2_rect r_fb = { in vivid_precalc_copy_rects() 182 struct v4l2_rect r_overlay = { in vivid_precalc_copy_rects() 585 struct v4l2_rect *r = &dev->clips_cap[i].c; in valid_pix()
|
D | vivid-osd.c | 279 struct v4l2_rect start_window; in vivid_fb_init_vidmode()
|
D | vivid-tpg.c | 368 void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop, in tpg_s_crop_compose() 369 const struct v4l2_rect *compose) in tpg_s_crop_compose() 1760 const struct v4l2_rect *sq = &tpg->square; in tpg_fill_plane_extras() 1761 const struct v4l2_rect *b = &tpg->border; in tpg_fill_plane_extras() 1762 const struct v4l2_rect *c = &tpg->crop; in tpg_fill_plane_extras()
|
D | vivid-core.c | 155 const struct v4l2_rect vivid_min_rect = { 159 const struct v4l2_rect vivid_max_rect = {
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.h | 22 struct v4l2_rect; 33 int soc_camera_client_g_rect(struct v4l2_subdev *sd, struct v4l2_rect *rect); 36 struct v4l2_rect *target_rect, struct v4l2_rect *subrect); 38 struct v4l2_rect *rect, struct v4l2_rect *subrect, 43 struct v4l2_rect *rect, struct v4l2_rect *subrect,
|
D | soc_scale_crop.c | 27 static bool is_smaller(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in is_smaller() 33 static bool is_inside(const struct v4l2_rect *r1, const struct v4l2_rect *r2) in is_inside() 41 int soc_camera_client_g_rect(struct v4l2_subdev *sd, struct v4l2_rect *rect) in soc_camera_client_g_rect() 67 static void update_subrect(struct v4l2_rect *rect, struct v4l2_rect *subrect) in update_subrect() 98 struct v4l2_rect *target_rect, struct v4l2_rect *subrect) in soc_camera_client_s_crop() 100 struct v4l2_rect *rect = &crop->c, *cam_rect = &cam_crop->c; in soc_camera_client_s_crop() 216 struct v4l2_rect *rect, struct v4l2_rect *subrect, in client_s_fmt() 306 struct v4l2_rect *rect, struct v4l2_rect *subrect, in soc_camera_client_scale() 359 struct v4l2_rect *rect, struct v4l2_rect *subrect, in soc_camera_calc_client_output()
|
D | rcar_vin.c | 517 struct v4l2_rect subrect; 519 struct v4l2_rect rect; 1047 struct v4l2_rect *cam_subrect = &cam->subrect; in rcar_vin_set_rect() 1345 struct v4l2_rect rect; in rcar_vin_get_formats() 1465 const struct v4l2_rect *rect = &a_writable.c; in rcar_vin_set_crop() 1470 struct v4l2_rect *cam_rect = &cam_crop.c; in rcar_vin_set_crop()
|
D | sh_mobile_ceu_camera.c | 148 struct v4l2_rect subrect; 150 struct v4l2_rect rect; 1074 struct v4l2_rect rect; in sh_mobile_ceu_get_formats() 1209 const struct v4l2_rect *rect = &a_writable.c; in sh_mobile_ceu_set_crop() 1215 struct v4l2_rect *cam_rect = &cam_crop.c; in sh_mobile_ceu_set_crop()
|
D | mx3_camera.c | 800 struct v4l2_rect *rect = &a_writable.c; in mx3_camera_set_crop()
|
D | omap1_camera.c | 1218 const struct v4l2_rect *rect = &crop->c; in omap1_cam_set_crop()
|
D | mx2_camera.c | 913 struct v4l2_rect *rect = &a_writable.c; in mx2_camera_set_crop()
|
D | pxa_camera.c | 1340 const struct v4l2_rect *rect = &a->c; in pxa_camera_set_crop()
|
D | soc_camera.c | 1044 const struct v4l2_rect *rect = &a->c; in soc_camera_s_crop()
|
/linux-4.1.27/drivers/media/platform/omap/ |
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,
|
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() 111 int omap_vout_new_window(struct v4l2_rect *crop, in omap_vout_new_window() 166 struct v4l2_rect *crop, struct v4l2_window *win, in omap_vout_new_crop() 167 struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) in omap_vout_new_crop() 169 struct v4l2_rect try_crop; in omap_vout_new_crop() 282 struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, in omap_vout_new_format()
|
D | omap_voutdef.h | 145 struct v4l2_rect crop;
|
D | omap_vout_vrfb.c | 297 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_vrfb_offset()
|
D | omap_vout.c | 291 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_offset()
|
/linux-4.1.27/include/uapi/linux/ |
D | ivtv.h | 55 struct v4l2_rect src; 56 struct v4l2_rect dst;
|
D | v4l2-subdev.h | 63 struct v4l2_rect rect; 153 struct v4l2_rect r;
|
D | videodev2.h | 289 struct v4l2_rect { struct 880 struct v4l2_rect c; 885 struct v4l2_rect w; 924 struct v4l2_rect bounds; 925 struct v4l2_rect defrect; 931 struct v4l2_rect c; 951 struct v4l2_rect r;
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | dm365_isif.h | 75 struct v4l2_rect win; 122 struct v4l2_rect win; 188 struct v4l2_rect crop;
|
D | dm365_isif.c | 197 struct v4l2_rect *win = &isif->crop; in isif_set_image_window() 760 isif_setwin(struct vpfe_isif_device *isif, struct v4l2_rect *image_win, in isif_setwin() 1578 struct v4l2_rect *rect; in isif_pad_set_selection() 1606 struct v4l2_rect *rect; in isif_pad_get_selection()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | btcx-risc.h | 19 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, 21 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
|
D | bttvp.h | 168 struct v4l2_rect crop; 182 struct v4l2_rect w; 205 struct v4l2_rect rect;
|
D | btcx-risc.c | 88 btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, in btcx_screen_clips() 127 btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, unsigned int n, int mask) in btcx_align()
|
D | bttv-risc.c | 386 const struct v4l2_rect * crop) in bttv_calc_geo()
|
D | bttv-driver.c | 1943 const struct v4l2_rect * b, in bttv_crop_adjust() 1999 const struct v4l2_rect *b; in limit_scaled_size_lock() 2846 const struct v4l2_rect *b; in bttv_s_crop()
|
/linux-4.1.27/drivers/media/common/ |
D | btcx-risc.h | 21 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, 23 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
|
/linux-4.1.27/drivers/media/platform/am437x/ |
D | am437x-vpfe.h | 153 struct v4l2_rect win; 182 struct v4l2_rect win; 263 struct v4l2_rect crop;
|
D | am437x-vpfe.c | 334 struct v4l2_rect *image_win, in vpfe_ccdc_setwin() 826 struct v4l2_rect *win, unsigned int bpp) in vpfe_ccdc_set_image_window() 843 struct v4l2_rect *win) in vpfe_ccdc_get_image_window() 1011 struct v4l2_rect image_win; in vpfe_get_ccdc_image_format() 1904 struct v4l2_rect image_win; in vpfe_calculate_offsets() 2138 static int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) in enclosed_rectangle() 2156 struct v4l2_rect cr = vpfe->crop; in vpfe_s_selection() 2157 struct v4l2_rect r = s->r; in vpfe_s_selection()
|
/linux-4.1.27/drivers/media/platform/davinci/ |
D | ccdc_hw_device.h | 77 int (*set_image_window) (struct v4l2_rect *win); 79 void (*get_image_window) (struct v4l2_rect *win);
|
D | dm355_ccdc.c | 223 static void ccdc_setwin(struct v4l2_rect *image_win, in ccdc_setwin() 856 static int ccdc_set_image_window(struct v4l2_rect *win) in ccdc_set_image_window() 865 static void ccdc_get_image_window(struct v4l2_rect *win) in ccdc_get_image_window()
|
D | dm644x_ccdc.c | 133 static void ccdc_setwin(struct v4l2_rect *image_win, in ccdc_setwin() 765 static int ccdc_set_image_window(struct v4l2_rect *win) in ccdc_set_image_window() 774 static void ccdc_get_image_window(struct v4l2_rect *win) in ccdc_get_image_window()
|
D | isif.c | 283 static void isif_setwin(struct v4l2_rect *image_win, in isif_setwin() 794 static int isif_set_image_window(struct v4l2_rect *win) in isif_set_image_window() 810 static void isif_get_image_window(struct v4l2_rect *win) in isif_get_image_window()
|
D | vpbe_display.c | 550 struct v4l2_rect *c) in vpbe_disp_check_window_params() 661 struct v4l2_rect rect = crop->c; in vpbe_display_s_crop() 728 struct v4l2_rect *rect = &crop->c; in vpbe_display_g_crop()
|
D | vpfe_capture.c | 294 struct v4l2_rect image_win; in vpfe_get_ccdc_image_format() 1452 struct v4l2_rect image_win; in vpfe_calculate_offsets() 1638 struct v4l2_rect rect = crop->c; in vpfe_s_crop()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispresizer.h | 114 struct v4l2_rect request; 115 struct v4l2_rect active;
|
D | isppreview.h | 127 struct v4l2_rect crop;
|
D | ispccdc.h | 134 struct v4l2_rect crop;
|
D | ispresizer.c | 135 static struct v4l2_rect * 781 struct v4l2_rect *input, in resizer_calc_ratios() 1186 struct v4l2_rect *crop) in resizer_try_crop() 1383 struct v4l2_rect crop; in resizer_try_format() 1504 struct v4l2_rect *crop; in resizer_set_format()
|
D | ispccdc.c | 1121 const struct v4l2_rect *crop; in ccdc_configure() 1947 static struct v4l2_rect * 1973 struct v4l2_rect *crop; in ccdc_try_format() 2077 struct v4l2_rect *crop) in ccdc_try_crop() 2339 struct v4l2_rect *crop; in ccdc_set_format()
|
D | isppreview.c | 1698 static struct v4l2_rect * 1744 struct v4l2_rect *crop; in preview_try_format() 1823 struct v4l2_rect *crop) in preview_try_crop() 2046 struct v4l2_rect *crop; in preview_set_format()
|
/linux-4.1.27/include/media/davinci/ |
D | dm644x_ccdc.h | 157 struct v4l2_rect win; 181 struct v4l2_rect win;
|
D | dm355_ccdc.h | 266 struct v4l2_rect win; 296 struct v4l2_rect win;
|
D | isif.h | 460 struct v4l2_rect win; 497 struct v4l2_rect win;
|
D | vpfe_capture.h | 152 struct v4l2_rect crop;
|
/linux-4.1.27/drivers/media/i2c/smiapp/ |
D | smiapp.h | 166 struct v4l2_rect sink_fmt; 167 struct v4l2_rect crop[2]; 168 struct v4l2_rect compose; /* compose on sink */
|
D | smiapp-core.c | 1622 struct v4l2_rect *r; in __smiapp_get_format() 1654 struct v4l2_rect **crops, in smiapp_get_crop_compose() 1655 struct v4l2_rect **comps, int which) in smiapp_get_crop_compose() 1688 struct v4l2_rect *comp, *crops[SMIAPP_PADS]; in smiapp_propagate() 1791 struct v4l2_rect *crops[SMIAPP_PADS]; in smiapp_set_format() 1883 struct v4l2_rect **crops, in smiapp_set_compose_binner() 1884 struct v4l2_rect *comp) in smiapp_set_compose_binner() 1931 struct v4l2_rect **crops, in smiapp_set_compose_scaler() 1932 struct v4l2_rect *comp) in smiapp_set_compose_scaler() 2050 struct v4l2_rect *comp, *crops[SMIAPP_PADS]; in smiapp_set_compose() [all …]
|
/linux-4.1.27/drivers/media/i2c/ |
D | s5k5baf.c | 312 struct v4l2_rect crop_sink; 313 struct v4l2_rect compose; 314 struct v4l2_rect crop_source; 340 static struct v4l2_rect s5k5baf_cis_rect = { 851 static void s5k5baf_rescale(struct v4l2_rect *r, const struct v4l2_rect *v, in s5k5baf_rescale() 852 const struct v4l2_rect *n, in s5k5baf_rescale() 853 const struct v4l2_rect *d) in s5k5baf_rescale() 863 struct v4l2_rect *p, r; in s5k5baf_hw_set_crop_rects() 920 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 …]
|
D | mt9v032.c | 239 struct v4l2_rect crop; 296 struct v4l2_rect *crop = &mt9v032->crop; in mt9v032_update_hblank() 390 static struct v4l2_rect * 410 struct v4l2_rect *crop = &mt9v032->crop; in mt9v032_s_stream() 520 struct v4l2_rect *__crop; in mt9v032_set_format() 577 struct v4l2_rect *__crop; in mt9v032_set_selection() 578 struct v4l2_rect rect; in mt9v032_set_selection() 814 struct v4l2_rect *crop; in mt9v032_open()
|
D | mt9t001.c | 129 struct v4l2_rect crop; 260 static struct v4l2_rect * 281 struct v4l2_rect *crop = &mt9t001->crop; in mt9t001_s_stream() 372 struct v4l2_rect *__crop; in mt9t001_set_format() 423 struct v4l2_rect *__crop; in mt9t001_set_selection() 424 struct v4l2_rect rect; in mt9t001_set_selection() 791 struct v4l2_rect *crop; in mt9t001_open()
|
D | mt9p031.c | 125 struct v4l2_rect crop; /* Sensor window */ 387 const struct v4l2_rect *crop = &mt9p031->crop; in mt9p031_set_params() 521 static struct v4l2_rect * 552 struct v4l2_rect *__crop; in mt9p031_set_format() 603 struct v4l2_rect *__crop; in mt9p031_set_selection() 604 struct v4l2_rect rect; in mt9p031_set_selection() 947 struct v4l2_rect *crop; in mt9p031_open()
|
D | mt9m032.c | 163 struct v4l2_rect crop; 196 struct v4l2_rect *crop = &sensor->crop; in mt9m032_update_timing() 353 static struct v4l2_rect * 447 struct v4l2_rect *__crop; in mt9m032_set_pad_selection() 448 struct v4l2_rect rect; in mt9m032_set_pad_selection()
|
D | s5k6aa.c | 256 struct v4l2_rect ccd_rect; 652 struct v4l2_rect *r = &s5k6aa->ccd_rect; in s5k6aa_set_input_params() 1058 static struct v4l2_rect * 1117 struct v4l2_rect *crop; in s5k6aa_set_fmt() 1169 struct v4l2_rect *rect; in s5k6aa_get_selection() 1194 struct v4l2_rect *crop_r; in s5k6aa_set_selection() 1428 struct v4l2_rect *crop = v4l2_subdev_get_try_crop(sd, fh->pad, 0); in s5k6aa_open()
|
D | s5k4ecgx.c | 123 struct v4l2_rect input_window; 382 const struct v4l2_rect *r) in s5k4ecgx_set_input_window() 407 const struct v4l2_rect *r) in s5k4ecgx_set_zoom_window() 751 const struct v4l2_rect *crop_rect = &priv->curr_frmsize->input_window; in __s5k4ecgx_s_params()
|
D | tvp5150.c | 38 struct v4l2_rect rect; 854 struct v4l2_rect rect = a->c; in tvp5150_s_crop()
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_rwpf.c | 75 static struct v4l2_rect * 104 struct v4l2_rect *crop; in vsp1_rwpf_set_format() 186 struct v4l2_rect *crop; in vsp1_rwpf_set_selection()
|
D | vsp1_bru.h | 35 struct v4l2_rect compose;
|
D | vsp1_bru.c | 232 static struct v4l2_rect *bru_get_compose(struct vsp1_bru *bru, in bru_get_compose() 299 struct v4l2_rect *compose; in bru_set_format() 354 struct v4l2_rect *compose; in bru_set_selection()
|
D | vsp1_rwpf.h | 39 struct v4l2_rect crop;
|
D | vsp1_wpf.c | 79 const struct v4l2_rect *crop = &wpf->crop; in wpf_s_stream()
|
D | vsp1_rpf.c | 80 const struct v4l2_rect *crop = &rpf->crop; in rpf_s_stream()
|
D | vsp1_video.c | 339 struct v4l2_rect *rect = in vsp1_pipeline_validate_branch()
|
/linux-4.1.27/drivers/media/platform/ti-vpe/ |
D | vpdma.h | 190 const struct v4l2_rect *c_rect, 194 const struct v4l2_rect *c_rect,
|
D | vpdma.c | 627 const struct v4l2_rect *c_rect, in vpdma_add_out_dtd() 635 struct v4l2_rect rect = *c_rect; in vpdma_add_out_dtd() 698 const struct v4l2_rect *c_rect, in vpdma_add_in_dtd() 707 struct v4l2_rect rect = *c_rect; in vpdma_add_in_dtd()
|
D | vpe.c | 318 struct v4l2_rect c_rect; /* crop/compose rectangle */
|
/linux-4.1.27/include/video/ |
D | imx-ipu-v3.h | 176 struct v4l2_rect rect; 273 void ipu_csi_get_window(struct ipu_csi *csi, struct v4l2_rect *w); 274 void ipu_csi_set_window(struct ipu_csi *csi, struct v4l2_rect *w);
|
/linux-4.1.27/include/media/ |
D | v4l2-subdev.h | 491 struct v4l2_rect try_crop; 492 struct v4l2_rect try_compose; 662 __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_crop, try_crop) 663 __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_compose, try_compose)
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
D | camif-core.h | 124 struct v4l2_rect rect; 271 struct v4l2_rect camif_crop;
|
D | camif-capture.c | 735 struct v4l2_rect *crop = &camif->camif_crop; in __camif_video_try_format() 1025 struct v4l2_rect *r) in __camif_try_compose() 1041 struct v4l2_rect rect = sel->r; in s3c_camif_s_selection() 1289 struct v4l2_rect *crop = &camif->camif_crop; in __camif_subdev_try_format() 1305 struct v4l2_rect *crop = &camif->camif_crop; in s3c_camif_subdev_set_fmt() 1371 struct v4l2_rect *crop = &camif->camif_crop; in s3c_camif_subdev_get_selection() 1404 static void __camif_try_crop(struct camif_dev *camif, struct v4l2_rect *r) in __camif_try_crop() 1440 struct v4l2_rect *or = &camif->vp[i].out_frame.rect; in __camif_try_crop() 1458 struct v4l2_rect *crop = &camif->camif_crop; in s3c_camif_subdev_set_selection()
|
D | camif-core.c | 154 struct v4l2_rect *camif_crop = &vp->camif->camif_crop; in s3c_camif_get_scaler_config()
|
D | camif-regs.c | 134 struct v4l2_rect *crop = &camif->camif_crop; in camif_hw_set_camera_crop()
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | mt9m111.c | 209 struct v4l2_rect rect; /* cropping rectangle */ 319 struct mt9m111_context *ctx, struct v4l2_rect *rect, in mt9m111_setup_rect_ctx() 333 static int mt9m111_setup_geometry(struct mt9m111 *mt9m111, struct v4l2_rect *rect, in mt9m111_setup_geometry() 388 struct v4l2_rect rect = a->c; in mt9m111_s_crop() 540 struct v4l2_rect *rect = &mt9m111->rect; in mt9m111_try_fmt() 583 struct v4l2_rect *rect = &mt9m111->rect; in mt9m111_s_fmt()
|
D | ov5642.c | 612 struct v4l2_rect crop_rect; 856 struct v4l2_rect rect = a->c; in ov5642_s_crop() 884 struct v4l2_rect *rect = &a->c; in ov5642_g_crop()
|
D | mt9t031.c | 78 struct v4l2_rect rect; /* Sensor window */ 202 struct v4l2_rect *rect, u16 xskip, u16 yskip) in mt9t031_set_params() 299 struct v4l2_rect rect = a->c; in mt9t031_s_crop() 361 struct v4l2_rect rect = mt9t031->rect; in mt9t031_s_fmt()
|
D | mt9t112.c | 90 struct v4l2_rect frame; 842 const struct v4l2_rect *rect, in mt9t112_set_params() 902 const struct v4l2_rect *rect = &a->c; in mt9t112_s_crop() 927 struct v4l2_rect rect = { in mt9t112_s_fmt() 1075 struct v4l2_rect rect = { in mt9t112_probe()
|
D | mt9m001.c | 96 struct v4l2_rect rect; /* Sensor window */ 178 struct v4l2_rect rect = a->c; in mt9m001_s_crop()
|
D | ov6650.c | 201 struct v4l2_rect rect; /* sensor cropping window */ 450 struct v4l2_rect rect = a->c; in ov6650_s_crop() 517 static bool is_unscaled_ok(int width, int height, struct v4l2_rect *rect) in is_unscaled_ok()
|
D | mt9v022.c | 156 struct v4l2_rect rect; /* Sensor window */ 283 struct v4l2_rect rect = a->c; in mt9v022_s_crop()
|
D | imx074.c | 213 struct v4l2_rect *rect = &a->c; in imx074_g_crop()
|
D | rj54n1cb0c.c | 157 struct v4l2_rect rect; /* Sensor window */ 544 const struct v4l2_rect *rect = &a->c; in rj54n1_s_crop()
|
D | ov772x.c | 390 struct v4l2_rect rect;
|
/linux-4.1.27/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.h | 202 struct v4l2_rect crop_rect;
|
D | jpeg-core.c | 1317 struct v4l2_rect *r); 1325 struct v4l2_rect scale_rect; in s5p_jpeg_s_fmt() 1429 struct v4l2_rect *r) in exynos3250_jpeg_try_downscale() 1462 static int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) in enclosed_rectangle() 1475 struct v4l2_rect *r) in exynos3250_jpeg_try_crop() 1477 struct v4l2_rect base_rect; in exynos3250_jpeg_try_crop() 1564 struct v4l2_rect *rect = &s->r; in s5p_jpeg_s_selection()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-lite.h | 91 struct v4l2_rect rect;
|
D | fimc-isp.h | 66 struct v4l2_rect rect;
|
D | fimc-lite.c | 592 struct v4l2_rect *rect; in fimc_lite_subdev_try_fmt() 622 static void fimc_lite_try_crop(struct fimc_lite *fimc, struct v4l2_rect *r) in fimc_lite_try_crop() 639 static void fimc_lite_try_compose(struct fimc_lite *fimc, struct v4l2_rect *r) in fimc_lite_try_compose() 642 struct v4l2_rect *crop_rect = &fimc->inp_frame.rect; in fimc_lite_try_compose() 897 static int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) in enclosed_rectangle() 940 struct v4l2_rect rect = sel->r; in fimc_lite_s_selection()
|
D | fimc-capture.c | 661 struct v4l2_rect *r, in fimc_capture_try_selection() 1312 static int enclosed_rectangle(struct v4l2_rect *a, struct v4l2_rect *b) in enclosed_rectangle() 1329 struct v4l2_rect rect = s->r; in fimc_cap_s_selection() 1611 struct v4l2_rect *r = &sel->r; in fimc_subdev_get_selection() 1612 struct v4l2_rect *try_sel; in fimc_subdev_get_selection() 1666 struct v4l2_rect *r = &sel->r; in fimc_subdev_set_selection() 1667 struct v4l2_rect *try_sel; in fimc_subdev_set_selection()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-driver.h | 520 struct v4l2_rect main_rect; 752 struct v4l2_rect osd_rect; /* current OSD position and size */ 753 struct v4l2_rect main_rect; /* current Main window position and size */
|
D | ivtvfb.c | 248 static int ivtvfb_set_display_window(struct ivtv *itv, struct v4l2_rect *ivtv_window) in ivtvfb_set_display_window() 518 struct v4l2_rect ivtv_window; in ivtvfb_set_var() 979 struct v4l2_rect start_window; in ivtvfb_init_vidmode()
|
D | ivtv-ioctl.c | 849 struct v4l2_rect r = { 0, 0, 720, 0 }; in ivtv_s_selection() 892 struct v4l2_rect r = { 0, 0, 720, 0 }; in ivtv_g_selection()
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134.h | 635 struct v4l2_rect crop_bounds; 636 struct v4l2_rect crop_defrect; 637 struct v4l2_rect crop_current;
|
D | saa7134-video.c | 1248 sizeof(struct v4l2_rect))) in saa7134_g_fmt_vid_overlay() 1618 struct v4l2_rect *b = &dev->crop_bounds; in saa7134_s_crop() 1619 struct v4l2_rect *c = &dev->crop_current; in saa7134_s_crop()
|
/linux-4.1.27/drivers/media/platform/ |
D | sh_vou.c | 72 struct v4l2_rect rect; 449 struct v4l2_rect *rect = &vou_dev->rect; in sh_vou_configure_geometry() 520 struct v4l2_rect output; 941 struct v4l2_rect *rect = &a_writable.c; in sh_vou_s_crop() 1295 struct v4l2_rect *rect; in sh_vou_probe()
|
D | sh_veu.c | 101 struct v4l2_rect frame;
|
D | fsl-viu.c | 186 struct v4l2_rect crop_current;
|
/linux-4.1.27/drivers/media/platform/coda/ |
D | coda.h | 151 struct v4l2_rect rect;
|
D | coda-bit.c | 1835 struct v4l2_rect *rect = &q_data_dst->rect; in coda_finish_decode()
|
D | coda-common.c | 763 struct v4l2_rect r, *rsel; in coda_g_selection()
|
/linux-4.1.27/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 491 void ipu_csi_get_window(struct ipu_csi *csi, struct v4l2_rect *w) in ipu_csi_get_window() 510 void ipu_csi_set_window(struct ipu_csi *csi, struct v4l2_rect *w) in ipu_csi_set_window()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | mixer_video.c | 407 static int mxr_is_rect_inside(struct v4l2_rect *a, struct v4l2_rect *b) in mxr_is_rect_inside() 428 struct v4l2_rect res; in mxr_s_selection()
|
/linux-4.1.27/drivers/media/platform/exynos-gsc/ |
D | gsc-core.h | 203 struct v4l2_rect crop;
|
D | gsc-m2m.c | 433 static int is_rectangle_enclosed(struct v4l2_rect *a, struct v4l2_rect *b) in is_rectangle_enclosed()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 35 struct v4l2_rect c; 40 struct v4l2_rect w;
|
/linux-4.1.27/drivers/media/pci/ngene/ |
D | ngene.h | 600 struct v4l2_rect w;
|