Searched refs:mv_buf (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/media/platform/mtk-vcodec/vdec/ |
| D | vdec_vp9_if.c | 161 struct vp9_dram_buf mv_buf; member 186 struct mtk_vcodec_mem mv_buf; member 388 mem = &inst->mv_buf; in vp9_alloc_work_buf() 401 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf() 402 vsi->mv_buf.pa = (unsigned long)mem->dma_addr; in vp9_alloc_work_buf() 403 vsi->mv_buf.sz = (unsigned int)mem->size; in vp9_alloc_work_buf() 667 inst->vsi->mv_buf.va = (unsigned long)inst->mv_buf.va; in vp9_reset() 668 inst->vsi->mv_buf.pa = (unsigned long)inst->mv_buf.dma_addr; in vp9_reset() 669 inst->vsi->mv_buf.sz = (unsigned long)inst->mv_buf.size; in vp9_reset() 770 mem = &inst->mv_buf; in vdec_vp9_deinit()
|
| D | vdec_h264_if.c | 130 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM]; member 175 mem = &inst->mv_buf[i]; in alloc_mv_buf() 197 mem = &inst->mv_buf[i]; in free_mv_buf()
|
| /Linux-v5.4/drivers/media/platform/ti-vpe/ |
| D | vpe.c | 399 void *mv_buf[2]; /* virtual addrs of motion vector bufs */ member 541 if (ctx->mv_buf[0]) in realloc_mv_buffers() 542 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[0], in realloc_mv_buffers() 545 if (ctx->mv_buf[1]) in realloc_mv_buffers() 546 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[1], in realloc_mv_buffers() 552 ctx->mv_buf[0] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[0], in realloc_mv_buffers() 554 if (!ctx->mv_buf[0]) { in realloc_mv_buffers() 559 ctx->mv_buf[1] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[1], in realloc_mv_buffers() 561 if (!ctx->mv_buf[1]) { in realloc_mv_buffers() 563 dma_free_coherent(dev, size, ctx->mv_buf[0], in realloc_mv_buffers()
|