Lines Matching refs:src_buf
223 struct s5p_mfc_buf *dst_buf, *src_buf; in s5p_mfc_handle_frame_copy_time() local
235 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_handle_frame_copy_time()
239 src_buf->b->v4l2_buf.timecode; in s5p_mfc_handle_frame_copy_time()
241 src_buf->b->v4l2_buf.timestamp; in s5p_mfc_handle_frame_copy_time()
245 src_buf->b->v4l2_buf.flags in s5p_mfc_handle_frame_copy_time()
330 struct s5p_mfc_buf *src_buf; in s5p_mfc_handle_frame() local
390 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_handle_frame()
397 src_buf->b->v4l2_planes[0].bytesused) { in s5p_mfc_handle_frame()
404 if (src_buf->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_handle_frame()
406 list_del(&src_buf->list); in s5p_mfc_handle_frame()
409 vb2_buffer_done(src_buf->b, VB2_BUF_STATE_ERROR); in s5p_mfc_handle_frame()
411 vb2_buffer_done(src_buf->b, VB2_BUF_STATE_DONE); in s5p_mfc_handle_frame()
507 struct s5p_mfc_buf *src_buf; in s5p_mfc_handle_seq_done() local
508 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_seq_done()
512 src_buf->b->v4l2_planes[0].bytesused) in s5p_mfc_handle_seq_done()
532 struct s5p_mfc_buf *src_buf; in s5p_mfc_handle_init_buffers() local
549 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_init_buffers()
551 list_del(&src_buf->list); in s5p_mfc_handle_init_buffers()
553 vb2_buffer_done(src_buf->b, in s5p_mfc_handle_init_buffers()