-
发现用硬解之后, 到CPU计算psnr 会很慢, 比直接读取yuv计算psnr 慢很多
猜测应该是yuv数据 copy到内存比较慢, 如果能直接用librga 计算的话, 是不是就可以避免copy, 速度会快很多?
比如psnr 其实只是两个图像做差, 然后计算差值的平方和, 原理上librga是不是也比较擅长做这个?
-
ping @hbiyik :
My device is Orangepi5,I has used this image
https://github.com/7Ji/orangepi5-archlinuxarm/releases/download/nightly/ArchLinuxARM-aarch64-OrangePi5-20231127_022252-rkloader-5.img.gz
…
-
# 操作
使用mpp_frame_get_buffer()函数得到了解码器输出的frame对应的MppBuffer,然后使用mpp_buffer_get_ptr()函数得到了MppBuffer的地址,然后根据这个地址对图像数据进行操作,例如画框。
# 问题
对第一帧的数据操作没有问题,但是在第二帧的时候MppBuffer中的数据有残留第一帧中画的框,是不是因为MppBuffer对应的数据空间…
-
```
sudo pacman -S ffmpeg-mpp
resolving dependencies...
looking for conflicting packages...
:: ffmpeg-mpp and ffmpeg are in conflict. Remove ffmpeg? [y/N] y
Packages (12) cjson-1.7.16-1 ffmpeg…
-
我用rga的imcvtcolor api将yuv图像转为rgb图像,返回值显示成功,但过程中会有提示“src has not fd and address for render”,而且转换后的图像都是黑色的
-
I am running "Ubuntu 18.04.1 LTS" with "Linux linux 4.4.154-59-rockchip-g5e70f14 #4 SMP Fri Dec 14 20:55:41 CST 2018 aarch64 aarch64 aarch64 GNU/Linux".
On a simple h.264 encode test with a set of nv…
-
### Describe the problem you are having
I am using an Orange Pi 5 Plus with 16GB RAM and running Armbian with kernel 5.10. In my Frigate configuration, I deliberately set ffmpeg to decode at 10 fps t…
-
@avafinger
A lot has been added specially hevc and vp8 encoders with scaling support:
https://github.com/hbiyik/FFmpeg/wiki
should be stable to test if you are interested.
-
https://github.com/hbiyik/FFmpeg/blob/e243e8d0010dfdaab0a9e3f9bb94dba7a2c51c69/libavcodec/rkmpp.c#L34
-
基于Linux Kernel version 5.10.110
libRga版本:v1.9.3
Rga驱动版本:v1.2.22
问题:使用improcess, 从源buf的指定sx,sy,sw,sh复制一个区域到目标buf指定dx,dy,dw,dh,其中sw=dw,sh=dh,图像显示错位,不知是对improcess的理解不正确,还是这是一个BUG,向各位讨教。
librg…