Searched refs:work_bufs (Results 1 – 2 of 2) sorted by relevance
106 struct venc_vp8_vpu_buf work_bufs[VENC_VP8_VPU_WORK_BUF_MAX]; member125 struct mtk_vcodec_mem work_bufs[VENC_VP8_VPU_WORK_BUF_MAX]; member145 if (inst->work_bufs[i].size == 0) in vp8_enc_free_work_buf()147 mtk_vcodec_mem_free(inst->ctx, &inst->work_bufs[i]); in vp8_enc_free_work_buf()155 struct venc_vp8_vpu_buf *wb = inst->vsi->work_bufs; in vp8_enc_alloc_work_buf()170 inst->work_bufs[i].size = wb[i].size; in vp8_enc_alloc_work_buf()171 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->work_bufs[i]); in vp8_enc_alloc_work_buf()190 memcpy(inst->work_bufs[i].va, tmp_va, wb[i].size); in vp8_enc_alloc_work_buf()192 wb[i].iova = inst->work_bufs[i].dma_addr; in vp8_enc_alloc_work_buf()195 i, inst->work_bufs[i].va, in vp8_enc_alloc_work_buf()[all …]
126 struct venc_h264_vpu_buf work_bufs[VENC_H264_VPU_WORK_BUF_MAX]; member192 struct venc_h264_vpu_buf_34 work_bufs[VENC_H264_VPU_WORK_BUF_MAX]; member214 struct mtk_vcodec_mem work_bufs[VENC_H264_VPU_WORK_BUF_MAX]; member304 if (i != VENC_H264_VPU_WORK_BUF_SKIP_FRAME && inst->work_bufs[i].va) in h264_enc_free_work_buf()305 mtk_vcodec_mem_free(inst->ctx, &inst->work_bufs[i]); in h264_enc_free_work_buf()321 wb_34 = inst->vsi_34->work_bufs; in h264_enc_alloc_work_buf()323 wb = inst->vsi->work_bufs; in h264_enc_alloc_work_buf()343 inst->work_bufs[i].size = wb_34[i].size; in h264_enc_alloc_work_buf()347 inst->work_bufs[i].size = wb[i].size; in h264_enc_alloc_work_buf()356 inst->work_bufs[i].va = in h264_enc_alloc_work_buf()[all …]