Home
last modified time | relevance | path

Searched refs:cap_q (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_h264.c99 struct vb2_queue *cap_q; in cedrus_write_frame_list() local
107 cap_q = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in cedrus_write_frame_list()
119 buf_idx = vb2_find_timestamp(cap_q, dpb->reference_ts, 0); in cedrus_write_frame_list()
123 cedrus_buf = vb2_to_cedrus_buffer(cap_q->bufs[buf_idx]); in cedrus_write_frame_list()
175 struct vb2_queue *cap_q; in _cedrus_write_ref_list() local
181 cap_q = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in _cedrus_write_ref_list()
198 buf_idx = vb2_find_timestamp(cap_q, dpb->reference_ts, 0); in _cedrus_write_ref_list()
202 cedrus_buf = vb2_to_cedrus_buffer(cap_q->bufs[buf_idx]); in _cedrus_write_ref_list()
Dcedrus_vp8.c658 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in cedrus_vp8_setup() local
813 qindex = vb2_find_timestamp(cap_q, slice->last_frame_ts, 0); in cedrus_vp8_setup()
824 qindex = vb2_find_timestamp(cap_q, slice->golden_frame_ts, 0); in cedrus_vp8_setup()
835 qindex = vb2_find_timestamp(cap_q, slice->alt_frame_ts, 0); in cedrus_vp8_setup()
/linux-5.19.10/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-core.c991 ctx->cap_q.fmt = cap_fmt; in s5p_jpeg_open()
1324 return &ctx->cap_q; in get_q_data()
1743 switch (ctx->cap_q.fmt->fourcc) { in exynos3250_jpeg_try_crop()
2059 s5p_jpeg_enc_stream_int(jpeg->regs, ctx->cap_q.size); in s5p_jpeg_device_run()
2095 if (ctx->cap_q.fmt->fourcc == V4L2_PIX_FMT_YUYV) in s5p_jpeg_device_run()
2119 pix_size = ctx->cap_q.w * ctx->cap_q.h; in exynos4_jpeg_set_img_addr()
2127 fmt = ctx->cap_q.fmt; in exynos4_jpeg_set_img_addr()
2213 exynos4_jpeg_set_stream_size(jpeg->regs, ctx->cap_q.w, in exynos4_jpeg_device_run()
2214 ctx->cap_q.h); in exynos4_jpeg_device_run()
2247 exynos4_jpeg_set_stream_size(jpeg->regs, ctx->cap_q.w, in exynos4_jpeg_device_run()
[all …]
Djpeg-core.h233 struct s5p_jpeg_q_data cap_q; member
/linux-5.19.10/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_core.h154 struct mtk_jpeg_q_data cap_q; member
Dmtk_jpeg_core.c239 return &ctx->cap_q; in mtk_jpeg_get_q_data()
363 fmt = ctx->cap_q.fmt; in mtk_jpeg_try_fmt_vid_cap_mplane()
555 s->r.width = ctx->cap_q.pix_mp.width; in mtk_jpeg_dec_g_selection()
556 s->r.height = ctx->cap_q.pix_mp.height; in mtk_jpeg_dec_g_selection()
714 q_data = &ctx->cap_q; in mtk_jpeg_check_resolution_change()
736 q_data = &ctx->cap_q; in mtk_jpeg_set_queue_data()
1181 q = &ctx->cap_q; in mtk_jpeg_set_default_params()
/linux-5.19.10/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.h92 struct mxc_jpeg_q_data cap_q; member
Dmxc-jpeg.c437 return &ctx->cap_q; in mxc_jpeg_get_q_data()
1564 struct mxc_jpeg_q_data *cap_q = &ctx->cap_q; in mxc_jpeg_set_default_params() local
1565 struct mxc_jpeg_q_data *q[2] = {out_q, cap_q}; in mxc_jpeg_set_default_params()
1570 cap_q->fmt = mxc_jpeg_find_format(ctx, V4L2_PIX_FMT_JPEG); in mxc_jpeg_set_default_params()
1573 cap_q->fmt = mxc_jpeg_find_format(ctx, MXC_JPEG_DEFAULT_PFMT); in mxc_jpeg_set_default_params()
/linux-5.19.10/drivers/staging/media/rkvdec/
Drkvdec-h264.c744 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in lookup_ref_buf_idx() local
748 buf_idx = vb2_find_timestamp(cap_q, in lookup_ref_buf_idx()
889 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf() local
899 return vb2_get_buffer(cap_q, buf_idx); in get_ref_buf()
Drkvdec-vp9.c385 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf() local
392 buf_idx = vb2_find_timestamp(cap_q, timestamp, 0); in get_ref_buf()
396 return vb2_to_rkvdec_decoded_buf(vb2_get_buffer(cap_q, buf_idx)); in get_ref_buf()
/linux-5.19.10/drivers/media/platform/renesas/
Drcar_jpu.c281 struct jpu_q_data cap_q; member
743 return &ctx->cap_q; in jpu_get_q_data()
1245 __jpu_try_fmt(ctx, &ctx->cap_q.fmtinfo, &ctx->cap_q.format, in jpu_open()
1374 q_data = &ctx->cap_q; in jpu_device_run()
Drcar_fdp1.c614 struct fdp1_q_data cap_q; /* HW Destination */ member
644 return &ctx->cap_q; in get_q_data()
943 struct fdp1_q_data *q_data = &ctx->cap_q; in fdp1_configure_wpf()
1634 struct fdp1_q_data *dst_data = &ctx->cap_q; in fdp1_set_format()
/linux-5.19.10/drivers/media/platform/nvidia/tegra-vde/
Dh264.c661 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in get_ref_buf() local
665 buf_idx = vb2_find_timestamp(cap_q, in get_ref_buf()
675 return vb2_get_buffer(cap_q, buf_idx); in get_ref_buf()
/linux-5.19.10/drivers/staging/media/imx/
Dimx-media-csc-scaler.c685 struct vb2_queue *cap_q; in ipu_csc_scaler_s_ctrl() local
687 cap_q = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in ipu_csc_scaler_s_ctrl()
689 if (vb2_is_busy(cap_q)) in ipu_csc_scaler_s_ctrl()
/linux-5.19.10/drivers/staging/media/hantro/
Dhantro_g2_vp9_dec.c113 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf() local
120 buf_idx = vb2_find_timestamp(cap_q, timestamp, 0); in get_ref_buf()
124 return vb2_to_hantro_decoded_buf(vb2_get_buffer(cap_q, buf_idx)); in get_ref_buf()