Lines Matching refs:frmsize
2471 struct v4l2_frmsizeenum frmsize;
2473 if (copy_from_user(&frmsize, arg, sizeof(frmsize)))
2476 if (frmsize.index != 0)
2483 if (frmsize.pixel_format != V4L2_PIX_FMT_SN9C10X &&
2484 frmsize.pixel_format != V4L2_PIX_FMT_SBGGR8)
2488 if (frmsize.pixel_format != V4L2_PIX_FMT_JPEG &&
2489 frmsize.pixel_format != V4L2_PIX_FMT_SBGGR8)
2493 frmsize.type = V4L2_FRMSIZE_TYPE_STEPWISE;
2494 frmsize.stepwise.min_width = frmsize.stepwise.step_width = 16;
2495 frmsize.stepwise.min_height = frmsize.stepwise.step_height = 16;
2496 frmsize.stepwise.max_width = cam->sensor.cropcap.bounds.width;
2497 frmsize.stepwise.max_height = cam->sensor.cropcap.bounds.height;
2498 memset(&frmsize.reserved, 0, sizeof(frmsize.reserved));
2500 if (copy_to_user(arg, &frmsize, sizeof(frmsize)))