Searched refs:bs_buf (Results 1 – 8 of 8) sorted by relevance
/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_h264_if.c | 358 struct mtk_vcodec_mem *bs_buf, in h264_encode_sps() argument 367 bs_buf, bs_size, NULL); in h264_encode_sps() 385 struct mtk_vcodec_mem *bs_buf, in h264_encode_pps() argument 394 bs_buf, bs_size, NULL); in h264_encode_pps() 412 struct mtk_vcodec_mem *bs_buf, in h264_encode_header() argument 419 ret = h264_encode_sps(inst, bs_buf, &bs_size_sps); in h264_encode_header() 427 memcpy(bs_buf->va + bs_size_sps, inst->pps_buf.va, bs_size_pps); in h264_encode_header() 435 struct mtk_vcodec_mem *bs_buf, in h264_encode_frame() argument 451 bs_buf, bs_size, &frame_info); in h264_encode_frame() 461 memcpy(bs_buf->va, in h264_encode_frame() [all …]
|
D | venc_vp8_if.c | 237 struct mtk_vcodec_mem *bs_buf, in vp8_enc_compose_one_frame() argument 271 if (bs_buf->size < bs_hdr_len + bs_frm_size + ac_tag_size) { in vp8_enc_compose_one_frame() 273 bs_buf->size); in vp8_enc_compose_one_frame() 284 memmove(bs_buf->va + bs_hdr_len + ac_tag_size, in vp8_enc_compose_one_frame() 285 bs_buf->va, bs_frm_size); in vp8_enc_compose_one_frame() 286 memcpy(bs_buf->va + ac_tag_size, in vp8_enc_compose_one_frame() 289 memcpy(bs_buf->va, ac_tag, ac_tag_size); in vp8_enc_compose_one_frame() 297 struct mtk_vcodec_mem *bs_buf, in vp8_enc_encode_frame() argument 305 ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, bs_size, in vp8_enc_encode_frame() 316 if (vp8_enc_compose_one_frame(inst, bs_buf, bs_size)) { in vp8_enc_encode_frame() [all …]
|
/drivers/media/platform/mtk-vcodec/ |
D | venc_vpu_if.c | 227 struct mtk_vcodec_mem *bs_buf, in vpu_enc_encode() argument 255 if (bs_buf) { in vpu_enc_encode() 256 out.base.bs_addr = bs_buf->dma_addr; in vpu_enc_encode() 257 out.base.bs_size = bs_buf->size; in vpu_enc_encode()
|
D | mtk_vcodec_enc.c | 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() [all …]
|
D | venc_drv_if.c | 59 struct mtk_vcodec_mem *bs_buf, in venc_if_encode() argument 73 bs_buf, result); in venc_if_encode()
|
D | venc_drv_base.h | 34 struct mtk_vcodec_mem *bs_buf,
|
D | venc_vpu_if.h | 47 struct mtk_vcodec_mem *bs_buf,
|
D | venc_drv_if.h | 167 struct mtk_vcodec_mem *bs_buf,
|