Hi Community
I am trying to make an app that performs asynchronous encoding/decoding over multiple threads, using VPU wrapper. Each thread has an infinite loop and within that loop the following is performed:
1. Create VPU encoder/decoder instance via VPU_EncOpen/VPU_DecOpen
2. Perform actual encoding/decoding
3. Close VPU encoder/decoder instance via VPU_EncClose/VPU_DecClose
The app seems to run fine at first, but after few hours (at least 2 hours) VPU_EncEncodeFrame from above #2 returns -1,
and VPU log shows "VCEncStrmEncode: ERROR HW bus access error".
It is safe to assume that this error is due to multiple VPU instances running, but isn't this a supported feature of IMX8MP's VPU? Meaning, the app does not need to handle anything regarding multiple VPU instances running (e.g. checking if VPU is busy) since this would be taken care of by the VPU wrapper, supposedly.
Since there is no VPU manual specifically for IMX8MP, I'm attaching below IMX6's manual. I assume Multi-Instances feature is also supported in IMX8MP.
