Home
last modified time | relevance | path

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

/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c1200 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local
1216 src_mb = NULL; in s5p_mfc_run_enc_frame()
1218 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_run_enc_frame()
1220 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame()
1221 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame()
1229 &src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame()
1231 &src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame()
1234 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame()
1245 src_mb ? src_mb->b->vb2_buf.index : -1, ctx->state); in s5p_mfc_run_enc_frame()
H A Ds5p_mfc_opr_v6.c1994 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local
2014 src_mb = NULL; in s5p_mfc_run_enc_frame()
2016 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_enc_frame()
2017 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame()
2018 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame()
2022 src_y_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame()
2023 src_c_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame()
2027 (&src_mb->b->vb2_buf, 2); in s5p_mfc_run_enc_frame()
2035 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame()
H A Ds5p_mfc_enc.c1205 struct s5p_mfc_buf *src_mb; in enc_pre_frame_start() local
1209 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in enc_pre_frame_start()
1210 src_y_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 0); in enc_pre_frame_start()
1211 src_c_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 1); in enc_pre_frame_start()
1215 vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 2); in enc_pre_frame_start()