diff options
author | wm4 <wm4@nowhere> | 2015-09-23 22:43:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-23 22:43:27 +0200 |
commit | cb1c0725345d4bf7e0226aceb934f06f40cc0ee1 (patch) | |
tree | 5816d4e8e30f845fe0d3637061f8db2722601de4 /video/out/opengl/video.h | |
parent | c17ff1703a85679e3129b3755318fe926d85d9a6 (diff) | |
download | mpv-cb1c0725345d4bf7e0226aceb934f06f40cc0ee1.tar.bz2 mpv-cb1c0725345d4bf7e0226aceb934f06f40cc0ee1.tar.xz |
vo_opengl: remove sharpen scalers, add sharpen sub-option
This turns the old scalers (inherited from MPlayer) into a pre-
processing step (after color conversion and before scaling). The code
for the "sharpen5" scaler is reused for this.
The main reason MPlayer implemented this as scalers was perhaps because
FBOs were too expensive, and making it a scaler allowed to implement
this in 1 pass. But unsharp masking is not really a scaler, and I would
guess the result is more like combining bilinear scaling and unsharp
masking.
Diffstat (limited to 'video/out/opengl/video.h')
-rw-r--r-- | video/out/opengl/video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h index f03cac9c34..c5aa6c4913 100644 --- a/video/out/opengl/video.h +++ b/video/out/opengl/video.h @@ -98,6 +98,7 @@ struct gl_video_opts { char **post_shaders; int deband; struct deband_opts *deband_opts; + float unsharp; }; extern const struct m_sub_options gl_video_conf; |