Lines Matching refs:v_fmt
290 *f = ctx->v_fmt; in cal_g_fmt_vid_cap()
313 f->fmt.pix.field = ctx->v_fmt.fmt.pix.field; in cal_try_fmt_vid_cap()
342 f->fmt.pix.width = ctx->v_fmt.fmt.pix.width; in cal_try_fmt_vid_cap()
343 f->fmt.pix.height = ctx->v_fmt.fmt.pix.height; in cal_try_fmt_vid_cap()
350 f->fmt.pix.colorspace = ctx->v_fmt.fmt.pix.colorspace; in cal_try_fmt_vid_cap()
388 v4l2_fill_pix_format(&ctx->v_fmt.fmt.pix, &mbus_fmt); in cal_s_fmt_vid_cap()
389 ctx->v_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in cal_s_fmt_vid_cap()
390 ctx->v_fmt.fmt.pix.pixelformat = fmt->fourcc; in cal_s_fmt_vid_cap()
391 cal_calc_format_size(ctx, fmt, &ctx->v_fmt); in cal_s_fmt_vid_cap()
394 *f = ctx->v_fmt; in cal_s_fmt_vid_cap()
532 unsigned int size = ctx->v_fmt.fmt.pix.sizeimage; in cal_queue_setup()
561 size = ctx->v_fmt.fmt.pix.sizeimage; in cal_buffer_prepare()
616 cal_ctx_wr_dma_config(ctx, ctx->v_fmt.fmt.pix.bytesperline, in cal_start_streaming()
617 ctx->v_fmt.fmt.pix.height); in cal_start_streaming()
779 v4l2_fill_pix_format(&ctx->v_fmt.fmt.pix, &mbus_fmt); in cal_ctx_v4l2_init_formats()
780 ctx->v_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in cal_ctx_v4l2_init_formats()
781 ctx->v_fmt.fmt.pix.pixelformat = fmt->fourcc; in cal_ctx_v4l2_init_formats()
782 cal_calc_format_size(ctx, fmt, &ctx->v_fmt); in cal_ctx_v4l2_init_formats()