Home
last modified time | relevance | path

Searched refs:next_dst_buf (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/media/platform/vicodec/
Dvicodec-core.c1224 struct vb2_v4l2_buffer *next_dst_buf; in vicodec_mark_last_buf() local
1240 next_dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in vicodec_mark_last_buf()
1241 if (!next_dst_buf) { in vicodec_mark_last_buf()
1246 next_dst_buf->flags |= V4L2_BUF_FLAG_LAST; in vicodec_mark_last_buf()
1247 vb2_buffer_done(&next_dst_buf->vb2_buf, VB2_BUF_STATE_DONE); in vicodec_mark_last_buf()
1694 struct vb2_v4l2_buffer *next_dst_buf; in vicodec_stop_streaming() local
1698 next_dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in vicodec_stop_streaming()
1699 if (!next_dst_buf) { in vicodec_stop_streaming()
1702 next_dst_buf->flags |= V4L2_BUF_FLAG_LAST; in vicodec_stop_streaming()
1703 vb2_buffer_done(&next_dst_buf->vb2_buf, VB2_BUF_STATE_DONE); in vicodec_stop_streaming()