I have come across a very interesting problem with the H264 decoder and I hope anybody can put some light on it. I have a H264 decoder based on IPP 6.1.6 (both the IPP and the H264 decoder UMC sample code) working well for most H264 streams (the problem can be reproduced with 7.0.6 version as well). We have testeda live source (camera) producing a H264 stream and when we decode the stream, the colors seem to be somehow corrupted (please see the attached files). It does not seem to be the problem of the stream, because VLC for example decodes the stream with correct output.
I have uploaded an IDR frame (it starts with SPS and PPS data to correctly initialize the decoder):
The bitmap decoded by IPP (saved as a JPEG):
And a bitmap decoded by VLC, which is the expected result:
Does anybody know why the IPP result looks so strange?
Thanks very much in advance