/drivers/media/video/zc0301/ |
D | zc0301_core.c | 125 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds); in zc0301_request_buffers() 1209 struct v4l2_rect* bounds = &(s->cropcap.bounds); in zc0301_vidioc_s_crop() local 1244 if (rect->width > bounds->width) in zc0301_vidioc_s_crop() 1245 rect->width = bounds->width; in zc0301_vidioc_s_crop() 1246 if (rect->height > bounds->height) in zc0301_vidioc_s_crop() 1247 rect->height = bounds->height; in zc0301_vidioc_s_crop() 1248 if (rect->left < bounds->left) in zc0301_vidioc_s_crop() 1249 rect->left = bounds->left; in zc0301_vidioc_s_crop() 1250 if (rect->top < bounds->top) in zc0301_vidioc_s_crop() 1251 rect->top = bounds->top; in zc0301_vidioc_s_crop() [all …]
|
D | zc0301_pb0330.c | 142 .bounds = {
|
/drivers/media/video/et61x251/ |
D | et61x251_core.c | 123 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds); in et61x251_request_buffers() 1078 u16 fmw_sx = (u16)(rect->left - s->cropcap.bounds.left + in et61x251_set_crop() 1080 fmw_sy = (u16)(rect->top - s->cropcap.bounds.top + in et61x251_set_crop() 1770 struct v4l2_rect* bounds = &(s->cropcap.bounds); in et61x251_vidioc_s_crop() local 1802 if (rect->width > bounds->width) in et61x251_vidioc_s_crop() 1803 rect->width = bounds->width; in et61x251_vidioc_s_crop() 1804 if (rect->height > bounds->height) in et61x251_vidioc_s_crop() 1805 rect->height = bounds->height; in et61x251_vidioc_s_crop() 1806 if (rect->left < bounds->left) in et61x251_vidioc_s_crop() 1807 rect->left = bounds->left; in et61x251_vidioc_s_crop() [all …]
|
D | et61x251_tas5130d1b.c | 105 .bounds = {
|
/drivers/media/video/sn9c102/ |
D | sn9c102_tas5110d.c | 45 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 69, in tas5110d_set_crop() 46 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 9; in tas5110d_set_crop() 82 .bounds = {
|
D | sn9c102_tas5110c1b.c | 63 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 69, in tas5110c1b_set_crop() 64 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 9; in tas5110c1b_set_crop() 114 .bounds = {
|
D | sn9c102_tas5130d1b.c | 63 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 104, in tas5130d1b_set_crop() 64 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 12; in tas5130d1b_set_crop() 125 .bounds = {
|
D | sn9c102_pas202bcb.c | 179 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 3; in pas202bcb_set_crop() 184 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 4; in pas202bcb_set_crop() 187 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 3; in pas202bcb_set_crop() 274 .bounds = {
|
D | sn9c102_core.c | 146 struct v4l2_rect* r = &(cam->sensor.cropcap.bounds); in sn9c102_request_buffers() 1606 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left), in sn9c102_set_crop() 1607 v_start = (u8)(rect->top - s->cropcap.bounds.top), in sn9c102_set_crop() 2357 struct v4l2_rect* bounds = &(s->cropcap.bounds); in sn9c102_vidioc_s_crop() local 2389 if (rect->width > bounds->width) in sn9c102_vidioc_s_crop() 2390 rect->width = bounds->width; in sn9c102_vidioc_s_crop() 2391 if (rect->height > bounds->height) in sn9c102_vidioc_s_crop() 2392 rect->height = bounds->height; in sn9c102_vidioc_s_crop() 2393 if (rect->left < bounds->left) in sn9c102_vidioc_s_crop() 2394 rect->left = bounds->left; in sn9c102_vidioc_s_crop() [all …]
|
D | sn9c102_mi0360.c | 267 u8 h_start = 0, v_start = (u8)(rect->top - s->cropcap.bounds.top) + 1; in mi0360_set_crop() 271 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 0; in mi0360_set_crop() 275 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 1; in mi0360_set_crop() 397 .bounds = {
|
D | sn9c102_hv7131d.c | 124 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 2, in hv7131d_set_crop() 125 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 2; in hv7131d_set_crop() 222 .bounds = {
|
D | sn9c102_hv7131r.c | 214 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 1, in hv7131r_set_crop() 215 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 1; in hv7131r_set_crop() 321 .bounds = {
|
D | sn9c102_pas106b.c | 143 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 4, in pas106b_set_crop() 144 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 3; in pas106b_set_crop() 251 .bounds = {
|
D | sn9c102_mi0343.c | 197 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 0, in mi0343_set_crop() 198 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 2; in mi0343_set_crop() 310 .bounds = {
|
D | sn9c102_ov7630.c | 385 u8 h_start = 0, v_start = (u8)(rect->top - s->cropcap.bounds.top) + 1; in ov7630_set_crop() 391 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 1; in ov7630_set_crop() 395 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 4; in ov7630_set_crop() 565 .bounds = {
|
D | sn9c102_mt9v111.c | 169 u8 v_start = (u8) (rect->top - s->cropcap.bounds.top) + 2; in mt9v111_set_crop() 214 .bounds = {
|
D | sn9c102_ov7660.c | 371 u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 1, in ov7660_set_crop() 372 v_start = (u8)(rect->top - s->cropcap.bounds.top) + 1; in ov7660_set_crop() 496 .bounds = {
|
/drivers/media/video/bt8xx/ |
D | bttv-vbi.c | 187 if (fh->vbi_fmt.end >= tvnorm->cropcap.bounds.top) in vbi_buffer_prepare() 188 min_vdelay += fh->vbi_fmt.end - tvnorm->cropcap.bounds.top; in vbi_buffer_prepare() 254 max_end = (tvnorm->cropcap.bounds.top in try_fmt() 255 + tvnorm->cropcap.bounds.height) >> 1; in try_fmt() 390 max_end = (tvnorm->cropcap.bounds.top in bttv_g_fmt_vbi_cap() 391 + tvnorm->cropcap.bounds.height) >> 1; in bttv_g_fmt_vbi_cap()
|
/drivers/staging/go7007/ |
D | go7007-v4l2.c | 1352 cropcap->bounds.top = 0; in vidioc_cropcap() 1353 cropcap->bounds.left = 0; in vidioc_cropcap() 1354 cropcap->bounds.width = 720; in vidioc_cropcap() 1355 cropcap->bounds.height = 480; in vidioc_cropcap() 1362 cropcap->bounds.top = 0; in vidioc_cropcap() 1363 cropcap->bounds.left = 0; in vidioc_cropcap() 1364 cropcap->bounds.width = 720; in vidioc_cropcap() 1365 cropcap->bounds.height = 576; in vidioc_cropcap() 1372 cropcap->bounds.top = 0; in vidioc_cropcap() 1373 cropcap->bounds.left = 0; in vidioc_cropcap() [all …]
|
/drivers/media/video/cx18/ |
D | cx18-ioctl.c | 385 cropcap->bounds.top = cropcap->bounds.left = 0; in cx18_cropcap() 386 cropcap->bounds.width = 720; in cx18_cropcap() 387 cropcap->bounds.height = cx->is_50hz ? 576 : 480; in cx18_cropcap() 390 cropcap->defrect = cropcap->bounds; in cx18_cropcap()
|
/drivers/media/video/ivtv/ |
D | ivtv-ioctl.c | 852 cropcap->bounds.top = cropcap->bounds.left = 0; in ivtv_cropcap() 853 cropcap->bounds.width = 720; in ivtv_cropcap() 855 cropcap->bounds.height = itv->is_50hz ? 576 : 480; in ivtv_cropcap() 860 cropcap->bounds.width = yi->osd_full_w; in ivtv_cropcap() 861 cropcap->bounds.height = yi->osd_full_h; in ivtv_cropcap() 863 cropcap->bounds.width = 720; in ivtv_cropcap() 864 cropcap->bounds.height = in ivtv_cropcap() 870 cropcap->bounds.height = itv->is_out_50hz ? 576 : 480; in ivtv_cropcap() 874 cropcap->defrect = cropcap->bounds; in ivtv_cropcap()
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-hdw.c | 410 *left = cap->bounds.left; in ctrl_cropl_min_get() 421 *left = cap->bounds.left; in ctrl_cropl_max_get() 422 if (cap->bounds.width > cptr->hdw->cropw_val) { in ctrl_cropl_max_get() 423 *left += cap->bounds.width - cptr->hdw->cropw_val; in ctrl_cropl_max_get() 435 *top = cap->bounds.top; in ctrl_cropt_min_get() 446 *top = cap->bounds.top; in ctrl_cropt_max_get() 447 if (cap->bounds.height > cptr->hdw->croph_val) { in ctrl_cropt_max_get() 448 *top += cap->bounds.height - cptr->hdw->croph_val; in ctrl_cropt_max_get() 461 if (cap->bounds.width > cptr->hdw->cropl_val) { in ctrl_cropw_max_get() 462 *val = cap->bounds.width - cptr->hdw->cropl_val; in ctrl_cropw_max_get() [all …]
|
/drivers/media/video/uvc/ |
D | uvc_v4l2.c | 819 ccap->bounds.left = 0; in uvc_v4l2_do_ioctl() 820 ccap->bounds.top = 0; in uvc_v4l2_do_ioctl() 821 ccap->bounds.width = frame->wWidth; in uvc_v4l2_do_ioctl() 822 ccap->bounds.height = frame->wHeight; in uvc_v4l2_do_ioctl() 824 ccap->defrect = ccap->bounds; in uvc_v4l2_do_ioctl()
|
/drivers/media/video/ |
D | soc_camera.c | 645 a->bounds.left = icd->x_min; in soc_camera_cropcap() 646 a->bounds.top = icd->y_min; in soc_camera_cropcap() 647 a->bounds.width = icd->width_max; in soc_camera_cropcap() 648 a->bounds.height = icd->height_max; in soc_camera_cropcap()
|
/drivers/media/video/em28xx/ |
D | em28xx-video.c | 1280 cc->bounds.left = 0; in vidioc_cropcap() 1281 cc->bounds.top = 0; in vidioc_cropcap() 1282 cc->bounds.width = dev->width; in vidioc_cropcap() 1283 cc->bounds.height = dev->height; in vidioc_cropcap() 1284 cc->defrect = cc->bounds; in vidioc_cropcap()
|