Hi All,
We are analyzing TI’s H.264 decoder version 1.10.04.00 and we have come across some issues.
The scenarios and respective issues are listed below;-
1. Passing cacheable input buffer to the VIDDEC2_process calls
In this case the decoder fails for 2nd and subsequent process calls.
The error returned is ‘H264D_ERR_COPROCESSOR_LESS_MBS_DECODED’.
When we ensure that the a NON-cacheable CMEM buffer is passed to the H.264 decoder, the decoder doesn’t fail. (at the expense of performance)
2. Multiple instances of the H.264 decoder
In this case, when we try to open two instances of H.264 decoder using the VIDDEC2_create call in two separate threads, one call returns error and the other call doesn’t return at all. This also hangs the DSP.
When we ensure that the two VIDDEC2_create calls are not done simultaneously with mutual exclusion, the two instances of the decoder are opened successfully. However this compels us to use the mutexes across all VISA calls to ensure that no VISA calls are done simultaneously.
Any inputs on resolving these issues will be of great help
Thanking in Advance
Mahesh K