|
想问下 RGA加速 测试demo 跑出来rgb转nv12 要5ms 1280*720 resize 到720*480 后
要10ms 这个算正常么???
MODE = b
main, Unknow RGA mode
firefly@firefly:~/rk3399/src/test/rga_test/src$ sudo ./rga_test --cvtcolor
librga:RGA_GET_VERSION:3.02,3.020000
ctx=0xf2e6c40,ctx->rgaFd=3
Rga built version:version:1.00
Start selecting mode 0
im2d cvtcolor ..
MODE = 8
filePath:/usr/data/in0w1280-h720-rgba8888.bin
read size:3686400
open file
cvtcolor .... cost time 5281 us, Run successfully
open /usr/data/out0w1280-h720-nv12.bin and write ok
read size:1382400
firefly@firefly:~/rk3399/src/test/rga_test/src$ sudo ./rga_test --resize down
librga:RGA_GET_VERSION:3.02,3.020000
ctx=0x39aa3c40,ctx->rgaFd=3
Rga built version:version:1.00
Start selecting mode 0
im2d resize ..
down resize ...
MODE = 2
filePath:/usr/data/in0w1280-h720-rgba8888.bin
read size:3686400
open file
resizing .... cost time 9969 us, Run successfully
open /usr/data/out0w720-h480-rgba8888.bin and write ok
read size:1382400
|
|