2022-12-27, 19:35
I want to edit the EOTF to compensate for the display's default gamma (tablet's 2.15, TV 2.6) and surround environment (black), so the system gamma is around 1.3.
I'm on Android so I found a reference here , the issue is I don't know where 'm_gammaSrc' and 'm_gammaDstInv' point to. I assume they would default to 2.4 but I searched on all the suspect files within the GLES folder, in xbmc/rendering files and also those in #include.
I'm on Android so I found a reference here , the issue is I don't know where 'm_gammaSrc' and 'm_gammaDstInv' point to. I assume they would default to 2.4 but I searched on all the suspect files within the GLES folder, in xbmc/rendering files and also those in #include.
cpp:#if defined(XBMC_COL_CONVERSION)
rgb.rgb = pow(max(vec3(0), rgb.rgb), vec3(m_gammaSrc));
rgb.rgb = max(vec3(0), m_primMat * rgb.rgb);
rgb.rgb = pow(rgb.rgb, vec3(m_gammaDstInv));