Searched refs:mtk_vcodec_mem_alloc (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_util.c | 29 int mtk_vcodec_mem_alloc(struct mtk_vcodec_ctx *data, in mtk_vcodec_mem_alloc() function 50 EXPORT_SYMBOL(mtk_vcodec_mem_alloc);
|
D | vdec_msg_queue.c | 248 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()
|
D | mtk_vcodec_util.h | 53 int mtk_vcodec_mem_alloc(struct mtk_vcodec_ctx *data,
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_vp8_req_if.c | 154 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()
|
D | vdec_vp9_if.c | 341 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()
|
D | vdec_h264_if.c | 145 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()
|
D | vdec_h264_req_if.c | 163 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()
|
D | vdec_vp9_req_lat_if.c | 597 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()
|
D | vdec_vp8_if.c | 371 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in alloc_working_buf()
|
D | vdec_h264_req_multi_if.c | 323 err = mtk_vcodec_mem_alloc(inst->ctx, mem); in vdec_h264_slice_alloc_mv_buf()
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/venc/ |
D | venc_h264_if.c | 366 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()
|
D | venc_vp8_if.c | 178 ret = mtk_vcodec_mem_alloc(inst->ctx, &inst->work_bufs[i]); in vp8_enc_alloc_work_buf()
|