Herman Chen
Herman Chen
cache 补丁还在测试中,还没正式合并
推了一个 cache_test 的分支上来,可以试下: https://github.com/rockchip-linux/mpp/tree/cache_test
The MppFrame may not be the decoded frame for it will pass the iep deinterlace flow. Then the frame rate may change and frame I, P, B type will not...
It is possible to do so.
camera_source_init get dma buf failed 确认下环境上 /dev/dma_heap/ 目录是否存在,是否用 root 权限运行测试用例
mpp[5488]: mpp_dma_heap: ioctl alloc failed for Bad file descriptor mpp[5488]: mpp_dma_heap: os_allocator_dma_heap_alloc dma_heap_alloc failed ret -1 dma_heap 分配失败,只分配 1024 字节就失败……是 fd 太多了么?
再最新版本上再试试
用新版本的代码还会出问题么?
MppDecoder::Init 里的 mpp_ctx 是个局部变量吧,你打印下创新和销毁时候的指针值?
确认是用的mpp_destroy销毁么?mpp_dec_parser mpp_dec_hal 这些线程肯定会被销毁的,最多有些结构体泄漏