Hello,
imxvpudec_jpeg (83% CPU) consumes more CPU than jpegdec (67% CPU), what could be the reason? I was expecting the opposite.
imxvpudec_jpeg:
PID USER PRI NI VIRT RES SHR S CPU%-MEM% TIME+ Command
413 root 20 0 339M 28652 10300 S 83.2 0.7 0:08.56 gst-launch-1.0 v4l2src device=/dev/video0 ! image/jpeg, width=2560, height=1440, framerate=30/1 ! imxvpud
jpegdec:
PID USER PRI NI VIRT RES SHR S CPU%-MEM% TIME+ Command
419 root 20 0 318M 22540 6420 S 67.0 0.6 0:06.09 gst-launch-1.0 v4l2src device=/dev/video0 ! image/jpeg, width=2560, height=1440, framerate=30/1 ! jpegdec
Regards
Hello,
Is probably that you are not using a nxp bsp, since it not uses the hardware codec for it.
Regards
Hi, how's that's possible, could you clarify? If the DMABUF or hantrodec is not configured the imxvpudec_jpeg fails with negotiation failure. I can't get your point how it's possible to run imxvpudec_jpeg without NXP BSP?
I'm using linux-imx with DMABUF enabled, libimxvpuapi DWL and hantrodec and a device tree with enabled hantro vpu. If any of those is missing imxvpudec_jpeg doesn't work at all.