Lines Matching refs:pix_format
379 struct v4l2_pix_format *pix_format = &format->fmt.pix;
385 v4l_bound_align_image(&pix_format->width, SUN6I_ISP_CAPTURE_WIDTH_MIN,
387 &pix_format->height, SUN6I_ISP_CAPTURE_HEIGHT_MIN,
390 if (!sun6i_isp_capture_format_find(pix_format->pixelformat))
391 pix_format->pixelformat =
394 info = v4l2_format_info(pix_format->pixelformat);
398 width = pix_format->width;
399 height = pix_format->height;
404 pix_format->bytesperline = width_aligned * info->bpp[0];
405 pix_format->sizeimage = 0;
411 pix_format->sizeimage += info->bpp[i] *
416 pix_format->field = V4L2_FIELD_NONE;
418 pix_format->colorspace = V4L2_COLORSPACE_RAW;
419 pix_format->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
420 pix_format->quantization = V4L2_QUANTIZATION_DEFAULT;
421 pix_format->xfer_func = V4L2_XFER_FUNC_DEFAULT;
634 struct v4l2_pix_format *pix_format = &format->fmt.pix;
678 pix_format->pixelformat = sun6i_isp_capture_formats[0].pixelformat;
679 pix_format->width = 1280;
680 pix_format->height = 720;