• Home
  • Raw
  • Download

Lines Matching refs:m2m_ctx

391 	vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type);  in vidioc_venc_s_fmt_cap()
455 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_s_fmt_out()
521 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_venc_g_fmt()
664 return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf); in vidioc_venc_qbuf()
678 return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf); in vidioc_venc_dqbuf()
787 v4l2_m2m_buf_queue(ctx->m2m_ctx, to_vb2_v4l2_buffer(vb)); in vb2ops_venc_buf_queue()
807 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming()
810 if (!vb2_start_streaming_called(&ctx->m2m_ctx->out_q_ctx.q)) in vb2ops_venc_start_streaming()
868 while ((dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx))) { in vb2ops_venc_stop_streaming()
873 while ((src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx))) in vb2ops_venc_stop_streaming()
878 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q)) || in vb2ops_venc_stop_streaming()
880 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming()
883 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q), in vb2ops_venc_stop_streaming()
884 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
923 dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_venc_encode_header()
951 src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_venc_encode_header()
969 struct vb2_v4l2_buffer *vb2_v4l2 = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_venc_param_change()
1054 dst_buf = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_venc_worker()
1056 v4l2_m2m_job_finish(ctx->dev->m2m_dev_enc, ctx->m2m_ctx); in mtk_venc_worker()
1060 src_buf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mtk_venc_worker()
1103 v4l2_m2m_job_finish(ctx->dev->m2m_dev_enc, ctx->m2m_ctx); in mtk_venc_worker()
1156 ctx->m2m_ctx->q_lock = &ctx->dev->dev_mutex; in mtk_vcodec_enc_set_default_params()
1157 ctx->fh.m2m_ctx = ctx->m2m_ctx; in mtk_vcodec_enc_set_default_params()