Home
last modified time | relevance | path

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

/Linux-v5.10/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-jpeg.c280 struct coda_q_data *q_data_src; in coda_jpeg_decode_header() local
300 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_jpeg_decode_header()
301 if (header.frame.height != q_data_src->height || in coda_jpeg_decode_header()
302 header.frame.width != q_data_src->width) { in coda_jpeg_decode_header()
878 struct coda_q_data *q_data_src; in coda9_jpeg_encode_header() local
882 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda9_jpeg_encode_header()
883 chroma_format = coda9_jpeg_chroma_format(q_data_src->fourcc); in coda9_jpeg_encode_header()
945 ret = coda_jpeg_put_word(q_data_src->height, &stream); in coda9_jpeg_encode_header()
948 ret = coda_jpeg_put_word(q_data_src->width, &stream); in coda9_jpeg_encode_header()
1066 struct coda_q_data *q_data_src; in coda9_jpeg_prepare_encode() local
[all …]
Dcoda-common.c449 struct coda_q_data *q_data_src; in coda_enum_fmt() local
458 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_enum_fmt()
461 if (q_data_src->fourcc == V4L2_PIX_FMT_JPEG && in coda_enum_fmt()
650 const struct coda_q_data *q_data_src; in coda_try_fmt_vid_cap() local
660 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_try_fmt_vid_cap()
669 f->fmt.pix.width = q_data_src->width; in coda_try_fmt_vid_cap()
670 f->fmt.pix.height = q_data_src->height; in coda_try_fmt_vid_cap()
672 if (q_data_src->fourcc == V4L2_PIX_FMT_JPEG) { in coda_try_fmt_vid_cap()
688 q_data_src = get_q_data(ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT); in coda_try_fmt_vid_cap()
689 codec = coda_find_codec(ctx->dev, q_data_src->fourcc, in coda_try_fmt_vid_cap()
[all …]
/Linux-v5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c337 struct mtk_q_data *q_data_src = &ctx->q_data[MTK_Q_DATA_SRC]; in mtk_venc_set_param() local
340 switch (q_data_src->fmt->fourcc) { in mtk_venc_set_param()
354 mtk_v4l2_err("Unsupported fourcc =%d", q_data_src->fmt->fourcc); in mtk_venc_set_param()
361 param->width = q_data_src->visible_width; in mtk_venc_set_param()
362 param->height = q_data_src->visible_height; in mtk_venc_set_param()
364 param->buf_width = q_data_src->coded_width; in mtk_venc_set_param()
365 param->buf_height = q_data_src->coded_height; in mtk_venc_set_param()