csputils, vo_opengl: remove per-component gamma

There was some code accounting for different gamma values for R/G/B.
It's inherited from an old, undocumented MPlayer feature, which was at
some point disabled for convenience by myself (meaning you couldn't
actually set separate gamma because it was removed from the property
interface - mp_csp_copy_equalizer_values() just set them to the same
value). Get rid of these meaningless leftovers.
This commit is contained in:
wm4
2015-02-03 16:52:44 +01:00
parent 0f560bbf8a
commit f296dcb248
4 changed files with 7 additions and 15 deletions

View File

@@ -114,9 +114,7 @@ struct mp_csp_params {
float contrast;
float hue;
float saturation;
float rgamma;
float ggamma;
float bgamma;
float gamma;
// discard U/V components
bool gray;
// texture_bits/input_bits is for rescaling fixed point input to range [0,1]
@@ -132,8 +130,7 @@ struct mp_csp_params {
.levels_in = MP_CSP_LEVELS_TV, \
.levels_out = MP_CSP_LEVELS_PC, \
.brightness = 0, .contrast = 1, .hue = 0, .saturation = 1, \
.rgamma = 1, .ggamma = 1, .bgamma = 1, \
.texture_bits = 8, .input_bits = 8}
.gamma = 1, .texture_bits = 8, .input_bits = 8}
struct mp_image_params;
void mp_csp_set_image_params(struct mp_csp_params *params,