Home
last modified time | relevance | path

Searched refs:dmabuf (Results 1 – 6 of 6) sorted by relevance

/rockchip-linux_mpp/mpp/legacy/
H A Dvpu_mem_legacy.c61 VPUMemLinear_t *dmabuf = mpp_calloc(VPUMemLinear_t, 1); in get_free_memory_vpumem() local
63 if (dmabuf == NULL) { in get_free_memory_vpumem()
69 mpp_free(dmabuf); in get_free_memory_vpumem()
72 dmabuf->phy_addr = (RK_U32)mpp_buffer_get_fd(buffer); in get_free_memory_vpumem()
73 dmabuf->vir_addr = (RK_U32*)mpp_buffer_get_ptr(buffer); in get_free_memory_vpumem()
74 dmabuf->size = p_mempool->size; in get_free_memory_vpumem()
75 dmabuf->offset = (RK_U32*)buffer; in get_free_memory_vpumem()
76 vpu_mem_dbg_func("out pool %p ret %p fd %d size %d buffer %p\n", p, dmabuf, in get_free_memory_vpumem()
77 dmabuf->phy_addr, dmabuf->size, buffer); in get_free_memory_vpumem()
78 return dmabuf; in get_free_memory_vpumem()
[all …]
/rockchip-linux_mpp/osal/test/
H A DCMakeLists.txt28 # dmabuf system unit test
/rockchip-linux_mpp/kmpp/base/inc/
H A Dkmpp_buffer_impl.h101 void *dmabuf; member
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_CN.md112 MppBuffer为硬件用的dmabuf内存的封装。
504 这种模式通过创建空的external模式的MppBufferGroup,从用户那里导入外部分配器分析的内存块文件句柄(一般是dmabuf/ion/drm)。在Android平台上,Mediaserv…
555 编码器的输入不支持CPU分配的空间,如果需要支持编码CPU分配的地址,需要分配MppBuffer并把数据拷贝进去,这样做会很大程度影响效率。编码器更喜欢dmabuf/ion/drm内存形式的输入,这…
H A DRockchip_Developer_Guide_MPP_EN.md106 MppBuffer is the encapsulation of dmabuf memory for hardware.
484 In this mode decoder imports the memory file handle of the external allocator (usually dmabuf/ion/d…
529 …affect the efficiency. The encoder prefers input memory to be in form of dmabuf/ion/drm, which ena…
/rockchip-linux_mpp/
H A DCHANGELOG.md629 - [dmabuf]: Disable dmabuf partial sync function
648 - [mpp_dmabuf]: Add dmabuf sync operation
677 - [mpp_dmabuf]: Add dmabuf ioctl unit test