From cb1c0725345d4bf7e0226aceb934f06f40cc0ee1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Sep 2015 22:43:27 +0200 Subject: 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. --- DOCS/client_api_examples/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DOCS/client_api_examples') 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", ""]) } -- cgit v1.2.3