Lines Matching refs:fsize
2012 struct v4l2_frmsizeenum *fsize) in vidioc_enum_framesizes() argument
2019 fmt = format_by_fourcc(fsize->pixel_format); in vidioc_enum_framesizes()
2022 fsize->pixel_format); in vidioc_enum_framesizes()
2027 if (fsize->index > 1) in vidioc_enum_framesizes()
2029 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; in vidioc_enum_framesizes()
2030 fsize->discrete.width = maxw / (1 + fsize->index); in vidioc_enum_framesizes()
2031 fsize->discrete.height = maxh / (1 + fsize->index); in vidioc_enum_framesizes()
2035 if (fsize->index != 0) in vidioc_enum_framesizes()
2039 fsize->type = V4L2_FRMSIZE_TYPE_STEPWISE; in vidioc_enum_framesizes()
2041 &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()