Lines Matching refs:pix_fmt
326 static void deinterlace_prepare_format(struct v4l2_pix_format *pix_fmt) in deinterlace_prepare_format() argument
328 unsigned int height = pix_fmt->height; in deinterlace_prepare_format()
329 unsigned int width = pix_fmt->width; in deinterlace_prepare_format()
344 pix_fmt->width = width; in deinterlace_prepare_format()
345 pix_fmt->height = height; in deinterlace_prepare_format()
346 pix_fmt->bytesperline = bytesperline; in deinterlace_prepare_format()
347 pix_fmt->sizeimage = sizeimage; in deinterlace_prepare_format()
521 struct v4l2_pix_format *pix_fmt; in deinterlace_queue_setup() local
524 pix_fmt = &ctx->src_fmt; in deinterlace_queue_setup()
526 pix_fmt = &ctx->dst_fmt; in deinterlace_queue_setup()
529 if (sizes[0] < pix_fmt->sizeimage) in deinterlace_queue_setup()
532 sizes[0] = pix_fmt->sizeimage; in deinterlace_queue_setup()
543 struct v4l2_pix_format *pix_fmt; in deinterlace_buf_prepare() local
546 pix_fmt = &ctx->src_fmt; in deinterlace_buf_prepare()
548 pix_fmt = &ctx->dst_fmt; in deinterlace_buf_prepare()
550 if (vb2_plane_size(vb, 0) < pix_fmt->sizeimage) in deinterlace_buf_prepare()
553 vb2_set_plane_payload(vb, 0, pix_fmt->sizeimage); in deinterlace_buf_prepare()