Searched refs:work_bufs (Results 1 – 2 of 2) sorted by relevance
107 struct venc_vp8_vpu_buf work_bufs[VENC_VP8_VPU_WORK_BUF_MAX]; member126 struct mtk_vcodec_mem work_bufs[VENC_VP8_VPU_WORK_BUF_MAX]; member148 if (inst->work_bufs[i].size == 0) in vp8_enc_free_work_buf()150 mtk_vcodec_mem_free(inst->ctx, &inst->work_bufs[i]); in vp8_enc_free_work_buf()160 struct venc_vp8_vpu_buf *wb = inst->vsi->work_bufs; in vp8_enc_alloc_work_buf()177 inst->work_bufs[i].size = wb[i].size; in vp8_enc_alloc_work_buf()178 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->work_bufs[i]); in vp8_enc_alloc_work_buf()198 memcpy(inst->work_bufs[i].va, tmp_va, wb[i].size); in vp8_enc_alloc_work_buf()200 wb[i].iova = inst->work_bufs[i].dma_addr; in vp8_enc_alloc_work_buf()204 i, inst->work_bufs[i].va, in vp8_enc_alloc_work_buf()[all …]
127 struct venc_h264_vpu_buf work_bufs[VENC_H264_VPU_WORK_BUF_MAX]; member193 struct venc_h264_vpu_buf_34 work_bufs[VENC_H264_VPU_WORK_BUF_MAX]; member215 struct mtk_vcodec_mem work_bufs[VENC_H264_VPU_WORK_BUF_MAX]; member308 mtk_vcodec_mem_free(inst->ctx, &inst->work_bufs[i]); in h264_enc_free_work_buf()327 wb_34 = inst->vsi_34->work_bufs; in h264_enc_alloc_work_buf()329 wb = inst->vsi->work_bufs; in h264_enc_alloc_work_buf()349 inst->work_bufs[i].size = wb_34[i].size; in h264_enc_alloc_work_buf()353 inst->work_bufs[i].size = wb[i].size; in h264_enc_alloc_work_buf()362 inst->work_bufs[i].va = in h264_enc_alloc_work_buf()364 inst->work_bufs[i].dma_addr = 0; in h264_enc_alloc_work_buf()[all …]