Searched refs:mtk_vcodec_mem_alloc (Results 1 – 14 of 14) sorted by relevance
/drivers/media/platform/mediatek/vcodec/decoder/ |
D | vdec_msg_queue.c | 305 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/ |
D | vdec_vp8_req_if.c | 153 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()
|
D | vdec_vp9_if.c | 342 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()
|
D | vdec_h264_if.c | 144 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()
|
D | vdec_h264_req_if.c | 162 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()
|
D | vdec_av1_req_lat_if.c | 790 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()
|
D | vdec_vp9_req_lat_if.c | 596 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()
|
D | vdec_hevc_req_multi_if.c | 657 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()
|
D | vdec_vp8_if.c | 368 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_working_buf()
|
D | vdec_h264_req_multi_if.c | 322 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_h264_slice_alloc_mv_buf()
|
/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_util.c | 48 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);
|
D | mtk_vcodec_util.h | 67 int mtk_vcodec_mem_alloc(void *priv, struct mtk_vcodec_mem *mem);
|
/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
D | venc_h264_if.c | 360 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()
|
D | venc_vp8_if.c | 171 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->work_bufs[i]); in vp8_enc_alloc_work_buf()
|