Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/staging/media/imx/
Dimx-media-capture.c120 fsize->stepwise.min_width = 1; in capture_enum_framesizes()
121 fsize->stepwise.max_width = 65535; in capture_enum_framesizes()
122 fsize->stepwise.min_height = 1; in capture_enum_framesizes()
123 fsize->stepwise.max_height = 65535; in capture_enum_framesizes()
124 fsize->stepwise.step_width = 1; in capture_enum_framesizes()
125 fsize->stepwise.step_height = 1; in capture_enum_framesizes()
309 fsize->stepwise.min_width = fse.min_width; in capture_legacy_enum_framesizes()
310 fsize->stepwise.max_width = fse.max_width; in capture_legacy_enum_framesizes()
311 fsize->stepwise.min_height = fse.min_height; in capture_legacy_enum_framesizes()
312 fsize->stepwise.max_height = fse.max_height; in capture_legacy_enum_framesizes()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/media/test-drivers/vimc/
Dvimc-capture.c186 fsize->stepwise.min_width = VIMC_FRAME_MIN_WIDTH; in vimc_capture_enum_framesizes()
187 fsize->stepwise.max_width = VIMC_FRAME_MAX_WIDTH; in vimc_capture_enum_framesizes()
188 fsize->stepwise.min_height = VIMC_FRAME_MIN_HEIGHT; in vimc_capture_enum_framesizes()
189 fsize->stepwise.max_height = VIMC_FRAME_MAX_HEIGHT; in vimc_capture_enum_framesizes()
190 fsize->stepwise.step_width = 1; in vimc_capture_enum_framesizes()
191 fsize->stepwise.step_height = 1; in vimc_capture_enum_framesizes()
/linux-6.1.9/drivers/media/platform/amphion/
Dvenc.c123 fsize->stepwise.max_width = res->max_width; in venc_enum_framesizes()
124 fsize->stepwise.max_height = res->max_height; in venc_enum_framesizes()
125 fsize->stepwise.min_width = res->min_width; in venc_enum_framesizes()
126 fsize->stepwise.min_height = res->min_height; in venc_enum_framesizes()
127 fsize->stepwise.step_width = res->step_width; in venc_enum_framesizes()
128 fsize->stepwise.step_height = res->step_height; in venc_enum_framesizes()
155 fival->stepwise.min.numerator = 1; in venc_enum_frameintervals()
156 fival->stepwise.min.denominator = USHRT_MAX; in venc_enum_frameintervals()
157 fival->stepwise.max.numerator = USHRT_MAX; in venc_enum_frameintervals()
158 fival->stepwise.max.denominator = 1; in venc_enum_frameintervals()
[all …]
/linux-6.1.9/drivers/media/usb/uvc/
Duvc_v4l2.c1282 fival->stepwise.min.numerator = frame->dwFrameInterval[0]; in uvc_ioctl_enum_frameintervals()
1283 fival->stepwise.min.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1284 fival->stepwise.max.numerator = frame->dwFrameInterval[1]; in uvc_ioctl_enum_frameintervals()
1285 fival->stepwise.max.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1286 fival->stepwise.step.numerator = frame->dwFrameInterval[2]; in uvc_ioctl_enum_frameintervals()
1287 fival->stepwise.step.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1288 v4l2_simplify_fraction(&fival->stepwise.min.numerator, in uvc_ioctl_enum_frameintervals()
1289 &fival->stepwise.min.denominator, 8, 333); in uvc_ioctl_enum_frameintervals()
1290 v4l2_simplify_fraction(&fival->stepwise.max.numerator, in uvc_ioctl_enum_frameintervals()
1291 &fival->stepwise.max.denominator, 8, 333); in uvc_ioctl_enum_frameintervals()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dvenc.c455 fsize->stepwise.min_width = frame_width_min(inst); in venc_enum_framesizes()
456 fsize->stepwise.max_width = frame_width_max(inst); in venc_enum_framesizes()
457 fsize->stepwise.step_width = frame_width_step(inst); in venc_enum_framesizes()
458 fsize->stepwise.min_height = frame_height_min(inst); in venc_enum_framesizes()
459 fsize->stepwise.max_height = frame_height_max(inst); in venc_enum_framesizes()
460 fsize->stepwise.step_height = frame_height_step(inst); in venc_enum_framesizes()
500 fival->stepwise.min.numerator = 1; in venc_enum_frameintervals()
501 fival->stepwise.min.denominator = frate_max(inst) / framerate_factor; in venc_enum_frameintervals()
502 fival->stepwise.max.numerator = 1; in venc_enum_frameintervals()
503 fival->stepwise.max.denominator = frate_min(inst) / framerate_factor; in venc_enum_frameintervals()
[all …]
Dvdec.c493 fsize->stepwise.min_width = frame_width_min(inst); in vdec_enum_framesizes()
494 fsize->stepwise.max_width = frame_width_max(inst); in vdec_enum_framesizes()
495 fsize->stepwise.step_width = frame_width_step(inst); in vdec_enum_framesizes()
496 fsize->stepwise.min_height = frame_height_min(inst); in vdec_enum_framesizes()
497 fsize->stepwise.max_height = frame_height_max(inst); in vdec_enum_framesizes()
498 fsize->stepwise.step_height = frame_height_step(inst); in vdec_enum_framesizes()
/linux-6.1.9/drivers/media/pci/tw686x/
Dtw686x-video.c907 fsize->stepwise.max_width = TW686X_VIDEO_WIDTH; in tw686x_enum_framesizes()
908 fsize->stepwise.min_width = fsize->stepwise.max_width / 2; in tw686x_enum_framesizes()
909 fsize->stepwise.step_width = fsize->stepwise.min_width; in tw686x_enum_framesizes()
910 fsize->stepwise.max_height = TW686X_VIDEO_HEIGHT(vc->video_standard); in tw686x_enum_framesizes()
911 fsize->stepwise.min_height = fsize->stepwise.max_height / 2; in tw686x_enum_framesizes()
912 fsize->stepwise.step_height = fsize->stepwise.min_height; in tw686x_enum_framesizes()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dvidioc-enum-framesizes.rst58 ``stepwise`` member is valid.
64 the union only the ``stepwise`` member is valid and the
156 - ``stepwise``
Dvidioc-enum-frameintervals.rst57 ``stepwise`` member is valid.
63 the union only the ``stepwise`` member is valid and the ``step``
148 - ``stepwise``
/linux-6.1.9/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()
/linux-6.1.9/drivers/media/platform/qcom/camss/
Dcamss-video.c662 fsize->stepwise.min_width = CAMSS_FRAME_MIN_WIDTH; in video_enum_framesizes()
663 fsize->stepwise.max_width = CAMSS_FRAME_MAX_WIDTH; in video_enum_framesizes()
664 fsize->stepwise.min_height = CAMSS_FRAME_MIN_HEIGHT; in video_enum_framesizes()
665 fsize->stepwise.max_height = (video->line_based) ? in video_enum_framesizes()
667 fsize->stepwise.step_width = 1; in video_enum_framesizes()
668 fsize->stepwise.step_height = 1; in video_enum_framesizes()
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec.c589 fsize->stepwise = dec_pdata->vdec_formats[i].frmsize; in vidioc_enum_framesizes()
593 fsize->stepwise.min_width, in vidioc_enum_framesizes()
594 fsize->stepwise.max_width, in vidioc_enum_framesizes()
595 fsize->stepwise.step_width, in vidioc_enum_framesizes()
596 fsize->stepwise.min_height, in vidioc_enum_framesizes()
597 fsize->stepwise.max_height, in vidioc_enum_framesizes()
598 fsize->stepwise.step_height); in vidioc_enum_framesizes()
/linux-6.1.9/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()
/linux-6.1.9/drivers/media/platform/ti/cal/
Dcal-video.c563 fsize->stepwise.min_width = CAL_MIN_WIDTH_BYTES * 8 / bpp; in cal_mc_enum_framesizes()
564 fsize->stepwise.max_width = CAL_MAX_WIDTH_BYTES * 8 / bpp; in cal_mc_enum_framesizes()
565 fsize->stepwise.step_width = 64 / bpp; in cal_mc_enum_framesizes()
566 fsize->stepwise.min_height = CAL_MIN_HEIGHT_LINES; in cal_mc_enum_framesizes()
567 fsize->stepwise.max_height = CAL_MAX_HEIGHT_LINES; in cal_mc_enum_framesizes()
568 fsize->stepwise.step_height = 1; in cal_mc_enum_framesizes()
/linux-6.1.9/drivers/media/platform/via/
Dvia-camera.c958 sizes->stepwise.min_width = QCIF_WIDTH; in viacam_enum_framesizes()
959 sizes->stepwise.min_height = QCIF_HEIGHT; in viacam_enum_framesizes()
960 sizes->stepwise.max_width = VGA_WIDTH; in viacam_enum_framesizes()
961 sizes->stepwise.max_height = VGA_HEIGHT; in viacam_enum_framesizes()
962 sizes->stepwise.step_width = sizes->stepwise.step_height = 1; in viacam_enum_framesizes()
/linux-6.1.9/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()
/linux-6.1.9/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c1001 fintv->stepwise.min.numerator = 1; in solo_enum_frameintervals()
1002 fintv->stepwise.min.denominator = solo_dev->fps; in solo_enum_frameintervals()
1004 fintv->stepwise.max.numerator = 15; in solo_enum_frameintervals()
1005 fintv->stepwise.max.denominator = solo_dev->fps; in solo_enum_frameintervals()
1007 fintv->stepwise.step.numerator = 1; in solo_enum_frameintervals()
1008 fintv->stepwise.step.denominator = solo_dev->fps; in solo_enum_frameintervals()
/linux-6.1.9/drivers/media/test-drivers/
Dvim2m.c708 fsize->stepwise.min_width = MIN_W; in vidioc_enum_framesizes()
709 fsize->stepwise.min_height = MIN_H; in vidioc_enum_framesizes()
710 fsize->stepwise.max_width = MAX_W; in vidioc_enum_framesizes()
711 fsize->stepwise.max_height = MAX_H; in vidioc_enum_framesizes()
714 &fsize->stepwise.step_width, in vidioc_enum_framesizes()
715 &fsize->stepwise.step_height); in vidioc_enum_framesizes()
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-video.c2031 &fsize->stepwise.min_width, &fsize->stepwise.min_height); in vidioc_enum_framesizes()
2032 if (fsize->stepwise.min_width < 48) in vidioc_enum_framesizes()
2033 fsize->stepwise.min_width = 48; in vidioc_enum_framesizes()
2034 if (fsize->stepwise.min_height < 38) in vidioc_enum_framesizes()
2035 fsize->stepwise.min_height = 38; in vidioc_enum_framesizes()
2036 fsize->stepwise.max_width = maxw; in vidioc_enum_framesizes()
2037 fsize->stepwise.max_height = maxh; in vidioc_enum_framesizes()
2038 fsize->stepwise.step_width = 1; in vidioc_enum_framesizes()
2039 fsize->stepwise.step_height = 1; in vidioc_enum_framesizes()
/linux-6.1.9/drivers/media/platform/chips-media/
Dcoda-common.c1304 fsize->stepwise.min_width = MIN_W; in coda_enum_framesizes()
1305 fsize->stepwise.max_width = codec->max_w; in coda_enum_framesizes()
1306 fsize->stepwise.step_width = 1; in coda_enum_framesizes()
1307 fsize->stepwise.min_height = MIN_H; in coda_enum_framesizes()
1308 fsize->stepwise.max_height = codec->max_h; in coda_enum_framesizes()
1309 fsize->stepwise.step_height = 1; in coda_enum_framesizes()
1344 f->stepwise.min.numerator = 1; in coda_enum_frameintervals()
1345 f->stepwise.min.denominator = 65535; in coda_enum_frameintervals()
1346 f->stepwise.max.numerator = 65536; in coda_enum_frameintervals()
1347 f->stepwise.max.denominator = 1; in coda_enum_frameintervals()
[all …]
/linux-6.1.9/drivers/media/platform/marvell/
Dmcam-core.c1515 sizes->stepwise.min_width = fse.min_width; in mcam_vidioc_enum_framesizes()
1516 sizes->stepwise.max_width = fse.max_width; in mcam_vidioc_enum_framesizes()
1517 sizes->stepwise.min_height = fse.min_height; in mcam_vidioc_enum_framesizes()
1518 sizes->stepwise.max_height = fse.max_height; in mcam_vidioc_enum_framesizes()
1519 sizes->stepwise.step_width = 1; in mcam_vidioc_enum_framesizes()
1520 sizes->stepwise.step_height = 1; in mcam_vidioc_enum_framesizes()
/linux-6.1.9/drivers/media/platform/aspeed/
Daspeed-video.c1350 fival->stepwise.min.denominator = MAX_FRAME_RATE; in aspeed_video_enum_frameintervals()
1351 fival->stepwise.min.numerator = 1; in aspeed_video_enum_frameintervals()
1352 fival->stepwise.max.denominator = 1; in aspeed_video_enum_frameintervals()
1353 fival->stepwise.max.numerator = 1; in aspeed_video_enum_frameintervals()
1354 fival->stepwise.step = fival->stepwise.max; in aspeed_video_enum_frameintervals()
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-ioctl.c747 p->stepwise.min_width, in v4l_print_frmsizeenum()
748 p->stepwise.min_height, in v4l_print_frmsizeenum()
749 p->stepwise.max_width, in v4l_print_frmsizeenum()
750 p->stepwise.max_height, in v4l_print_frmsizeenum()
751 p->stepwise.step_width, in v4l_print_frmsizeenum()
752 p->stepwise.step_height); in v4l_print_frmsizeenum()
775 p->stepwise.min.numerator, in v4l_print_frmivalenum()
776 p->stepwise.min.denominator, in v4l_print_frmivalenum()
777 p->stepwise.max.numerator, in v4l_print_frmivalenum()
778 p->stepwise.max.denominator, in v4l_print_frmivalenum()
[all …]
/linux-6.1.9/drivers/media/platform/atmel/
Datmel-isc-base.c1120 fsize->stepwise.min_width = 16; in isc_enum_framesizes()
1121 fsize->stepwise.max_width = isc->max_width; in isc_enum_framesizes()
1122 fsize->stepwise.min_height = 16; in isc_enum_framesizes()
1123 fsize->stepwise.max_height = isc->max_height; in isc_enum_framesizes()
1124 fsize->stepwise.step_width = 1; in isc_enum_framesizes()
1125 fsize->stepwise.step_height = 1; in isc_enum_framesizes()

12