Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#81 | Link | |
Registered User
Join Date: Oct 2013
Location: Sweden
Posts: 128
|
Quote:
But the latest version 2015-12-04-E should be somewhat better at fine details in most cases. Uploaded a comparison of 2015-11-17E and 2015-12-04E with all settings at default. I also experimented some with sharpening that test image in raw therapee with RL deconvolution, that made the image alot more brighter! Last edited by bacondither; 9th December 2015 at 11:25. |
|
![]() |
![]() |
![]() |
#82 | Link |
Registered User
Join Date: Dec 2011
Posts: 1,812
|
This is a very nice progress, thanks a lot!
I think this can be very helpful in games, e.g. when strong sharpen is needed to fight temporal AA blur. May be a bit expensive in realtime, but should be great for screenshots. |
![]() |
![]() |
![]() |
#83 | Link |
Registered User
Join Date: Jan 2015
Posts: 11
|
In games, AdaptiveSharpen requires quite a bit of performance. In my GPU it utilizes 15 - 20% of extra computing power. In movies where the framerate is between 23.976 - 30.0 fps, the performance drop does not make a huge difference. But in recent video games, every bit of performance is important. bacondither, do you have any ideas about possible optimizations? Currently the shader uses an additional RGBA16F texture for storing the alpha value of the first pass. This is a bit too much just for one floating point value. I might use R16F or encode the value as RGBA8 and decode it in the second pass afterwards, depending on which method is faster. Other than that, it is now my favorite shader for sharpening. It really goes well with the video games.
We also have a GitHub repo. You are welcome to modify the code as you see fit. ![]() |
![]() |
![]() |
![]() |
#85 | Link |
Registered User
Join Date: Feb 2012
Posts: 116
|
Where can we download it? Can I use it in mpv?
Thanks I love this sharpener but I think 1.0 is too much as default value. Edit: I found it inside the mpv wiki... ![]() https://gist.github.com/bjin/152a2f8bdf87d83261ac Last edited by foozoor; 13th December 2015 at 20:56. |
![]() |
![]() |
![]() |
#87 | Link | |
Registered User
Join Date: Feb 2012
Posts: 116
|
Quote:
![]() Is there something between lumasharpen and adaptive sharpen for mpv? Because my gpu can‘t handle adaptive sharpen with some video files. Could you port finesharp or lsfmod as mpv shader? |
|
![]() |
![]() |
![]() |
#93 | Link |
Registered User
Join Date: Oct 2013
Location: Sweden
Posts: 128
|
At least that's 18% faster rendering times for the shader.
Did you have have "fast_ops = 1" in JPulowski.cfg? I did my test on a DX11 target application. Last edited by bacondither; 19th December 2015 at 14:58. |
![]() |
![]() |
![]() |
#97 | Link | |
Registered User
Join Date: Dec 2015
Posts: 1
|
Hlsl
Quote:
|
|
![]() |
![]() |
![]() |
#98 | Link | |
Registered User
Join Date: Feb 2015
Posts: 22
|
Quote:
Code:
[vo/opengl] fragment shader compile log (status=0): [vo/opengl] 0:96(15): error: type error in array constructor: expected: vec3, found vec4 [vo/opengl] [vo/opengl] shader link log (status=0): error: linking with uncompiled shader [vo/opengl] after rendering: OpenGL error INVALID_OPERATION. [vo/opengl] after rendering: OpenGL error INVALID_OPERATION. [fpsadjust] Setting speed to 1 AV: 00:00:00 / 00:06:29 (0%) A-V: 0.022 DS: 2.500/0 Cache: 9s+30MB [vo/opengl] after rendering: OpenGL error INVALID_OPERATION. [vo/opengl] after rendering: OpenGL error INVALID_OPERATION. [vo/opengl] after rendering: OpenGL error INVALID_OPERATION. [vo/opengl] after rendering: OpenGL error INVALID_OPERATION. AV: 00:00:00 / 00:06:29 (0%) A-V: 0.006 DS: 2.250/0 Cache: 9s+40MB [vo/opengl] after creating framebuffer texture: OpenGL error INVALID_OPERATION. AV: 00:00:00 / 00:06:29 (0%) A-V: 0.005 DS: 2.200/0 Cache: 9s+47MB [vo/opengl] after creating framebuffer texture: OpenGL error INVALID_OPERATION. AV: 00:00:00 / 00:06:29 (0%) A-V: 0.005 DS: 2.167/0 Cache: 9s+53MB [vo/opengl] after creating framebuffer texture: OpenGL error INVALID_OPERATION. AV: 00:00:00 / 00:06:29 (0%) A-V: 0.003 DS: 2.286/0 Cache: 9s+58MB [vo/opengl] after creating framebuffer texture: OpenGL error INVALID_OPERATION. AV: 00:00:00 / 00:06:29 (0%) A-V: 0.001 DS: 2.250/0 Cache: 9s+67MB [vo/opengl] after creating framebuffer texture: OpenGL error INVALID_OPERATION. AV: 00:00:02 / 00:06:29 (0%) A-V: -0.005 DS: 2.389/0 Cache: 9s+302MB |
|
![]() |
![]() |
![]() |
Tags |
adaptive sharpen, shader, sharpening |
Thread Tools | Search this Thread |
Display Modes | |
|
|