Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_opr_v5.c1198 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local
1214 src_mb = NULL; in s5p_mfc_run_enc_frame()
1216 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_run_enc_frame()
1218 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame()
1219 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame()
1227 &src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame()
1229 &src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame()
1232 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame()
1243 src_mb ? src_mb->b->vb2_buf.index : -1, ctx->state); in s5p_mfc_run_enc_frame()
Ds5p_mfc_opr_v6.c1834 struct s5p_mfc_buf *src_mb; in s5p_mfc_run_enc_frame() local
1854 src_mb = NULL; in s5p_mfc_run_enc_frame()
1856 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_enc_frame()
1857 src_mb->flags |= MFC_BUF_FLAG_USED; in s5p_mfc_run_enc_frame()
1858 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame()
1862 src_y_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 0); in s5p_mfc_run_enc_frame()
1863 src_c_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 1); in s5p_mfc_run_enc_frame()
1869 if (src_mb->flags & MFC_BUF_FLAG_EOS) in s5p_mfc_run_enc_frame()
Ds5p_mfc_enc.c1194 struct s5p_mfc_buf *src_mb; in enc_pre_frame_start() local
1198 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in enc_pre_frame_start()
1199 src_y_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 0); in enc_pre_frame_start()
1200 src_c_addr = vb2_dma_contig_plane_dma_addr(&src_mb->b->vb2_buf, 1); in enc_pre_frame_start()