Home
last modified time | relevance | path

Searched refs:q_data_src (Results 1 – 3 of 3) sorted by relevance

/drivers/media/platform/coda/
Dcoda-bit.c625 struct coda_q_data *q_data_src; in coda_encode_header() local
643 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_encode_header()
644 r = &q_data_src->rect; in coda_encode_header()
831 struct coda_q_data *q_data_src; in coda_setup_iram() local
833 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_setup_iram()
834 mb_width = DIV_ROUND_UP(q_data_src->rect.width, 16); in coda_setup_iram()
1041 struct coda_q_data *q_data_src; in coda_encoder_reqbufs() local
1048 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_encoder_reqbufs()
1049 ret = coda_alloc_context_buffers(ctx, q_data_src); in coda_encoder_reqbufs()
1063 struct coda_q_data *q_data_src, *q_data_dst; in coda_start_encoding() local
[all …]
Dcoda-common.c585 const struct coda_q_data *q_data_src; in coda_try_fmt_vid_cap() local
595 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_try_fmt_vid_cap()
603 f->fmt.pix.width = q_data_src->width; in coda_try_fmt_vid_cap()
604 f->fmt.pix.height = q_data_src->height; in coda_try_fmt_vid_cap()
612 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_try_fmt_vid_cap()
613 codec = coda_find_codec(ctx->dev, q_data_src->fourcc, in coda_try_fmt_vid_cap()
759 struct coda_q_data *q_data_src; in coda_s_fmt_vid_cap() local
768 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_s_fmt_vid_cap()
771 r.width = q_data_src->width; in coda_s_fmt_vid_cap()
772 r.height = q_data_src->height; in coda_s_fmt_vid_cap()
[all …]
/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c372 struct mtk_q_data *q_data_src = &ctx->q_data[MTK_Q_DATA_SRC]; in mtk_venc_set_param() local
375 switch (q_data_src->fmt->fourcc) { in mtk_venc_set_param()
389 mtk_v4l2_err("Unsupported fourcc =%d", q_data_src->fmt->fourcc); in mtk_venc_set_param()
396 param->width = q_data_src->visible_width; in mtk_venc_set_param()
397 param->height = q_data_src->visible_height; in mtk_venc_set_param()
399 param->buf_width = q_data_src->coded_width; in mtk_venc_set_param()
400 param->buf_height = q_data_src->coded_height; in mtk_venc_set_param()