lawaarch

Results 7 comments of lawaarch

> MppFrame 里带的 MppBuffer 可以 get fd 出来,这个 fd 是 dmabuf,可以导入到 rga 里去使用 我确实是这么整的 RK_U32 buf_size = mpp_frame_get_buf_size(decoder->frame); int fd=mpp_buffer_get_fd(buffer); /*--------------RGA----------------*/ src_handle = importbuffer_fd(fd, buf_size); dst_handle = importbuffer_virtualaddr(yuv_buff, buf_size); if...

> 我也遇到这个问题 ,所以follow一下。RK3568上, mpp解码后。拷贝解码后的的YUV数据到内存,帧率只有20fps。 所以RGA是首选

> > > > > > > 是的,之前3399路数不多,勉强还可以。3568就不行了 你的也没法映射到RGA? 解决了没,我停滞好几周了

> Have a look at here. https://github.com/hbiyik/FFmpeg/blob/7612f91257a22339bfde5e3258b4b8c2671bb876/libavcodec/rkmppdec.c#L192 First of all, thank you for your help. I haven't been working on this function recently. I will have a good look when...

> 没有报错信息,无法判断…… error:src has not fd and address for render //自定义结构体 typedef struct { MppCtx ctx; MppApi *mpi; MppPacket packet; MppFrame frame; MppCodingType type; // h264 MppDecCfg cfg; // 配置信息...

> > 硬解码之后的数据拷贝很慢,大佬我该怎么解决 > > 大佬解决了吗?我也遇到了这个问题,CPU飙升 我后来没弄,你可以选择更新rga驱动然后就用rga拷贝就可以了。理论上