fival 803 drivers/media/i2c/imx214.c struct v4l2_subdev_frame_interval *fival) fival 805 drivers/media/i2c/imx214.c fival->pad = 0; fival 806 drivers/media/i2c/imx214.c fival->interval.numerator = 1; fival 807 drivers/media/i2c/imx214.c fival->interval.denominator = IMX214_FPS; fival 1109 drivers/media/platform/aspeed-video.c struct v4l2_frmivalenum *fival) fival 1113 drivers/media/platform/aspeed-video.c if (fival->index) fival 1116 drivers/media/platform/aspeed-video.c if (fival->width != video->detected_timings.width || fival 1117 drivers/media/platform/aspeed-video.c fival->height != video->detected_timings.height) fival 1120 drivers/media/platform/aspeed-video.c if (fival->pixel_format != V4L2_PIX_FMT_JPEG) fival 1123 drivers/media/platform/aspeed-video.c fival->type = V4L2_FRMIVAL_TYPE_CONTINUOUS; fival 1125 drivers/media/platform/aspeed-video.c fival->stepwise.min.denominator = MAX_FRAME_RATE; fival 1126 drivers/media/platform/aspeed-video.c fival->stepwise.min.numerator = 1; fival 1127 drivers/media/platform/aspeed-video.c fival->stepwise.max.denominator = 1; fival 1128 drivers/media/platform/aspeed-video.c fival->stepwise.max.numerator = 1; fival 1129 drivers/media/platform/aspeed-video.c fival->stepwise.step = fival->stepwise.max; fival 1449 drivers/media/platform/atmel/atmel-isc-base.c struct v4l2_frmivalenum *fival) fival 1453 drivers/media/platform/atmel/atmel-isc-base.c .index = fival->index, fival 1454 drivers/media/platform/atmel/atmel-isc-base.c .width = fival->width, fival 1455 drivers/media/platform/atmel/atmel-isc-base.c .height = fival->height, fival 1462 drivers/media/platform/atmel/atmel-isc-base.c if (isc->user_formats[i]->fourcc == fival->pixel_format) fival 1466 drivers/media/platform/atmel/atmel-isc-base.c if (controller_formats[i].fourcc == fival->pixel_format) fival 1478 drivers/media/platform/atmel/atmel-isc-base.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1479 drivers/media/platform/atmel/atmel-isc-base.c fival->discrete = fie.interval; fival 729 drivers/media/platform/atmel/atmel-isi.c struct v4l2_frmivalenum *fival) fival 734 drivers/media/platform/atmel/atmel-isi.c .index = fival->index, fival 735 drivers/media/platform/atmel/atmel-isi.c .width = fival->width, fival 736 drivers/media/platform/atmel/atmel-isi.c .height = fival->height, fival 741 drivers/media/platform/atmel/atmel-isi.c isi_fmt = find_format_by_fourcc(isi, fival->pixel_format); fival 752 drivers/media/platform/atmel/atmel-isi.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 753 drivers/media/platform/atmel/atmel-isi.c fival->discrete = fie.interval; fival 574 drivers/media/platform/qcom/venus/venc.c struct v4l2_frmivalenum *fival) fival 579 drivers/media/platform/qcom/venus/venc.c fival->type = V4L2_FRMIVAL_TYPE_STEPWISE; fival 581 drivers/media/platform/qcom/venus/venc.c fmt = find_format(inst, fival->pixel_format, fival 584 drivers/media/platform/qcom/venus/venc.c fmt = find_format(inst, fival->pixel_format, fival 590 drivers/media/platform/qcom/venus/venc.c if (fival->index) fival 593 drivers/media/platform/qcom/venus/venc.c if (!fival->width || !fival->height) fival 596 drivers/media/platform/qcom/venus/venc.c if (fival->width > frame_width_max(inst) || fival 597 drivers/media/platform/qcom/venus/venc.c fival->width < frame_width_min(inst) || fival 598 drivers/media/platform/qcom/venus/venc.c fival->height > frame_height_max(inst) || fival 599 drivers/media/platform/qcom/venus/venc.c fival->height < frame_height_min(inst)) fival 602 drivers/media/platform/qcom/venus/venc.c fival->stepwise.min.numerator = 1; fival 603 drivers/media/platform/qcom/venus/venc.c fival->stepwise.min.denominator = frate_max(inst); fival 604 drivers/media/platform/qcom/venus/venc.c fival->stepwise.max.numerator = 1; fival 605 drivers/media/platform/qcom/venus/venc.c fival->stepwise.max.denominator = frate_min(inst); fival 606 drivers/media/platform/qcom/venus/venc.c fival->stepwise.step.numerator = 1; fival 607 drivers/media/platform/qcom/venus/venc.c fival->stepwise.step.denominator = frate_max(inst); fival 1307 drivers/media/platform/renesas-ceu.c struct v4l2_frmivalenum *fival) fival 1317 drivers/media/platform/renesas-ceu.c .index = fival->index, fival 1318 drivers/media/platform/renesas-ceu.c .width = fival->width, fival 1319 drivers/media/platform/renesas-ceu.c .height = fival->height, fival 1324 drivers/media/platform/renesas-ceu.c ceu_fmt = get_ceu_fmt_from_fourcc(fival->pixel_format); fival 1333 drivers/media/platform/renesas-ceu.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1334 drivers/media/platform/renesas-ceu.c fival->discrete = fie.interval; fival 1400 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_frmivalenum *fival) fival 1405 drivers/media/platform/stm32/stm32-dcmi.c .index = fival->index, fival 1406 drivers/media/platform/stm32/stm32-dcmi.c .width = fival->width, fival 1407 drivers/media/platform/stm32/stm32-dcmi.c .height = fival->height, fival 1412 drivers/media/platform/stm32/stm32-dcmi.c sd_fmt = find_format_by_fourcc(dcmi, fival->pixel_format); fival 1423 drivers/media/platform/stm32/stm32-dcmi.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1424 drivers/media/platform/stm32/stm32-dcmi.c fival->discrete = fie.interval; fival 1181 drivers/media/platform/ti-vpe/cal.c struct v4l2_frmivalenum *fival) fival 1186 drivers/media/platform/ti-vpe/cal.c .index = fival->index, fival 1187 drivers/media/platform/ti-vpe/cal.c .width = fival->width, fival 1188 drivers/media/platform/ti-vpe/cal.c .height = fival->height, fival 1193 drivers/media/platform/ti-vpe/cal.c fmt = find_format_by_pix(ctx, fival->pixel_format); fival 1202 drivers/media/platform/ti-vpe/cal.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1203 drivers/media/platform/ti-vpe/cal.c fival->discrete = fie.interval; fival 1830 drivers/media/platform/vivid/vivid-vid-cap.c struct v4l2_frmivalenum *fival) fival 1836 drivers/media/platform/vivid/vivid-vid-cap.c fmt = vivid_get_format(dev, fival->pixel_format); fival 1841 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->index) fival 1843 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->width < MIN_WIDTH || fival->width > MAX_WIDTH * MAX_ZOOM) fival 1845 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->height < MIN_HEIGHT || fival->height > MAX_HEIGHT * MAX_ZOOM) fival 1847 drivers/media/platform/vivid/vivid-vid-cap.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1848 drivers/media/platform/vivid/vivid-vid-cap.c fival->discrete = dev->timeperframe_vid_cap; fival 1853 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->width == webcam_sizes[i].width && fival 1854 drivers/media/platform/vivid/vivid-vid-cap.c fival->height == webcam_sizes[i].height) fival 1858 drivers/media/platform/vivid/vivid-vid-cap.c if (fival->index >= 2 * (VIVID_WEBCAM_SIZES - i)) fival 1860 drivers/media/platform/vivid/vivid-vid-cap.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1861 drivers/media/platform/vivid/vivid-vid-cap.c fival->discrete = webcam_intervals[fival->index]; fival 55 drivers/media/platform/vivid/vivid-vid-cap.h int vidioc_enum_frameintervals(struct file *file, void *priv, struct v4l2_frmivalenum *fival); fival 567 drivers/media/usb/cpia2/cpia2_v4l.c struct v4l2_frmivalenum *fival) fival 573 drivers/media/usb/cpia2/cpia2_v4l.c if (fival->pixel_format != V4L2_PIX_FMT_MJPEG && fival 574 drivers/media/usb/cpia2/cpia2_v4l.c fival->pixel_format != V4L2_PIX_FMT_JPEG) fival 581 drivers/media/usb/cpia2/cpia2_v4l.c if (fival->index > max) fival 584 drivers/media/usb/cpia2/cpia2_v4l.c if (fival->width == cpia2_framesizes[i].width && fival 585 drivers/media/usb/cpia2/cpia2_v4l.c fival->height == cpia2_framesizes[i].height) fival 589 drivers/media/usb/cpia2/cpia2_v4l.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 590 drivers/media/usb/cpia2/cpia2_v4l.c fival->discrete = framerate_controls[fival->index].period; fival 532 drivers/media/usb/go7007/go7007-v4l2.c struct v4l2_frmivalenum *fival) fival 538 drivers/media/usb/go7007/go7007-v4l2.c if (fival->index > 4) fival 541 drivers/media/usb/go7007/go7007-v4l2.c if (!valid_pixelformat(fival->pixel_format)) fival 547 drivers/media/usb/go7007/go7007-v4l2.c if (fival->width == ((width >> i) & ~0xf) && fival 548 drivers/media/usb/go7007/go7007-v4l2.c fival->height == ((height >> i) & ~0xf)) fival 553 drivers/media/usb/go7007/go7007-v4l2.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 554 drivers/media/usb/go7007/go7007-v4l2.c fival->discrete.numerator = 1001 * (fival->index + 1); fival 555 drivers/media/usb/go7007/go7007-v4l2.c fival->discrete.denominator = go->sensor_framerate; fival 1144 drivers/media/usb/gspca/gspca.c struct v4l2_frmivalenum *fival) fival 1150 drivers/media/usb/gspca/gspca.c mode = wxh_to_mode(gspca_dev, fival->width, fival->height, fival 1151 drivers/media/usb/gspca/gspca.c fival->pixel_format); fival 1159 drivers/media/usb/gspca/gspca.c if (fival->pixel_format != fival 1164 drivers/media/usb/gspca/gspca.c if (fival->index == i) { fival 1165 drivers/media/usb/gspca/gspca.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1166 drivers/media/usb/gspca/gspca.c fival->discrete.numerator = 1; fival 1167 drivers/media/usb/gspca/gspca.c fival->discrete.denominator = fival 932 drivers/media/usb/pwc/pwc-v4l.c struct v4l2_frmivalenum *fival) fival 939 drivers/media/usb/pwc/pwc-v4l.c if (pwc_image_sizes[i][0] == fival->width && fival 940 drivers/media/usb/pwc/pwc-v4l.c pwc_image_sizes[i][1] == fival->height) { fival 947 drivers/media/usb/pwc/pwc-v4l.c if (size < 0 || fival->pixel_format != V4L2_PIX_FMT_YUV420) fival 950 drivers/media/usb/pwc/pwc-v4l.c i = pwc_get_fps(pdev, fival->index, size); fival 954 drivers/media/usb/pwc/pwc-v4l.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 955 drivers/media/usb/pwc/pwc-v4l.c fival->discrete.numerator = 1; fival 956 drivers/media/usb/pwc/pwc-v4l.c fival->discrete.denominator = i; fival 1205 drivers/media/usb/uvc/uvc_v4l2.c struct v4l2_frmivalenum *fival) fival 1217 drivers/media/usb/uvc/uvc_v4l2.c if (stream->format[i].fcc == fival->pixel_format) { fival 1225 drivers/media/usb/uvc/uvc_v4l2.c index = fival->index; fival 1227 drivers/media/usb/uvc/uvc_v4l2.c if (format->frame[i].wWidth == fival->width && fival 1228 drivers/media/usb/uvc/uvc_v4l2.c format->frame[i].wHeight == fival->height) { fival 1240 drivers/media/usb/uvc/uvc_v4l2.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 1241 drivers/media/usb/uvc/uvc_v4l2.c fival->discrete.numerator = fival 1243 drivers/media/usb/uvc/uvc_v4l2.c fival->discrete.denominator = 10000000; fival 1244 drivers/media/usb/uvc/uvc_v4l2.c uvc_simplify_fraction(&fival->discrete.numerator, fival 1245 drivers/media/usb/uvc/uvc_v4l2.c &fival->discrete.denominator, 8, 333); fival 1247 drivers/media/usb/uvc/uvc_v4l2.c fival->type = V4L2_FRMIVAL_TYPE_STEPWISE; fival 1248 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.min.numerator = frame->dwFrameInterval[0]; fival 1249 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.min.denominator = 10000000; fival 1250 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.max.numerator = frame->dwFrameInterval[1]; fival 1251 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.max.denominator = 10000000; fival 1252 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.step.numerator = frame->dwFrameInterval[2]; fival 1253 drivers/media/usb/uvc/uvc_v4l2.c fival->stepwise.step.denominator = 10000000; fival 1254 drivers/media/usb/uvc/uvc_v4l2.c uvc_simplify_fraction(&fival->stepwise.min.numerator, fival 1255 drivers/media/usb/uvc/uvc_v4l2.c &fival->stepwise.min.denominator, 8, 333); fival 1256 drivers/media/usb/uvc/uvc_v4l2.c uvc_simplify_fraction(&fival->stepwise.max.numerator, fival 1257 drivers/media/usb/uvc/uvc_v4l2.c &fival->stepwise.max.denominator, 8, 333); fival 1258 drivers/media/usb/uvc/uvc_v4l2.c uvc_simplify_fraction(&fival->stepwise.step.numerator, fival 1259 drivers/media/usb/uvc/uvc_v4l2.c &fival->stepwise.step.denominator, 8, 333); fival 123 drivers/staging/media/imx/imx-media-capture.c struct v4l2_frmivalenum *fival) fival 128 drivers/staging/media/imx/imx-media-capture.c .index = fival->index, fival 130 drivers/staging/media/imx/imx-media-capture.c .width = fival->width, fival 131 drivers/staging/media/imx/imx-media-capture.c .height = fival->height, fival 136 drivers/staging/media/imx/imx-media-capture.c cc = imx_media_find_format(fival->pixel_format, CS_SEL_ANY, true); fival 147 drivers/staging/media/imx/imx-media-capture.c fival->type = V4L2_FRMIVAL_TYPE_DISCRETE; fival 148 drivers/staging/media/imx/imx-media-capture.c fival->discrete = fie.interval; fival 1342 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c struct v4l2_frmivalenum *fival) fival 1347 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (fival->index) fival 1351 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (formats[i].fourcc == fival->pixel_format) fival 1357 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c if (fival->width < MIN_WIDTH || fival->width > dev->max_width || fival 1358 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fival->height < MIN_HEIGHT || fival->height > dev->max_height) fival 1361 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fival->type = V4L2_FRMIVAL_TYPE_CONTINUOUS; fival 1364 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fival->stepwise.min = tpf_min; fival 1365 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fival->stepwise.max = tpf_max; fival 1366 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c fival->stepwise.step = (struct v4l2_fract) {1, 1}; fival 562 include/media/v4l2-ioctl.h struct v4l2_frmivalenum *fival);