Lines Matching refs:v4l2_m2m_ctx
75 * struct v4l2_m2m_ctx - Memory to memory context structure
99 struct v4l2_m2m_ctx {
147 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
150 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx,
157 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
174 void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx);
181 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
192 struct v4l2_m2m_ctx *m2m_ctx);
200 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
218 struct v4l2_m2m_ctx *m2m_ctx,
230 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
233 v4l2_m2m_clear_state(struct v4l2_m2m_ctx *m2m_ctx)
243 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
246 v4l2_m2m_mark_stopped(struct v4l2_m2m_ctx *m2m_ctx)
260 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
263 v4l2_m2m_dst_buf_is_last(struct v4l2_m2m_ctx *m2m_ctx)
272 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
275 v4l2_m2m_has_stopped(struct v4l2_m2m_ctx *m2m_ctx)
288 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
292 v4l2_m2m_is_last_draining_src_buf(struct v4l2_m2m_ctx *m2m_ctx,
301 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
304 void v4l2_m2m_last_buffer_done(struct v4l2_m2m_ctx *m2m_ctx,
333 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
336 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
343 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
348 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
356 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
359 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
367 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
370 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
378 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
381 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
389 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
392 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
400 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
403 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
410 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
413 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
420 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
423 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
430 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
433 void v4l2_m2m_update_start_streaming_state(struct v4l2_m2m_ctx *m2m_ctx,
440 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
443 void v4l2_m2m_update_stop_streaming_state(struct v4l2_m2m_ctx *m2m_ctx,
450 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
453 int v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
460 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
463 int v4l2_m2m_decoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
470 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
478 __poll_t v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
485 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
495 int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
546 struct v4l2_m2m_ctx *v4l2_m2m_ctx_init(struct v4l2_m2m_dev *m2m_dev,
550 static inline void v4l2_m2m_set_src_buffered(struct v4l2_m2m_ctx *m2m_ctx,
556 static inline void v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx,
565 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
569 void v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx);
574 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
579 void v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx,
586 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
589 unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx)
605 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
608 unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx)
631 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
634 v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx)
643 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
646 v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx)
662 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
665 v4l2_m2m_last_src_buf(struct v4l2_m2m_ctx *m2m_ctx)
674 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
677 v4l2_m2m_last_dst_buf(struct v4l2_m2m_ctx *m2m_ctx)
686 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
695 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
705 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
716 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
726 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
729 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx)
737 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
740 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx)
757 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
760 v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx)
769 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
772 v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx)
791 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
794 static inline void v4l2_m2m_src_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx,
804 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
807 static inline void v4l2_m2m_dst_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx,
817 v4l2_m2m_src_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx)
823 v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx)