Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 52813f8

Browse files
authored
Version 1.0.4
1 parent 7df9ce9 commit 52813f8

5 files changed

+8
-8
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# better-mpv-config
22

3-
Version: 1.0.3
3+
Version: 1.0.4
44

5-
Last Updated (AEST): 2021-12-08 02:29:36PM
5+
Last Updated (AEST): 2022-01-23 09:31:59PM
66

77
## Intro
88

shaders/KrigBilateral.glsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,4 @@ vec4 hook() {
213213
interp += b[0] * (X[0] - X[N]).zw;
214214

215215
return interp.xyxy;
216-
}
216+
}

shaders/SSimDownscaler.glsl

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ vec4 hook() {
4949
float rel = (pos[axis] - base[axis])*POSTKERNEL_size[axis];
5050
float w = Kernel(rel);
5151

52-
avg += w * pow(textureLod(PREKERNEL_raw, pos, 0.0) * PREKERNEL_mul, vec4(2.0));
52+
vec4 tex = textureLod(PREKERNEL_raw, pos, 0.0) * PREKERNEL_mul;
53+
avg += w * tex * tex;
5354
W += w;
5455
}
5556
avg /= W;
@@ -214,4 +215,4 @@ vec4 hook() {
214215
avg /= W;
215216
vec4 L = POSTKERNEL_texOff(0);
216217
return vec4(avg[1] + avg[2] * L.rgb - avg[0], L.a);
217-
}
218+
}

shaders/SSimSuperRes.glsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,4 @@ vec4 hook() {
202202
c0.rgb = ((c0.rgb) + diff);
203203

204204
return c0;
205-
}
205+
}

shaders/adaptive-sharpen.glsl

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Requires sigmoid-upscaling=no. Best quality setting (according to objective metrics): curve_height 0.5, overshoot_ctrl true.
44
// To use it on-demand add the following line to input.conf: n change-list glsl-shaders toggle "~~/adaptive-sharpen.glsl"
55

6-
76
// Copyright (c) 2015-2021, bacondither
87
// All rights reserved.
98
//
@@ -260,4 +259,4 @@ vec4 hook() {
260259
vec3 res = c0_Y + (sharpdiff_lim*3.0 + sharpdiff)/4.0 + (c[0] - c0_Y)*satmul;
261260

262261
return vec4(video_level_out == true ? res + HOOKED_texOff(0).rgb - c[0] : res, HOOKED_texOff(0).a);
263-
}
262+
}

0 commit comments

Comments
 (0)