Home
last modified time | relevance | path

Searched refs:mv_buf (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_vp9_if.c169 struct vp9_dram_buf mv_buf; member
194 struct mtk_vcodec_mem mv_buf; member
396 mem = &inst->mv_buf; in vp9_alloc_work_buf()
409 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf()
410 vsi->mv_buf.pa = (unsigned long)mem->dma_addr; in vp9_alloc_work_buf()
411 vsi->mv_buf.sz = (unsigned int)mem->size; in vp9_alloc_work_buf()
675 inst->vsi->mv_buf.va = (unsigned long)inst->mv_buf.va; in vp9_reset()
676 inst->vsi->mv_buf.pa = (unsigned long)inst->mv_buf.dma_addr; in vp9_reset()
677 inst->vsi->mv_buf.sz = (unsigned long)inst->mv_buf.size; in vp9_reset()
779 mem = &inst->mv_buf; in vdec_vp9_deinit()
Dvdec_h264_if.c135 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM]; member
180 mem = &inst->mv_buf[i]; in alloc_mv_buf()
202 mem = &inst->mv_buf[i]; in free_mv_buf()
/Linux-v4.19/drivers/media/platform/ti-vpe/
Dvpe.c413 void *mv_buf[2]; /* virtual addrs of motion vector bufs */ member
555 if (ctx->mv_buf[0]) in realloc_mv_buffers()
556 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[0], in realloc_mv_buffers()
559 if (ctx->mv_buf[1]) in realloc_mv_buffers()
560 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[1], in realloc_mv_buffers()
566 ctx->mv_buf[0] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[0], in realloc_mv_buffers()
568 if (!ctx->mv_buf[0]) { in realloc_mv_buffers()
573 ctx->mv_buf[1] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[1], in realloc_mv_buffers()
575 if (!ctx->mv_buf[1]) { in realloc_mv_buffers()
577 dma_free_coherent(dev, size, ctx->mv_buf[0], in realloc_mv_buffers()