my former colleague selected the video decoder to deliver a YUY2/UYVY 4:2:2 composite format as video frame while the video input format is YV12 4:2:0.
Then I do some scaling and some colors of the genuine video turn to wrong ones. See the attached picture with screenshots from the genuine video and from the shown one by our IPP based decoder software.
What is the best way to correct this fault?
I can use the planar YV12 format from decoding until showing on the screen. I think the easiest way for a 1st step is to get a decoded frame in YV12 format and to convert this to YUY2 to left all following calls of my software unchanged.
How can I do this?