bs_buf 938 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct mtk_vcodec_mem bs_buf; bs_buf 947 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); bs_buf 948 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); bs_buf 949 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; bs_buf 954 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c dst_buf->vb2_buf.index, bs_buf.va, bs_buf 955 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c (u64)bs_buf.dma_addr, bs_buf 956 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c bs_buf.size); bs_buf 960 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c NULL, &bs_buf, &enc_result); bs_buf 1063 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c struct mtk_vcodec_mem bs_buf; bs_buf 1085 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c bs_buf.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); bs_buf 1086 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c bs_buf.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); bs_buf 1087 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; bs_buf 1099 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c &frm_buf, &bs_buf, &enc_result); bs_buf 327 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 336 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c bs_buf, bs_size); bs_buf 354 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 363 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c bs_buf, bs_size); bs_buf 381 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 388 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c ret = h264_encode_sps(inst, bs_buf, &bs_size_sps); bs_buf 396 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c memcpy(bs_buf->va + bs_size_sps, inst->pps_buf.va, bs_size_pps); bs_buf 404 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 413 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c bs_buf, bs_size); bs_buf 423 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c memcpy(bs_buf->va, bs_buf 495 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 510 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c ret = h264_encode_header(inst, bs_buf, &bs_size_hdr); bs_buf 529 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c ret = h264_encode_frame(inst, frm_buf, bs_buf, bs_buf 539 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c ret = h264_encode_header(inst, bs_buf, &bs_size_hdr); bs_buf 549 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c h264_encode_filler(inst, bs_buf->va + hdr_sz, bs_buf 553 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c tmp_bs_buf.va = bs_buf->va + hdr_sz + filler_sz; bs_buf 554 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c tmp_bs_buf.dma_addr = bs_buf->dma_addr + hdr_sz + filler_sz; bs_buf 555 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c tmp_bs_buf.size = bs_buf->size - (hdr_sz + filler_sz); bs_buf 236 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 270 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c if (bs_buf->size < bs_hdr_len + bs_frm_size + ac_tag_size) { bs_buf 272 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c bs_buf->size); bs_buf 283 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c memmove(bs_buf->va + bs_hdr_len + ac_tag_size, bs_buf 284 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c bs_buf->va, bs_frm_size); bs_buf 285 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c memcpy(bs_buf->va + ac_tag_size, bs_buf 288 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c memcpy(bs_buf->va, ac_tag, ac_tag_size); bs_buf 296 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 304 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, bs_size); bs_buf 314 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c if (vp8_enc_compose_one_frame(inst, bs_buf, bs_size)) { bs_buf 360 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 373 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c ret = vp8_enc_encode_frame(inst, frm_buf, bs_buf, bs_buf 34 drivers/media/platform/mtk-vcodec/venc_drv_base.h struct mtk_vcodec_mem *bs_buf, bs_buf 60 drivers/media/platform/mtk-vcodec/venc_drv_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 74 drivers/media/platform/mtk-vcodec/venc_drv_if.c bs_buf, result); bs_buf 154 drivers/media/platform/mtk-vcodec/venc_drv_if.h struct mtk_vcodec_mem *bs_buf, bs_buf 171 drivers/media/platform/mtk-vcodec/venc_vpu_if.c struct mtk_vcodec_mem *bs_buf, bs_buf 194 drivers/media/platform/mtk-vcodec/venc_vpu_if.c if (bs_buf) { bs_buf 195 drivers/media/platform/mtk-vcodec/venc_vpu_if.c out.bs_addr = bs_buf->dma_addr; bs_buf 196 drivers/media/platform/mtk-vcodec/venc_vpu_if.c out.bs_size = bs_buf->size; bs_buf 48 drivers/media/platform/mtk-vcodec/venc_vpu_if.h struct mtk_vcodec_mem *bs_buf,