Hello!
I think I found a bug within the XAPP931 Implementation or Documentation. In der Documentation the Green Value of RGB is calculated with the following equation:
G = [(BCOEF * Cb +CCOEF * Cr + GOFFSET)/2CWIDTH-2]OWIDTH + Y
But within the Implementation the Green Value is calculated with:
G = [(CCOEF * Cb +BCOEF * Cr + GOFFSET)/2CWIDTH-2]OWIDTH + Y
As you can see the CCOEF and BCOEF is switched.
I hope someone can help me and know which equation is the correct one?
Thanks!
Best regards,
Stefan