Searched refs:src_mb (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 1229 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local 1247 src_mb = NULL; in s5p_mfc_run_enc_frame() 1249 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_run_enc_frame() 1251 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame() 1252 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame() 1259 &src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame() 1261 &src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame() 1264 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame() 1276 src_mb ? src_mb->b->vb2_buf.index : -1, ctx->state); in s5p_mfc_run_enc_frame()
|
D | s5p_mfc_opr_v6.c | 1591 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local 1615 src_mb = NULL; in s5p_mfc_run_enc_frame() 1617 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_enc_frame() 1618 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame() 1619 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame() 1623 src_y_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame() 1624 src_c_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame() 1630 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame()
|
D | s5p_mfc_enc.c | 828 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()
|