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,
551 struct v4l2_m2m_ctx *v4l2_m2m_ctx_init(struct v4l2_m2m_dev *m2m_dev,
555 static inline void v4l2_m2m_set_src_buffered(struct v4l2_m2m_ctx *m2m_ctx,
561 static inline void v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx,
570 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
574 void v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx);
579 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
584 void v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx,
591 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
594 unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx)
610 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
613 unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx)
636 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
639 v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx)
648 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
651 v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx)
667 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
670 v4l2_m2m_last_src_buf(struct v4l2_m2m_ctx *m2m_ctx)
679 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
682 v4l2_m2m_last_dst_buf(struct v4l2_m2m_ctx *m2m_ctx)
691 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
700 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
710 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
721 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
731 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
734 struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx)
742 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
745 struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx)
762 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
765 v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx)
774 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
777 v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx)
796 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
799 static inline void v4l2_m2m_src_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx,
809 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx
812 static inline void v4l2_m2m_dst_buf_remove_by_buf(struct v4l2_m2m_ctx *m2m_ctx,
822 v4l2_m2m_src_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx)
828 v4l2_m2m_dst_buf_remove_by_idx(struct v4l2_m2m_ctx *m2m_ctx, unsigned int idx)