Home
last modified time | relevance | path

Searched refs:dcrop (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/
H A Dcapture.c669 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp1_config_dcrop() local
675 if (dcrop->width == input_win->width && in rkisp1_config_dcrop()
676 dcrop->height == input_win->height && in rkisp1_config_dcrop()
677 dcrop->left == 0 && dcrop->top == 0) { in rkisp1_config_dcrop()
684 config_dcrop(stream, dcrop, async); in rkisp1_config_dcrop()
689 dcrop->width, dcrop->height); in rkisp1_config_dcrop()
710 in_y.width = stream->dcrop.width; in rkisp1_config_rsz()
711 in_y.height = stream->dcrop.height; in rkisp1_config_rsz()
738 stream->id, stream->dcrop.width, stream->dcrop.height, in rkisp1_config_rsz()
1779 stream->dcrop.left = 0; in rkisp1_set_stream_def_fmt()
[all …]
H A Dcapture.h188 struct v4l2_rect dcrop; member
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Dcapture_v1x.c332 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp_stream_config_dcrop() local
338 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
339 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
340 dcrop->left == 0 && dcrop->top == 0) { in rkisp_stream_config_dcrop()
347 rkisp_config_dcrop(stream, dcrop, async); in rkisp_stream_config_dcrop()
352 dcrop->width, dcrop->height); in rkisp_stream_config_dcrop()
373 in_y.width = stream->dcrop.width; in rkisp_stream_config_rsz()
374 in_y.height = stream->dcrop.height; in rkisp_stream_config_rsz()
401 stream->id, stream->dcrop.width, stream->dcrop.height, in rkisp_stream_config_rsz()
H A Dcapture.c616 max_rsz->width = stream->dcrop.width; in restrict_rsz_resolution()
617 max_rsz->height = stream->dcrop.height; in restrict_rsz_resolution()
862 stream->dcrop.left = 0; in rkisp_set_stream_def_fmt()
863 stream->dcrop.top = 0; in rkisp_set_stream_def_fmt()
864 stream->dcrop.width = width; in rkisp_set_stream_def_fmt()
865 stream->dcrop.height = height; in rkisp_set_stream_def_fmt()
1441 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp_g_selection() local
1454 sel->r = *dcrop; in rkisp_g_selection()
1512 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp_s_selection() local
1522 *dcrop = *rkisp_update_crop(stream, &sel->r, input_win); in rkisp_s_selection()
[all …]
H A Dcapture_v30.c326 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp_stream_config_dcrop() local
332 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
333 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
334 dcrop->left == 0 && dcrop->top == 0 && in rkisp_stream_config_dcrop()
345 dcrop->width, dcrop->height); in rkisp_stream_config_dcrop()
347 rkisp_config_dcrop(stream, dcrop, async); in rkisp_stream_config_dcrop()
369 in_y.width = stream->dcrop.width; in rkisp_stream_config_rsz()
370 in_y.height = stream->dcrop.height; in rkisp_stream_config_rsz()
385 stream->id, stream->dcrop.width, stream->dcrop.height, in rkisp_stream_config_rsz()
H A Dcapture_v21.c540 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp_stream_config_dcrop() local
546 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
547 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
548 dcrop->left == 0 && dcrop->top == 0) { in rkisp_stream_config_dcrop()
555 rkisp_config_dcrop(stream, dcrop, async); in rkisp_stream_config_dcrop()
560 dcrop->width, dcrop->height); in rkisp_stream_config_dcrop()
581 in_y.width = stream->dcrop.width; in rkisp_stream_config_rsz()
582 in_y.height = stream->dcrop.height; in rkisp_stream_config_rsz()
609 stream->id, stream->dcrop.width, stream->dcrop.height, in rkisp_stream_config_rsz()
H A Dcapture_v20.c560 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp_stream_config_dcrop() local
575 if (dcrop->width == src_w && in rkisp_stream_config_dcrop()
576 dcrop->height == src_h && in rkisp_stream_config_dcrop()
577 dcrop->left == 0 && dcrop->top == 0) { in rkisp_stream_config_dcrop()
588 rkisp_config_dcrop(stream, dcrop, async); in rkisp_stream_config_dcrop()
592 src_w, src_h, dcrop->width, dcrop->height); in rkisp_stream_config_dcrop()
614 in_y.width = stream->dcrop.width; in rkisp_stream_config_rsz()
615 in_y.height = stream->dcrop.height; in rkisp_stream_config_rsz()
649 stream->id, stream->dcrop.width, stream->dcrop.height, in rkisp_stream_config_rsz()
H A Dcapture_v32.c549 struct v4l2_rect *dcrop = &stream->dcrop; in rkisp_stream_config_dcrop() local
555 if (dcrop->width == input_win->width && in rkisp_stream_config_dcrop()
556 dcrop->height == input_win->height && in rkisp_stream_config_dcrop()
557 dcrop->left == 0 && dcrop->top == 0) { in rkisp_stream_config_dcrop()
567 dcrop->width, dcrop->height); in rkisp_stream_config_dcrop()
569 rkisp_config_dcrop(stream, dcrop, async); in rkisp_stream_config_dcrop()
589 in_y.width = stream->dcrop.width; in rkisp_stream_config_rsz()
590 in_y.height = stream->dcrop.height; in rkisp_stream_config_rsz()
604 stream->id, stream->dcrop.width, stream->dcrop.height, in rkisp_stream_config_rsz()
H A Drkisp.c2713 struct v4l2_rect *dcrop; in rkisp_check_stream_dcrop() local
2721 dcrop = &stream->dcrop; in rkisp_check_stream_dcrop()
2725 dcrop->width, dcrop->height, dcrop->left, dcrop->top, in rkisp_check_stream_dcrop()
2728 if (dcrop->width > crop->width) { in rkisp_check_stream_dcrop()
2729 dcrop->width = crop->width; in rkisp_check_stream_dcrop()
2730 dcrop->left = 0; in rkisp_check_stream_dcrop()
2731 } else if ((dcrop->left + dcrop->width) > crop->width) { in rkisp_check_stream_dcrop()
2732 dcrop->left = crop->width - dcrop->width; in rkisp_check_stream_dcrop()
2734 if (dcrop->height > crop->height) { in rkisp_check_stream_dcrop()
2735 dcrop->height = crop->height; in rkisp_check_stream_dcrop()
[all …]
H A Dcapture.h262 struct v4l2_rect dcrop; member
H A Dprocfs.c915 stream->dcrop.left, in isp_show()
916 stream->dcrop.top, in isp_show()
917 stream->dcrop.width, in isp_show()
918 stream->dcrop.height, in isp_show()