summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-23 22:43:27 +0200
committerwm4 <wm4@nowhere>2015-09-23 22:43:27 +0200
commitcb1c0725345d4bf7e0226aceb934f06f40cc0ee1 (patch)
tree5816d4e8e30f845fe0d3637061f8db2722601de4 /DOCS/client_api_examples
parentc17ff1703a85679e3129b3755318fe926d85d9a6 (diff)
downloadmpv-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 'DOCS/client_api_examples')
-rw-r--r--DOCS/client_api_examples/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/client_api_examples/qml/main.qml b/DOCS/client_api_examples/qml/main.qml
index 75aafe4da6..ec06790e86 100644
--- a/DOCS/client_api_examples/qml/main.qml
+++ b/DOCS/client_api_examples/qml/main.qml
@@ -50,7 +50,7 @@ Item {
text: "Make video look like on a Smart TV"
onClicked: {
if (checkbox.checked) {
- renderer.command(["vo_cmdline", "scale=sharpen3:scale-param1=5.0"])
+ renderer.command(["vo_cmdline", "sharpen=5.0"])
} else {
renderer.command(["vo_cmdline", ""])
}