Home
last modified time | relevance | path

Searched refs:mtk_vcodec_mem_alloc (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/
A Dmtk_vcodec_util.c29 int mtk_vcodec_mem_alloc(struct mtk_vcodec_ctx *data, in mtk_vcodec_mem_alloc() function
50 EXPORT_SYMBOL(mtk_vcodec_mem_alloc);
A Dvdec_msg_queue.c248 err = mtk_vcodec_mem_alloc(ctx, &msg_queue->wdma_addr); in vdec_msg_queue_init()
260 err = mtk_vcodec_mem_alloc(ctx, &lat_buf->wdma_err_addr); in vdec_msg_queue_init()
267 err = mtk_vcodec_mem_alloc(ctx, &lat_buf->slice_bc_addr); in vdec_msg_queue_init()
A Dmtk_vcodec_util.h53 int mtk_vcodec_mem_alloc(struct mtk_vcodec_ctx *data,
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/vdec/
A Dvdec_vp8_req_if.c154 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
163 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
172 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
181 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
A Dvdec_vp9_if.c341 if (mtk_vcodec_mem_alloc(inst->ctx, mem_basy_y)) { in vp9_get_sf_ref_fb()
350 if (mtk_vcodec_mem_alloc(inst->ctx, mem_basy_c)) { in vp9_get_sf_ref_fb()
398 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf()
415 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf()
558 result = mtk_vcodec_mem_alloc(ctx, &mem); in vp9_alloc_inst()
A Dvdec_h264_if.c145 err = mtk_vcodec_mem_alloc(inst->ctx, &inst->pred_buf); in allocate_predication_buf()
179 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_mv_buf()
A Dvdec_h264_req_if.c163 err = mtk_vcodec_mem_alloc(inst->ctx, &inst->pred_buf); in allocate_predication_buf()
198 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_mv_buf()
A Dvdec_vp9_req_lat_if.c597 if (mtk_vcodec_mem_alloc(ctx, &instance->mv[i])) in vdec_vp9_slice_alloc_working_buffer()
606 if (mtk_vcodec_mem_alloc(ctx, &instance->seg[i])) in vdec_vp9_slice_alloc_working_buffer()
612 if (mtk_vcodec_mem_alloc(ctx, &instance->tile)) in vdec_vp9_slice_alloc_working_buffer()
618 if (mtk_vcodec_mem_alloc(ctx, &instance->prob)) in vdec_vp9_slice_alloc_working_buffer()
624 if (mtk_vcodec_mem_alloc(ctx, &instance->counts)) in vdec_vp9_slice_alloc_working_buffer()
A Dvdec_vp8_if.c371 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_working_buf()
A Dvdec_h264_req_multi_if.c323 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_h264_slice_alloc_mv_buf()
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/venc/
A Dvenc_h264_if.c366 ret = mtk_vcodec_mem_alloc(inst->ctx, in h264_enc_alloc_work_buf()
403 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->pps_buf); in h264_enc_alloc_work_buf()
A Dvenc_vp8_if.c178 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->work_bufs[i]); in vp8_enc_alloc_work_buf()

Completed in 66 milliseconds