diff options
author | Niklas Haas <git@haasn.dev> | 2023-07-18 15:35:13 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-09-01 21:02:19 +0200 |
commit | b4c98cb04c87999eccd061cc59e6f5f8fa706220 (patch) | |
tree | e4b5f79aa7f341b6292286695abce76c43e1c7e1 /video/out/gpu/video.h | |
parent | eca51d8e4593685638cd3384452cedfd1c1448c2 (diff) | |
download | mpv-b4c98cb04c87999eccd061cc59e6f5f8fa706220.tar.bz2 mpv-b4c98cb04c87999eccd061cc59e6f5f8fa706220.tar.xz |
vo_gpu: remove --tone-mapping-mode
`--vo=gpu-next` no longer uses this option, being replaced entirely by a
luminance-based approach internally. And even for `--vo=gpu`, the values
other than 'hybrid' are universally inferior in quality.
In the interest of gradually reducing the amount of option bloat here,
remove this mostly-pointless option.
Diffstat (limited to 'video/out/gpu/video.h')
-rw-r--r-- | video/out/gpu/video.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h index 4f42fca08f..93d5ea24f6 100644 --- a/video/out/gpu/video.h +++ b/video/out/gpu/video.h @@ -102,14 +102,6 @@ enum tone_mapping { TONE_MAPPING_ST2094_10, }; -enum tone_mapping_mode { - TONE_MAP_MODE_AUTO, - TONE_MAP_MODE_RGB, - TONE_MAP_MODE_MAX, - TONE_MAP_MODE_HYBRID, - TONE_MAP_MODE_LUMA, -}; - enum gamut_mode { GAMUT_AUTO, GAMUT_CLIP, @@ -128,7 +120,6 @@ struct gl_tone_map_opts { float curve_param; float max_boost; bool inverse; - int mode; int compute_peak; float decay_rate; float scene_threshold_low; |