Toybrick

Where can we get VPU(MPP) usage

jefferyzhang

版主

积分
12985
楼主
发表于 2020-3-20 11:40:50 | 显示全部楼层
You can find it here:   https://github.com/rockchip-linux/mpp
And the samples in test folder:  https://github.com/rockchip-linu ... test/mpi_dec_test.c
gstreamer-rockchip is here: https://github.com/rockchip-linux/gstreamer-rockchip
But we don't recommend calling VPU via gstreamer, it's just a compatible API.
回复

使用道具 举报

jefferyzhang

版主

积分
12985
沙发
发表于 2020-3-20 11:49:49 | 显示全部楼层
本帖最后由 jefferyzhang 于 2020-3-20 11:51 编辑

There is no way to check VPU usage(%), but you can check the processing time per frame using :

echo 0x0100 > /sys/module/rk_vcodec/parameter/debug

You can find the processing time by command 'dmesg' after running your application.
(It is about 2-4ms for 1080P h264 frame)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表