Lines Matching defs:bs_buf
226 struct mtk_vcodec_mem *bs_buf,
260 if (bs_buf->size < bs_hdr_len + bs_frm_size + ac_tag_size) {
261 mtk_venc_err(inst->ctx, "bitstream buf size is too small(%zu)", bs_buf->size);
272 memmove(bs_buf->va + bs_hdr_len + ac_tag_size,
273 bs_buf->va, bs_frm_size);
274 memcpy(bs_buf->va + ac_tag_size,
277 memcpy(bs_buf->va, ac_tag, ac_tag_size);
285 struct mtk_vcodec_mem *bs_buf,
293 ret = vpu_enc_encode(&inst->vpu_inst, 0, frm_buf, bs_buf, NULL);
303 if (vp8_enc_compose_one_frame(inst, bs_buf, bs_size)) {
343 struct mtk_vcodec_mem *bs_buf,
354 ret = vp8_enc_encode_frame(inst, frm_buf, bs_buf,