Lines Matching refs:bs_buf
920 struct mtk_vcodec_mem bs_buf; in mtk_venc_encode_header() local
929 bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header()
930 bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header()
931 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; in mtk_venc_encode_header()
936 dst_buf->vb2_buf.index, bs_buf.va, in mtk_venc_encode_header()
937 (u64)bs_buf.dma_addr, in mtk_venc_encode_header()
938 bs_buf.size); in mtk_venc_encode_header()
942 NULL, &bs_buf, &enc_result); in mtk_venc_encode_header()
1046 struct mtk_vcodec_mem bs_buf; in mtk_venc_worker() local
1068 bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_venc_worker()
1069 bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in mtk_venc_worker()
1070 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; in mtk_venc_worker()
1082 &frm_buf, &bs_buf, &enc_result); in mtk_venc_worker()