Home
last modified time | relevance | path

Searched refs:stepwise (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
Dvimc-capture.c185 fsize->stepwise.min_width = VIMC_FRAME_MIN_WIDTH; in vimc_cap_enum_framesizes()
186 fsize->stepwise.max_width = VIMC_FRAME_MAX_WIDTH; in vimc_cap_enum_framesizes()
187 fsize->stepwise.min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_cap_enum_framesizes()
188 fsize->stepwise.max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_cap_enum_framesizes()
189 fsize->stepwise.step_width = 1; in vimc_cap_enum_framesizes()
190 fsize->stepwise.step_height = 1; in vimc_cap_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dstk1135.c625 fsize->stepwise.min_width = 32; in stk1135_enum_framesizes()
626 fsize->stepwise.min_height = 32; in stk1135_enum_framesizes()
627 fsize->stepwise.max_width = 1280; in stk1135_enum_framesizes()
628 fsize->stepwise.max_height = 1024; in stk1135_enum_framesizes()
629 fsize->stepwise.step_width = 2; in stk1135_enum_framesizes()
630 fsize->stepwise.step_height = 2; in stk1135_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dvenc.c448 fsize->stepwise.min_width = frame_width_min(inst); in venc_enum_framesizes()
449 fsize->stepwise.max_width = frame_width_max(inst); in venc_enum_framesizes()
450 fsize->stepwise.step_width = frame_width_step(inst); in venc_enum_framesizes()
451 fsize->stepwise.min_height = frame_height_min(inst); in venc_enum_framesizes()
452 fsize->stepwise.max_height = frame_height_max(inst); in venc_enum_framesizes()
453 fsize->stepwise.step_height = frame_height_step(inst); in venc_enum_framesizes()
493 fival->stepwise.min.numerator = 1; in venc_enum_frameintervals()
494 fival->stepwise.min.denominator = frate_max(inst) / framerate_factor; in venc_enum_frameintervals()
495 fival->stepwise.max.numerator = 1; in venc_enum_frameintervals()
496 fival->stepwise.max.denominator = frate_min(inst) / framerate_factor; in venc_enum_frameintervals()
[all …]
Dvdec.c460 fsize->stepwise.min_width = frame_width_min(inst); in vdec_enum_framesizes()
461 fsize->stepwise.max_width = frame_width_max(inst); in vdec_enum_framesizes()
462 fsize->stepwise.step_width = frame_width_step(inst); in vdec_enum_framesizes()
463 fsize->stepwise.min_height = frame_height_min(inst); in vdec_enum_framesizes()
464 fsize->stepwise.max_height = frame_height_max(inst); in vdec_enum_framesizes()
465 fsize->stepwise.step_height = frame_height_step(inst); in vdec_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec.c56 .stepwise = { MTK_VDEC_MIN_W, MTK_VDEC_MAX_W, 16,
61 .stepwise = { MTK_VDEC_MIN_W, MTK_VDEC_MAX_W, 16,
66 .stepwise = { MTK_VDEC_MIN_W, MTK_VDEC_MAX_W, 16,
923 fsize->stepwise = mtk_vdec_framesizes[i].stepwise; in vidioc_enum_framesizes()
927 fsize->stepwise.max_width = in vidioc_enum_framesizes()
929 fsize->stepwise.max_height = in vidioc_enum_framesizes()
934 fsize->stepwise.min_width, in vidioc_enum_framesizes()
935 fsize->stepwise.max_width, in vidioc_enum_framesizes()
936 fsize->stepwise.step_width, in vidioc_enum_framesizes()
937 fsize->stepwise.min_height, in vidioc_enum_framesizes()
[all …]
Dmtk_vcodec_drv.h111 struct v4l2_frmsize_stepwise stepwise; member
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_v4l2.c1297 fival->stepwise.min.numerator = frame->dwFrameInterval[0]; in uvc_ioctl_enum_frameintervals()
1298 fival->stepwise.min.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1299 fival->stepwise.max.numerator = frame->dwFrameInterval[1]; in uvc_ioctl_enum_frameintervals()
1300 fival->stepwise.max.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1301 fival->stepwise.step.numerator = frame->dwFrameInterval[2]; in uvc_ioctl_enum_frameintervals()
1302 fival->stepwise.step.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1303 uvc_simplify_fraction(&fival->stepwise.min.numerator, in uvc_ioctl_enum_frameintervals()
1304 &fival->stepwise.min.denominator, 8, 333); in uvc_ioctl_enum_frameintervals()
1305 uvc_simplify_fraction(&fival->stepwise.max.numerator, in uvc_ioctl_enum_frameintervals()
1306 &fival->stepwise.max.denominator, 8, 333); in uvc_ioctl_enum_frameintervals()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
Dtw686x-video.c910 fsize->stepwise.max_width = TW686X_VIDEO_WIDTH; in tw686x_enum_framesizes()
911 fsize->stepwise.min_width = fsize->stepwise.max_width / 2; in tw686x_enum_framesizes()
912 fsize->stepwise.step_width = fsize->stepwise.min_width; in tw686x_enum_framesizes()
913 fsize->stepwise.max_height = TW686X_VIDEO_HEIGHT(vc->video_standard); in tw686x_enum_framesizes()
914 fsize->stepwise.min_height = fsize->stepwise.max_height / 2; in tw686x_enum_framesizes()
915 fsize->stepwise.step_height = fsize->stepwise.min_height; in tw686x_enum_framesizes()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-enum-framesizes.rst58 ``stepwise`` member is valid.
64 the union only the ``stepwise`` member is valid and the
160 - ``stepwise``
Dvidioc-enum-frameintervals.rst57 ``stepwise`` member is valid.
63 the union only the ``stepwise`` member is valid and the ``step``
150 - ``stepwise``
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-video.c633 fsize->stepwise.min_width = CAMSS_FRAME_MIN_WIDTH; in video_enum_framesizes()
634 fsize->stepwise.max_width = CAMSS_FRAME_MAX_WIDTH; in video_enum_framesizes()
635 fsize->stepwise.min_height = CAMSS_FRAME_MIN_HEIGHT; in video_enum_framesizes()
636 fsize->stepwise.max_height = (video->line_based) ? in video_enum_framesizes()
638 fsize->stepwise.step_width = 1; in video_enum_framesizes()
639 fsize->stepwise.step_height = 1; in video_enum_framesizes()
/kernel/linux/linux-5.10/drivers/staging/media/imx/
Dimx-media-capture.c111 fsize->stepwise.min_width = fse.min_width; in capture_enum_framesizes()
112 fsize->stepwise.max_width = fse.max_width; in capture_enum_framesizes()
113 fsize->stepwise.min_height = fse.min_height; in capture_enum_framesizes()
114 fsize->stepwise.max_height = fse.max_height; in capture_enum_framesizes()
115 fsize->stepwise.step_width = 1; in capture_enum_framesizes()
116 fsize->stepwise.step_height = 1; in capture_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/
Dsun8i_rotate.c248 fsize->stepwise.min_width = ROTATE_MIN_WIDTH; in rotate_enum_framesizes()
249 fsize->stepwise.min_height = ROTATE_MIN_HEIGHT; in rotate_enum_framesizes()
250 fsize->stepwise.max_width = ROTATE_MAX_WIDTH; in rotate_enum_framesizes()
251 fsize->stepwise.max_height = ROTATE_MAX_HEIGHT; in rotate_enum_framesizes()
252 fsize->stepwise.step_width = fmt->hsub; in rotate_enum_framesizes()
253 fsize->stepwise.step_height = fmt->vsub; in rotate_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-di/
Dsun8i-di.c383 fsize->stepwise.min_width = DEINTERLACE_MIN_WIDTH; in deinterlace_enum_framesizes()
384 fsize->stepwise.min_height = DEINTERLACE_MIN_HEIGHT; in deinterlace_enum_framesizes()
385 fsize->stepwise.max_width = DEINTERLACE_MAX_WIDTH; in deinterlace_enum_framesizes()
386 fsize->stepwise.max_height = DEINTERLACE_MAX_HEIGHT; in deinterlace_enum_framesizes()
387 fsize->stepwise.step_width = 2; in deinterlace_enum_framesizes()
388 fsize->stepwise.step_height = 1; in deinterlace_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/platform/
Dvia-camera.c955 sizes->stepwise.min_width = QCIF_WIDTH; in viacam_enum_framesizes()
956 sizes->stepwise.min_height = QCIF_HEIGHT; in viacam_enum_framesizes()
957 sizes->stepwise.max_width = VGA_WIDTH; in viacam_enum_framesizes()
958 sizes->stepwise.max_height = VGA_HEIGHT; in viacam_enum_framesizes()
959 sizes->stepwise.step_width = sizes->stepwise.step_height = 1; in viacam_enum_framesizes()
Daspeed-video.c1149 fival->stepwise.min.denominator = MAX_FRAME_RATE; in aspeed_video_enum_frameintervals()
1150 fival->stepwise.min.numerator = 1; in aspeed_video_enum_frameintervals()
1151 fival->stepwise.max.denominator = 1; in aspeed_video_enum_frameintervals()
1152 fival->stepwise.max.numerator = 1; in aspeed_video_enum_frameintervals()
1153 fival->stepwise.step = fival->stepwise.max; in aspeed_video_enum_frameintervals()
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dvdec.c704 fsize->stepwise.min_width = 256; in vdec_enum_framesizes()
705 fsize->stepwise.max_width = fmt->max_width; in vdec_enum_framesizes()
706 fsize->stepwise.step_width = 1; in vdec_enum_framesizes()
707 fsize->stepwise.min_height = 144; in vdec_enum_framesizes()
708 fsize->stepwise.max_height = fmt->max_height; in vdec_enum_framesizes()
709 fsize->stepwise.step_height = 1; in vdec_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/test-drivers/
Dvim2m.c718 fsize->stepwise.min_width = MIN_W; in vidioc_enum_framesizes()
719 fsize->stepwise.min_height = MIN_H; in vidioc_enum_framesizes()
720 fsize->stepwise.max_width = MAX_W; in vidioc_enum_framesizes()
721 fsize->stepwise.max_height = MAX_H; in vidioc_enum_framesizes()
724 &fsize->stepwise.step_width, in vidioc_enum_framesizes()
725 &fsize->stepwise.step_height); in vidioc_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c1004 fintv->stepwise.min.numerator = 1; in solo_enum_frameintervals()
1005 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
1007 fintv->stepwise.max.numerator = 15; in solo_enum_frameintervals()
1008 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals()
1010 fintv->stepwise.step.numerator = 1; in solo_enum_frameintervals()
1011 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals()
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-video.c2041 &fsize->stepwise.min_width, &fsize->stepwise.min_height); in vidioc_enum_framesizes()
2042 if (fsize->stepwise.min_width < 48) in vidioc_enum_framesizes()
2043 fsize->stepwise.min_width = 48; in vidioc_enum_framesizes()
2044 if (fsize->stepwise.min_height < 38) in vidioc_enum_framesizes()
2045 fsize->stepwise.min_height = 38; in vidioc_enum_framesizes()
2046 fsize->stepwise.max_width = maxw; in vidioc_enum_framesizes()
2047 fsize->stepwise.max_height = maxh; in vidioc_enum_framesizes()
2048 fsize->stepwise.step_width = 1; in vidioc_enum_framesizes()
2049 fsize->stepwise.step_height = 1; in vidioc_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-common.c1306 fsize->stepwise.min_width = MIN_W; in coda_enum_framesizes()
1307 fsize->stepwise.max_width = codec->max_w; in coda_enum_framesizes()
1308 fsize->stepwise.step_width = 1; in coda_enum_framesizes()
1309 fsize->stepwise.min_height = MIN_H; in coda_enum_framesizes()
1310 fsize->stepwise.max_height = codec->max_h; in coda_enum_framesizes()
1311 fsize->stepwise.step_height = 1; in coda_enum_framesizes()
1338 f->stepwise.min.numerator = 1; in coda_enum_frameintervals()
1339 f->stepwise.min.denominator = 65535; in coda_enum_frameintervals()
1340 f->stepwise.max.numerator = 65536; in coda_enum_frameintervals()
1341 f->stepwise.max.denominator = 1; in coda_enum_frameintervals()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/marvell-ccic/
Dmcam-core.c1512 sizes->stepwise.min_width = fse.min_width; in mcam_vidioc_enum_framesizes()
1513 sizes->stepwise.max_width = fse.max_width; in mcam_vidioc_enum_framesizes()
1514 sizes->stepwise.min_height = fse.min_height; in mcam_vidioc_enum_framesizes()
1515 sizes->stepwise.max_height = fse.max_height; in mcam_vidioc_enum_framesizes()
1516 sizes->stepwise.step_width = 1; in mcam_vidioc_enum_framesizes()
1517 sizes->stepwise.step_height = 1; in mcam_vidioc_enum_framesizes()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-ioctl.c777 p->stepwise.min_width, in v4l_print_frmsizeenum()
778 p->stepwise.min_height, in v4l_print_frmsizeenum()
779 p->stepwise.max_width, in v4l_print_frmsizeenum()
780 p->stepwise.max_height, in v4l_print_frmsizeenum()
781 p->stepwise.step_width, in v4l_print_frmsizeenum()
782 p->stepwise.step_height); in v4l_print_frmsizeenum()
810 p->stepwise.min.numerator, in v4l_print_frmivalenum()
811 p->stepwise.min.denominator, in v4l_print_frmivalenum()
812 p->stepwise.max.numerator, in v4l_print_frmivalenum()
813 p->stepwise.max.denominator, in v4l_print_frmivalenum()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/tw5864/
Dtw5864-video.c773 fintv->stepwise.step = frameinterval; in tw5864_enum_frameintervals()
774 fintv->stepwise.min = frameinterval; in tw5864_enum_frameintervals()
775 fintv->stepwise.max = frameinterval; in tw5864_enum_frameintervals()
776 fintv->stepwise.max.numerator *= std_max_fps; in tw5864_enum_frameintervals()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c1351 fsize->stepwise = sizes; in vidioc_enum_framesizes()
1352 fsize->stepwise.max_width = dev->max_width; in vidioc_enum_framesizes()
1353 fsize->stepwise.max_height = dev->max_height; in vidioc_enum_framesizes()
1381 fival->stepwise.min = tpf_min; in vidioc_enum_frameintervals()
1382 fival->stepwise.max = tpf_max; in vidioc_enum_frameintervals()
1383 fival->stepwise.step = (struct v4l2_fract) {1, 1}; in vidioc_enum_frameintervals()

12