Herman Chen
Herman Chen
最好不要让 cpu 访问数据,能用硬件处理就用硬件处理,用 RGA 拷贝数据的话,使用 dmabuf fd 来传递信息是不会有很大的开销的 一定要用 cpu 访问的话,需要把外部给解码器的 buffer group 配置成带 cache 模式
目前默认的 mpp_buffer_group 都是 uncache 的,cpu 访问效率会比较低
最新代码已经支持带 cache 的 buffer 了,可以测试下速度提升了多少
能直接写到 MppBuffer 对应 fd 的 dmabuf 里么?不要用 malloc 出来的内存
解决方法是不要用 cpu 拷贝,用 rga 之类的硬件做 硬要拷贝的话,要把图像 buffer 配置成带 cache 的
Which chip are you using?
We can not help much on the camera or sensor part... The camera_source in mpp is just a demo and may not work for all the platform. I think it...
the buffer size is for decoder or encoder?
This error seems a cache issue. Any cpu copy on the image?
Check the stream from mpi_enc_test first, if there is the lines on the stream then it is an error on copying frame before mpi_enc_test. If there is no lines in...