Hello TI Experts,
I have a system using a DM368, with video capture coming from a YUV source (component input attached to a TVP70025i). I am using the resizer to convert this input into YUV420SP, as required by the H.264 codec.
However, I am also running the JPEG codec on the same input frames, and I am seeing that the resulting JPEG image is a bit "washed out". I believe this is because the source imagery is using 16 for the black level and 235/240 for the white level, as is normal for YUV. The JPEG encoder then does not convert this imagery into the range 0-255 used by standard JPEG decoders, so when the image is decoded, the black and white levels are not correct.
Is this the expected behavior for the JPEG codec on the DM36x platform? I will not be able to conver the YUV ranges in the application code, due to the amount of processing involved, and I cannot see any way to indicate to the codec that the source YUV data is in the range 16-235/240.
Please let me know if there is any codec flag I am missing or if there is simply nothing to be done about this issue.
Thank you for your time,
Chris Richardson