Lines Matching refs:cvd
444 const struct coda_video_device *cvd = to_coda_video_device(vdev); in coda_enum_fmt() local
449 formats = cvd->src_formats; in coda_enum_fmt()
454 formats = cvd->dst_formats; in coda_enum_fmt()
523 formats = ctx->cvd->src_formats; in coda_try_pixelformat()
525 formats = ctx->cvd->dst_formats; in coda_try_pixelformat()
1656 ctx->codec = coda_find_codec(ctx->dev, ctx->cvd->src_formats[0], in set_default_params()
1657 ctx->cvd->dst_formats[0]); in set_default_params()
1664 if (ctx->cvd->src_formats[0] == V4L2_PIX_FMT_JPEG || in set_default_params()
1665 ctx->cvd->dst_formats[0] == V4L2_PIX_FMT_JPEG) { in set_default_params()
1679 ctx->q_data[V4L2_M2M_SRC].fourcc = ctx->cvd->src_formats[0]; in set_default_params()
1680 ctx->q_data[V4L2_M2M_DST].fourcc = ctx->cvd->dst_formats[0]; in set_default_params()
2502 if (ctx->cvd->dst_formats[0] == V4L2_PIX_FMT_JPEG) in coda_ctrls_setup()
2510 if (ctx->cvd->src_formats[0] == V4L2_PIX_FMT_H264) in coda_ctrls_setup()
2631 ctx->cvd = to_coda_video_device(vdev); in coda_open()
2632 ctx->inst_type = ctx->cvd->type; in coda_open()
2633 ctx->ops = ctx->cvd->ops; in coda_open()
2634 ctx->use_bit = !ctx->cvd->direct; in coda_open()