Please refer to VPU unit test code.
There are cases they should ignore outinfo (including indexFrameDisplay)
- Incomplete decoding
outinfo.decodingSuccess == 0
- Rollback triggered in rollback mode
outinfo.decodingSuccess == 0x10
There are cases indexFrameDisplay == -3 is expected
- No display output due to display reorder
Normally for first several frames, indexFrameDisplay == -3
- Skipped frame
e.g. You set skip PB mode, and the frame is P frame.
- frame buffer exhausted
confirmed it’s not your case.