Freescale / libimxvpuapi

i.MX VPU API Library
GNU Lesser General Public License v2.1
88 stars 54 forks source link

VPU timeout encoding frame #20

Closed teseo-sw closed 5 years ago

teseo-sw commented 7 years ago

Hi, I have a problem encoding a YUV420 frame to MJPEG and I need some help. Each time I try to encode this specific frame VPU hangs, but it works correctly with any other frames. I have found that issue encoding frames 2592x1944 obtained from a ov5640_camera, it works always without any problem but, occasionally, it comes a frame that cause that.

What could be the problem? Could VPU firmware or libvpu have a bug that cause it? I have followed each VPU timeout issue in README file, but all is well configured and VPU works fine

I'm using a imx6q board with VPU firmware 3.1.1 and libvpu 5.4.32. I have attached YUV420 binary data, could you check it (it appears even with your sample application jpeg-enc-example.c)?

thank you for the attention, best regards Andrea Di Chiara

img.zip