Home
last modified time | relevance | path

Searched refs:m2m_ctx (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateful.c135 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in get_free_buffer()
151 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in get_free_buffer()
287 src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_vdec_worker()
289 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker()
294 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mtk_vdec_worker()
296 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker()
324 src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mtk_vdec_worker()
327 dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_vdec_worker()
340 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker()
351 v4l2_m2m_job_finish(dev->m2m_dev_dec, ctx->m2m_ctx); in mtk_vdec_worker()
[all …]
/linux/drivers/staging/media/meson/vdec/
H A Dcodec_hevc_common.c62 u32 buf_num = v4l2_m2m_num_dst_bufs_ready(sess->m2m_ctx); in codec_hevc_setup_buffers_gxbb()
71 v4l2_m2m_for_each_dst_buf(sess->m2m_ctx, buf) { in codec_hevc_setup_buffers_gxbb()
124 v4l2_m2m_for_each_dst_buf(sess->m2m_ctx, buf) { in codec_hevc_setup_buffers_gxl()
178 v4l2_m2m_for_each_dst_buf(sess->m2m_ctx, buf) { in codec_hevc_alloc_fbc_buffers()
231 v4l2_m2m_for_each_dst_buf(sess->m2m_ctx, buf) { in codec_hevc_alloc_mmu_headers()
H A Dvdec_helpers.c192 v4l2_m2m_for_each_dst_buf(sess->m2m_ctx, buf) { in amvdec_set_canvases()
412 vbuf = v4l2_m2m_dst_buf_remove_by_idx(sess->m2m_ctx, in amvdec_dst_buf_done_idx()
477 vb2_queue_error(&sess->m2m_ctx->cap_q_ctx.q); in amvdec_abort()
478 vb2_queue_error(&sess->m2m_ctx->out_q_ctx.q); in amvdec_abort()
H A Desparser.c315 num_dst_bufs += v4l2_m2m_num_dst_bufs_ready(sess->m2m_ctx); in esparser_queue()
325 v4l2_m2m_src_buf_remove_by_buf(sess->m2m_ctx, vbuf); in esparser_queue()
379 v4l2_m2m_for_each_src_buf_safe(sess->m2m_ctx, buf, n) { in esparser_queue_all_src()
H A Dcodec_vp9.c676 v4l2_m2m_buf_queue(sess->m2m_ctx, tmp->vbuf); in codec_vp9_flush_output()
1199 vbuf = v4l2_m2m_dst_buf_remove(sess->m2m_ctx); in codec_vp9_get_new_frame()
1209 vbuf = v4l2_m2m_dst_buf_remove(sess->m2m_ctx); in codec_vp9_get_new_frame()
1210 v4l2_m2m_buf_queue(sess->m2m_ctx, old_vbuf); in codec_vp9_get_new_frame()
1251 v4l2_m2m_buf_queue(sess->m2m_ctx, tmp->vbuf); in codec_vp9_rm_noshow_frame()
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-m2m.h35 struct v4l2_m2m_ctx *m2m_ctx; member
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c100 cap_q = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in cedrus_write_frame_list()
201 cap_q = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in _cedrus_write_ref_list()
446 if (ctx->fh.m2m_ctx->new_frame) in cedrus_set_params()
654 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in cedrus_h264_stop()
H A Dcedrus_h265.c152 struct vb2_queue *vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in cedrus_h265_frame_info_write_dpb()
527 if (ctx->fh.m2m_ctx->new_frame) in cedrus_h265_setup()
706 if (ctx->fh.m2m_ctx->new_frame) in cedrus_h265_setup()
868 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in cedrus_h265_stop()
H A Dcedrus_mpeg2.c122 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE); in cedrus_mpeg2_setup()
H A Dcedrus_vp8.c657 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in cedrus_vp8_setup()
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.h207 struct v4l2_m2m_ctx *m2m_ctx; member
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_common.c56 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE); in mtk_vdec_h264_fill_dpb_info()
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c886 if (!ctx || !ctx->m2m_ctx) in gsc_irq_handler()