Home
last modified time | relevance | path

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

/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_msg_queue.c305 err = mtk_vcodec_mem_alloc(ctx, &msg_queue->wdma_addr); in vdec_msg_queue_init()
323 err = mtk_vcodec_mem_alloc(ctx, &lat_buf->wdma_err_addr); in vdec_msg_queue_init()
330 err = mtk_vcodec_mem_alloc(ctx, &lat_buf->slice_bc_addr); in vdec_msg_queue_init()
338 err = mtk_vcodec_mem_alloc(ctx, &lat_buf->rd_mv_addr); in vdec_msg_queue_init()
345 err = mtk_vcodec_mem_alloc(ctx, &lat_buf->tile_addr); in vdec_msg_queue_init()
/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp8_req_if.c153 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
162 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
171 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
180 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_vp8_slice_alloc_working_buf()
Dvdec_vp9_if.c342 if (mtk_vcodec_mem_alloc(inst->ctx, mem_basy_y)) { in vp9_get_sf_ref_fb()
351 if (mtk_vcodec_mem_alloc(inst->ctx, mem_basy_c)) { in vp9_get_sf_ref_fb()
395 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf()
412 result = mtk_vcodec_mem_alloc(inst->ctx, mem); in vp9_alloc_work_buf()
555 result = mtk_vcodec_mem_alloc(ctx, &mem); in vp9_alloc_inst()
Dvdec_h264_if.c144 err = mtk_vcodec_mem_alloc(inst->ctx, &inst->pred_buf); in allocate_predication_buf()
176 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_mv_buf()
Dvdec_h264_req_if.c162 err = mtk_vcodec_mem_alloc(inst->ctx, &inst->pred_buf); in allocate_predication_buf()
195 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_mv_buf()
Dvdec_av1_req_lat_if.c790 ret = mtk_vcodec_mem_alloc(ctx, &instance->cdf_table); in vdec_av1_slice_init_cdf_table()
821 ret = mtk_vcodec_mem_alloc(ctx, &instance->iq_table); in vdec_av1_slice_init_iq_table()
976 ret = mtk_vcodec_mem_alloc(ctx, &instance->mv[i]); in vdec_av1_slice_alloc_working_buffer()
983 ret = mtk_vcodec_mem_alloc(ctx, &instance->seg[i]); in vdec_av1_slice_alloc_working_buffer()
990 ret = mtk_vcodec_mem_alloc(ctx, &instance->cdf[i]); in vdec_av1_slice_alloc_working_buffer()
997 ret = mtk_vcodec_mem_alloc(ctx, &instance->cdf_temp); in vdec_av1_slice_alloc_working_buffer()
1008 ret = mtk_vcodec_mem_alloc(ctx, &instance->tile); in vdec_av1_slice_alloc_working_buffer()
Dvdec_vp9_req_lat_if.c596 if (mtk_vcodec_mem_alloc(ctx, &instance->mv[i])) in vdec_vp9_slice_alloc_working_buffer()
605 if (mtk_vcodec_mem_alloc(ctx, &instance->seg[i])) in vdec_vp9_slice_alloc_working_buffer()
611 if (mtk_vcodec_mem_alloc(ctx, &instance->tile)) in vdec_vp9_slice_alloc_working_buffer()
617 if (mtk_vcodec_mem_alloc(ctx, &instance->prob)) in vdec_vp9_slice_alloc_working_buffer()
623 if (mtk_vcodec_mem_alloc(ctx, &instance->counts)) in vdec_vp9_slice_alloc_working_buffer()
Dvdec_hevc_req_multi_if.c657 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_hevc_slice_alloc_mv_buf()
887 err = mtk_vcodec_mem_alloc(ctx, &inst->wrap_addr); in vdec_hevc_slice_init()
Dvdec_vp8_if.c368 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_working_buf()
Dvdec_h264_req_multi_if.c322 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_h264_slice_alloc_mv_buf()
/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_util.c48 int mtk_vcodec_mem_alloc(void *priv, struct mtk_vcodec_mem *mem) in mtk_vcodec_mem_alloc() function
79 EXPORT_SYMBOL(mtk_vcodec_mem_alloc);
Dmtk_vcodec_util.h67 int mtk_vcodec_mem_alloc(void *priv, struct mtk_vcodec_mem *mem);
/drivers/media/platform/mediatek/vcodec/encoder/venc/
Dvenc_h264_if.c360 ret = mtk_vcodec_mem_alloc(inst->ctx, in h264_enc_alloc_work_buf()
395 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->pps_buf); in h264_enc_alloc_work_buf()
Dvenc_vp8_if.c171 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->work_bufs[i]); in vp8_enc_alloc_work_buf()