Lines Matching refs:src_buf
196 struct s5p_mfc_buf *dst_buf, *src_buf; in s5p_mfc_handle_frame_copy_time() local
202 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_handle_frame_copy_time()
206 &src_buf->b->v4l2_buf.timecode, in s5p_mfc_handle_frame_copy_time()
209 &src_buf->b->v4l2_buf.timestamp, in s5p_mfc_handle_frame_copy_time()
280 struct s5p_mfc_buf *src_buf; in s5p_mfc_handle_frame() local
332 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_handle_frame()
338 src_buf->b->v4l2_planes[0].bytesused) { in s5p_mfc_handle_frame()
343 index = src_buf->b->v4l2_buf.index; in s5p_mfc_handle_frame()
346 list_del(&src_buf->list); in s5p_mfc_handle_frame()
349 vb2_buffer_done(src_buf->b, VB2_BUF_STATE_ERROR); in s5p_mfc_handle_frame()
351 vb2_buffer_done(src_buf->b, VB2_BUF_STATE_DONE); in s5p_mfc_handle_frame()
495 struct s5p_mfc_buf *src_buf; in s5p_mfc_handle_init_buffers() local
514 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_init_buffers()
516 list_del(&src_buf->list); in s5p_mfc_handle_init_buffers()
518 vb2_buffer_done(src_buf->b, in s5p_mfc_handle_init_buffers()