+ Increased the max number of frames that audio/video can be badly\r
interleaved with (Dimitry Ishenko).\r
\r
+Mixer\r
+-----\r
+\r
+ o Fixed bug in the contrast/saturation/brightness code where the wrong luma\r
+ coefficients was used.\r
+\r
AMCP\r
----\r
\r
const float AvgLumG = 0.5;
const float AvgLumB = 0.5;
- const vec3 LumCoeff = vec3(0.2125, 0.7154, 0.0721);
+ vec3 LumCoeff = is_hd
+ ? vec3(0.0722, 0.7152, 0.2126)
+ : vec3(0.114, 0.587, 0.299);
vec3 AvgLumin = vec3(AvgLumR, AvgLumG, AvgLumB);
vec3 brtColor = color * brt;