Searched refs:bs_buf (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/venc/ |
D | venc_h264_if.c | 362 struct mtk_vcodec_mem *bs_buf, in h264_encode_sps() argument 370 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_SPS, NULL, bs_buf, NULL); in h264_encode_sps() 388 struct mtk_vcodec_mem *bs_buf, in h264_encode_pps() argument 396 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_PPS, NULL, bs_buf, NULL); in h264_encode_pps() 414 struct mtk_vcodec_mem *bs_buf, in h264_encode_header() argument 421 ret = h264_encode_sps(inst, bs_buf, &bs_size_sps); in h264_encode_header() 429 memcpy(bs_buf->va + bs_size_sps, inst->pps_buf.va, bs_size_pps); in h264_encode_header() 437 struct mtk_vcodec_mem *bs_buf, in h264_encode_frame() argument 452 ret = vpu_enc_encode(&inst->vpu_inst, H264_BS_MODE_FRAME, frm_buf, bs_buf, &frame_info); in h264_encode_frame() 462 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, NULL); in vp8_enc_encode_frame() 315 if (vp8_enc_compose_one_frame(inst, bs_buf, bs_size)) { in vp8_enc_encode_frame() [all …]
|
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/ |
D | venc_vpu_if.c | 227 struct mtk_vcodec_mem *bs_buf, in vpu_enc_encode() argument 254 if (bs_buf) { in vpu_enc_encode() 255 out.base.bs_addr = bs_buf->dma_addr; in vpu_enc_encode() 256 out.base.bs_size = bs_buf->size; in vpu_enc_encode()
|
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 | mtk_vcodec_enc.c | 1022 struct mtk_vcodec_mem bs_buf; in mtk_venc_encode_header() local 1031 bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header() 1032 bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in mtk_venc_encode_header() 1033 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; in mtk_venc_encode_header() 1038 dst_buf->vb2_buf.index, bs_buf.va, in mtk_venc_encode_header() 1039 (u64)bs_buf.dma_addr, in mtk_venc_encode_header() 1040 bs_buf.size); in mtk_venc_encode_header() 1044 NULL, &bs_buf, &enc_result); in mtk_venc_encode_header() 1151 struct mtk_vcodec_mem bs_buf; in mtk_venc_worker() local 1187 bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_venc_worker() [all …]
|
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,
|