Compare commits
No commits in common. "397b17539e8e2aea62e9939acd492fcb09b0b17e" and "562b00f4077799439dd12980fc12bc7f9a623794" have entirely different histories.
397b17539e
...
562b00f407
@ -8,7 +8,6 @@ from yt_common.source import waka_replace
|
||||
from typing import List
|
||||
from lvsfunc.dehardsub import HardsubLineFade, HardsubMask, HardsubSign, bounded_dehardsub
|
||||
from lvsfunc.types import Range
|
||||
from lvsfunc.misc import replace_ranges
|
||||
|
||||
import os
|
||||
|
||||
@ -90,7 +89,6 @@ def filter_basic() -> vs.VideoNode:
|
||||
wakas = [w[0] + w for w in wakas]
|
||||
waka = wakas[0]
|
||||
waka, wakas = waka_replace(waka, wakas[1:], WAKA_REPLACE)
|
||||
waka = replace_ranges(waka, ref, [(30497, 30556)]) # wth wakanim
|
||||
src = bounded_dehardsub(waka, ref, SIGNS_RU, wakas)
|
||||
src.set_output(1)
|
||||
return src
|
||||
|
@ -8,7 +8,7 @@ from yt_common.source import waka_replace
|
||||
|
||||
from typing import List, Optional
|
||||
|
||||
from lvsfunc.dehardsub import HardsubSignFade, HardsubMask, bounded_dehardsub
|
||||
from lvsfunc.dehardsub import HardsubLineFade, HardsubSignFade, HardsubMask, bounded_dehardsub
|
||||
from lvsfunc.types import Range
|
||||
|
||||
import os
|
||||
@ -46,6 +46,8 @@ TITLECARDS: List[Range] = [
|
||||
]
|
||||
|
||||
SIGNS_RU: List[HardsubMask] = [
|
||||
HardsubLineFade([
|
||||
], ((449, 51), (1015, 127)), refframe=0.75),
|
||||
HardsubSignFade([
|
||||
(318, 347),
|
||||
(4607, 4702),
|
||||
@ -69,23 +71,9 @@ SIGNS_RU: List[HardsubMask] = [
|
||||
|
||||
SIGNS_RU += [HardsubSignFade(tc) for tc in TITLECARDS]
|
||||
|
||||
AA_STRONG: List[Range] = [
|
||||
# the stars in this range respond poorly to nnedi3-clamped AAs, but fine to sraa
|
||||
(13374, 13889),
|
||||
(14022, 14270),
|
||||
(14994, 15233),
|
||||
(15540, 15779),
|
||||
(16086, 16277),
|
||||
(19530, 19805),
|
||||
(19995, 20177),
|
||||
(20190, 20669),
|
||||
(20856, 21020),
|
||||
]
|
||||
|
||||
AA_WEAK: List[Range] = [
|
||||
(0, 35),
|
||||
(282, 347),
|
||||
(17757, 18068),
|
||||
(18069, 18440),
|
||||
]
|
||||
|
||||
@ -110,7 +98,7 @@ def filter() -> vs.VideoNode:
|
||||
src = filter_basic()
|
||||
den = denoise(src)
|
||||
deb = deband(den)
|
||||
aa = antialias(deb, strong=AA_STRONG, weak=AA_WEAK, noaa=AA_NONE)
|
||||
aa = antialias(deb, weak=AA_WEAK, noaa=AA_NONE)
|
||||
scenefilter = stupid_op_scenefilter(aa, deb, OP)
|
||||
grain = regrain(scenefilter)
|
||||
final = finalize(grain)
|
||||
|
Loading…
x
Reference in New Issue
Block a user