Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/staging/media/imx/
Dimx-media-capture.c119 fsize->stepwise.min_width = 1; in capture_enum_framesizes()
120 fsize->stepwise.max_width = 65535; in capture_enum_framesizes()
121 fsize->stepwise.min_height = 1; in capture_enum_framesizes()
122 fsize->stepwise.max_height = 65535; in capture_enum_framesizes()
123 fsize->stepwise.step_width = 1; in capture_enum_framesizes()
124 fsize->stepwise.step_height = 1; in capture_enum_framesizes()
308 fsize->stepwise.min_width = fse.min_width; in capture_legacy_enum_framesizes()
309 fsize->stepwise.max_width = fse.max_width; in capture_legacy_enum_framesizes()
310 fsize->stepwise.min_height = fse.min_height; in capture_legacy_enum_framesizes()
311 fsize->stepwise.max_height = fse.max_height; in capture_legacy_enum_framesizes()
[all …]
/linux-6.12.1/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.12.1/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.12.1/drivers/staging/media/starfive/camss/
Dstf-video.c390 fsize->stepwise.min_width = STFCAMSS_FRAME_MIN_WIDTH; in video_enum_framesizes()
391 fsize->stepwise.max_width = STFCAMSS_FRAME_MAX_WIDTH; in video_enum_framesizes()
392 fsize->stepwise.min_height = STFCAMSS_FRAME_MIN_HEIGHT; in video_enum_framesizes()
393 fsize->stepwise.max_height = STFCAMSS_FRAME_MAX_HEIGHT; in video_enum_framesizes()
394 fsize->stepwise.step_width = 1; in video_enum_framesizes()
395 fsize->stepwise.step_height = 1; in video_enum_framesizes()
/linux-6.12.1/drivers/media/platform/amphion/
Dvenc.c134 fsize->stepwise.max_width = res->max_width; in venc_enum_framesizes()
135 fsize->stepwise.max_height = res->max_height; in venc_enum_framesizes()
136 fsize->stepwise.min_width = res->min_width; in venc_enum_framesizes()
137 fsize->stepwise.min_height = res->min_height; in venc_enum_framesizes()
138 fsize->stepwise.step_width = res->step_width; in venc_enum_framesizes()
139 fsize->stepwise.step_height = res->step_height; in venc_enum_framesizes()
166 fival->stepwise.min.numerator = 1; in venc_enum_frameintervals()
167 fival->stepwise.min.denominator = USHRT_MAX; in venc_enum_frameintervals()
168 fival->stepwise.max.numerator = USHRT_MAX; in venc_enum_frameintervals()
169 fival->stepwise.max.denominator = 1; in venc_enum_frameintervals()
[all …]
/linux-6.12.1/drivers/media/platform/qcom/venus/
Dvenc.c460 fsize->stepwise.min_width = frame_width_min(inst); in venc_enum_framesizes()
461 fsize->stepwise.max_width = frame_width_max(inst); in venc_enum_framesizes()
462 fsize->stepwise.step_width = frame_width_step(inst); in venc_enum_framesizes()
463 fsize->stepwise.min_height = frame_height_min(inst); in venc_enum_framesizes()
464 fsize->stepwise.max_height = frame_height_max(inst); in venc_enum_framesizes()
465 fsize->stepwise.step_height = frame_height_step(inst); in venc_enum_framesizes()
505 fival->stepwise.min.numerator = 1; in venc_enum_frameintervals()
506 fival->stepwise.min.denominator = frate_max(inst) / framerate_factor; in venc_enum_frameintervals()
507 fival->stepwise.max.numerator = 1; in venc_enum_frameintervals()
508 fival->stepwise.max.denominator = frate_min(inst) / framerate_factor; in venc_enum_frameintervals()
[all …]
/linux-6.12.1/drivers/media/usb/uvc/
Duvc_v4l2.c1332 fival->stepwise.min.numerator = frame->dwFrameInterval[0]; in uvc_ioctl_enum_frameintervals()
1333 fival->stepwise.min.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1334 fival->stepwise.max.numerator = frame->dwFrameInterval[1]; in uvc_ioctl_enum_frameintervals()
1335 fival->stepwise.max.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1336 fival->stepwise.step.numerator = frame->dwFrameInterval[2]; in uvc_ioctl_enum_frameintervals()
1337 fival->stepwise.step.denominator = 10000000; in uvc_ioctl_enum_frameintervals()
1338 v4l2_simplify_fraction(&fival->stepwise.min.numerator, in uvc_ioctl_enum_frameintervals()
1339 &fival->stepwise.min.denominator, 8, 333); in uvc_ioctl_enum_frameintervals()
1340 v4l2_simplify_fraction(&fival->stepwise.max.numerator, in uvc_ioctl_enum_frameintervals()
1341 &fival->stepwise.max.denominator, 8, 333); in uvc_ioctl_enum_frameintervals()
[all …]
/linux-6.12.1/drivers/media/pci/tw686x/
Dtw686x-video.c908 fsize->stepwise.max_width = TW686X_VIDEO_WIDTH; in tw686x_enum_framesizes()
909 fsize->stepwise.min_width = fsize->stepwise.max_width / 2; in tw686x_enum_framesizes()
910 fsize->stepwise.step_width = fsize->stepwise.min_width; in tw686x_enum_framesizes()
911 fsize->stepwise.max_height = TW686X_VIDEO_HEIGHT(vc->video_standard); in tw686x_enum_framesizes()
912 fsize->stepwise.min_height = fsize->stepwise.max_height / 2; in tw686x_enum_framesizes()
913 fsize->stepwise.step_height = fsize->stepwise.min_height; in tw686x_enum_framesizes()
/linux-6.12.1/drivers/media/platform/qcom/camss/
Dcamss-video.c411 fsize->stepwise.min_width = CAMSS_FRAME_MIN_WIDTH; in video_enum_framesizes()
412 fsize->stepwise.max_width = CAMSS_FRAME_MAX_WIDTH; in video_enum_framesizes()
413 fsize->stepwise.min_height = CAMSS_FRAME_MIN_HEIGHT; in video_enum_framesizes()
414 fsize->stepwise.max_height = (video->line_based) ? in video_enum_framesizes()
416 fsize->stepwise.step_width = 1; in video_enum_framesizes()
417 fsize->stepwise.step_height = 1; in video_enum_framesizes()
/linux-6.12.1/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.12.1/drivers/media/platform/st/stm32/stm32-dcmipp/
Ddcmipp-bytecap.c300 fsize->stepwise.min_width = DCMIPP_FRAME_MIN_WIDTH; in dcmipp_bytecap_enum_framesizes()
301 fsize->stepwise.max_width = DCMIPP_FRAME_MAX_WIDTH; in dcmipp_bytecap_enum_framesizes()
302 fsize->stepwise.min_height = DCMIPP_FRAME_MIN_HEIGHT; in dcmipp_bytecap_enum_framesizes()
303 fsize->stepwise.max_height = DCMIPP_FRAME_MAX_HEIGHT; in dcmipp_bytecap_enum_framesizes()
304 fsize->stepwise.step_width = 1; in dcmipp_bytecap_enum_framesizes()
305 fsize->stepwise.step_height = 1; in dcmipp_bytecap_enum_framesizes()
/linux-6.12.1/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.12.1/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec.c612 fsize->stepwise = dec_pdata->vdec_formats[i].frmsize; in vidioc_enum_framesizes()
615 ctx->dev->dec_capability, fsize->stepwise.min_width, in vidioc_enum_framesizes()
616 fsize->stepwise.max_width, fsize->stepwise.step_width, in vidioc_enum_framesizes()
617 fsize->stepwise.min_height, fsize->stepwise.max_height, in vidioc_enum_framesizes()
618 fsize->stepwise.step_height); in vidioc_enum_framesizes()
/linux-6.12.1/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.12.1/drivers/media/pci/mgb4/
Dmgb4_vout.c411 ival->stepwise.max.denominator = MGB4_HW_FREQ; in vidioc_enum_frameintervals()
412 ival->stepwise.max.numerator = 0xFFFFFFFF; in vidioc_enum_frameintervals()
413 ival->stepwise.min.denominator = timings.bt.pixelclock; in vidioc_enum_frameintervals()
414 ival->stepwise.min.numerator = pixel_size(&timings); in vidioc_enum_frameintervals()
415 ival->stepwise.step.denominator = MGB4_HW_FREQ; in vidioc_enum_frameintervals()
416 ival->stepwise.step.numerator = 1; in vidioc_enum_frameintervals()
Dmgb4_vin.c403 ival->stepwise.max.denominator = MGB4_HW_FREQ; in vidioc_enum_frameintervals()
404 ival->stepwise.max.numerator = 0xFFFFFFFF; in vidioc_enum_frameintervals()
405 ival->stepwise.min.denominator = vindev->timings.bt.pixelclock; in vidioc_enum_frameintervals()
406 ival->stepwise.min.numerator = pixel_size(&vindev->timings); in vidioc_enum_frameintervals()
407 ival->stepwise.step.denominator = MGB4_HW_FREQ; in vidioc_enum_frameintervals()
408 ival->stepwise.step.numerator = 1; in vidioc_enum_frameintervals()
/linux-6.12.1/drivers/media/platform/ti/j721e-csi2rx/
Dj721e-csi2rx.c369 fsize->stepwise.min_width = pixels_in_word; in ti_csi2rx_enum_framesizes()
370 fsize->stepwise.max_width = rounddown(MAX_WIDTH_BYTES * 8 / fmt->bpp, in ti_csi2rx_enum_framesizes()
372 fsize->stepwise.step_width = pixels_in_word; in ti_csi2rx_enum_framesizes()
373 fsize->stepwise.min_height = 1; in ti_csi2rx_enum_framesizes()
374 fsize->stepwise.max_height = MAX_HEIGHT_LINES; in ti_csi2rx_enum_framesizes()
375 fsize->stepwise.step_height = 1; in ti_csi2rx_enum_framesizes()
/linux-6.12.1/drivers/media/platform/via/
Dvia-camera.c947 sizes->stepwise.min_width = QCIF_WIDTH; in viacam_enum_framesizes()
948 sizes->stepwise.min_height = QCIF_HEIGHT; in viacam_enum_framesizes()
949 sizes->stepwise.max_width = VGA_WIDTH; in viacam_enum_framesizes()
950 sizes->stepwise.max_height = VGA_HEIGHT; in viacam_enum_framesizes()
951 sizes->stepwise.step_width = sizes->stepwise.step_height = 1; in viacam_enum_framesizes()
/linux-6.12.1/drivers/media/platform/ti/cal/
Dcal-video.c566 fsize->stepwise.min_width = CAL_MIN_WIDTH_BYTES * 8 / bpp; in cal_mc_enum_framesizes()
567 fsize->stepwise.max_width = CAL_MAX_WIDTH_BYTES * 8 / bpp; in cal_mc_enum_framesizes()
568 fsize->stepwise.step_width = 64 / bpp; in cal_mc_enum_framesizes()
569 fsize->stepwise.min_height = CAL_MIN_HEIGHT_LINES; in cal_mc_enum_framesizes()
570 fsize->stepwise.max_height = CAL_MAX_HEIGHT_LINES; in cal_mc_enum_framesizes()
571 fsize->stepwise.step_height = 1; in cal_mc_enum_framesizes()
/linux-6.12.1/drivers/media/platform/broadcom/
Dbcm2835-unicam.c2004 fsize->stepwise.min_width = UNICAM_IMAGE_MIN_WIDTH; in unicam_enum_framesizes()
2005 fsize->stepwise.max_width = UNICAM_IMAGE_MAX_WIDTH; in unicam_enum_framesizes()
2006 fsize->stepwise.step_width = 1; in unicam_enum_framesizes()
2007 fsize->stepwise.min_height = UNICAM_IMAGE_MIN_HEIGHT; in unicam_enum_framesizes()
2008 fsize->stepwise.max_height = UNICAM_IMAGE_MAX_HEIGHT; in unicam_enum_framesizes()
2009 fsize->stepwise.step_height = 1; in unicam_enum_framesizes()
2016 fsize->stepwise.min_width = UNICAM_META_MIN_WIDTH; in unicam_enum_framesizes()
2017 fsize->stepwise.max_width = UNICAM_META_MAX_WIDTH; in unicam_enum_framesizes()
2018 fsize->stepwise.step_width = 1; in unicam_enum_framesizes()
2019 fsize->stepwise.min_height = UNICAM_META_MIN_HEIGHT; in unicam_enum_framesizes()
[all …]
/linux-6.12.1/drivers/staging/media/meson/vdec/
Dvdec.c705 fsize->stepwise.min_width = 256; in vdec_enum_framesizes()
706 fsize->stepwise.max_width = fmt->max_width; in vdec_enum_framesizes()
707 fsize->stepwise.step_width = 1; in vdec_enum_framesizes()
708 fsize->stepwise.min_height = 144; in vdec_enum_framesizes()
709 fsize->stepwise.max_height = fmt->max_height; in vdec_enum_framesizes()
710 fsize->stepwise.step_height = 1; in vdec_enum_framesizes()
/linux-6.12.1/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-video.c1262 fsize->stepwise.min_width = ALIGN(MXC_ISI_MIN_WIDTH, h_align); in mxc_isi_video_enum_framesizes()
1263 fsize->stepwise.min_height = ALIGN(MXC_ISI_MIN_HEIGHT, v_align); in mxc_isi_video_enum_framesizes()
1264 fsize->stepwise.max_width = ALIGN_DOWN(max_width, h_align); in mxc_isi_video_enum_framesizes()
1265 fsize->stepwise.max_height = ALIGN_DOWN(MXC_ISI_MAX_HEIGHT, v_align); in mxc_isi_video_enum_framesizes()
1266 fsize->stepwise.step_width = h_align; in mxc_isi_video_enum_framesizes()
1267 fsize->stepwise.step_height = v_align; in mxc_isi_video_enum_framesizes()
/linux-6.12.1/drivers/media/pci/intel/ipu6/
Dipu6-isys-video.c195 fsize->stepwise.min_width = IPU6_ISYS_MIN_WIDTH; in ipu6_isys_vidioc_enum_framesizes()
196 fsize->stepwise.max_width = IPU6_ISYS_MAX_WIDTH; in ipu6_isys_vidioc_enum_framesizes()
197 fsize->stepwise.min_height = IPU6_ISYS_MIN_HEIGHT; in ipu6_isys_vidioc_enum_framesizes()
198 fsize->stepwise.max_height = IPU6_ISYS_MAX_HEIGHT; in ipu6_isys_vidioc_enum_framesizes()
199 fsize->stepwise.step_width = 2; in ipu6_isys_vidioc_enum_framesizes()
200 fsize->stepwise.step_height = 2; in ipu6_isys_vidioc_enum_framesizes()
/linux-6.12.1/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()

123