Home
last modified time | relevance | path

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

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c741 struct s5p_mfc_buf *mb_entry; in cleanup_ref_queue() local
745 mb_entry = list_entry((&ctx->ref_queue)->next, in cleanup_ref_queue()
747 list_del(&mb_entry->list); in cleanup_ref_queue()
749 list_add_tail(&mb_entry->list, &ctx->src_queue); in cleanup_ref_queue()
846 struct s5p_mfc_buf *mb_entry; in enc_post_frame_start() local
863 list_for_each_entry(mb_entry, &ctx->src_queue, list) { in enc_post_frame_start()
864 mb_y_addr = vb2_dma_contig_plane_dma_addr(mb_entry->b, 0); in enc_post_frame_start()
865 mb_c_addr = vb2_dma_contig_plane_dma_addr(mb_entry->b, 1); in enc_post_frame_start()
868 list_del(&mb_entry->list); in enc_post_frame_start()
870 vb2_buffer_done(mb_entry->b, in enc_post_frame_start()
[all …]
Ds5p_mfc.c574 struct s5p_mfc_buf *mb_entry; in s5p_mfc_handle_stream_complete() local
585 mb_entry = list_entry(ctx->dst_queue.next, struct s5p_mfc_buf, in s5p_mfc_handle_stream_complete()
587 list_del(&mb_entry->list); in s5p_mfc_handle_stream_complete()
589 vb2_set_plane_payload(mb_entry->b, 0, 0); in s5p_mfc_handle_stream_complete()
590 vb2_buffer_done(mb_entry->b, VB2_BUF_STATE_DONE); in s5p_mfc_handle_stream_complete()