Searched refs:src_mb (Results 1 – 3 of 3) sorted by relevance
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 1203 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local 1218 src_mb = NULL; in s5p_mfc_run_enc_frame() 1220 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_run_enc_frame() 1222 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame() 1223 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame() 1230 &src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame() 1232 &src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame() 1235 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame() 1246 src_mb ? src_mb->b->vb2_buf.index : -1, ctx->state); in s5p_mfc_run_enc_frame()
|
D | s5p_mfc_opr_v6.c | 1562 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local 1582 src_mb = NULL; in s5p_mfc_run_enc_frame() 1584 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_enc_frame() 1585 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame() 1586 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame() 1590 src_y_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame() 1591 src_c_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame() 1597 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame()
|
D | s5p_mfc_enc.c | 830 struct s5p_mfc_buf *src_mb; in enc_pre_frame_start() local 834 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in enc_pre_frame_start() 835 src_y_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 0); in enc_pre_frame_start() 836 src_c_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 1); in enc_pre_frame_start()
|