Lines Matching refs:v4l2_m2m_ctx
99 struct v4l2_m2m_ctx { struct
150 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx,
174 void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx);
192 struct v4l2_m2m_ctx *m2m_ctx);
218 struct v4l2_m2m_ctx *m2m_ctx,
233 v4l2_m2m_clear_state(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_clear_state()
246 v4l2_m2m_mark_stopped(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_mark_stopped()
263 v4l2_m2m_dst_buf_is_last(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_dst_buf_is_last()
275 v4l2_m2m_has_stopped(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_has_stopped()
292 v4l2_m2m_is_last_draining_src_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_is_last_draining_src_buf()
304 void v4l2_m2m_last_buffer_done(struct v4l2_m2m_ctx *m2m_ctx,
336 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
348 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
359 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
370 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
381 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
392 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
403 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
413 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
423 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
433 void v4l2_m2m_update_start_streaming_state(struct v4l2_m2m_ctx *m2m_ctx,
443 void v4l2_m2m_update_stop_streaming_state(struct v4l2_m2m_ctx *m2m_ctx,
453 int v4l2_m2m_encoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
463 int v4l2_m2m_decoder_cmd(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
478 __poll_t v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *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, in v4l2_m2m_set_src_buffered()
556 static inline void v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_set_dst_buffered()
569 void v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx);
579 void v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx,
589 unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_num_src_bufs_ready()
601 unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_num_dst_bufs_ready()
620 v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_next_src_buf()
632 v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_next_dst_buf()
651 v4l2_m2m_last_src_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_last_src_buf()
663 v4l2_m2m_last_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_last_dst_buf()
715 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_src_vq()
726 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_get_dst_vq()
746 v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_src_buf_remove()
758 v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_dst_buf_remove()
780 static inline void v4l2_m2m_src_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_src_buf_remove_by_buf()
793 static inline void v4l2_m2m_dst_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_dst_buf_remove_by_buf()
803 v4l2_m2m_src_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) in v4l2_m2m_src_buf_remove_by_idx()
809 v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx) in v4l2_m2m_dst_buf_remove_by_idx()