Skip to content

Commit

Permalink
Remove cut-off, link to supported vs-placebo repo
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed May 19, 2024
1 parent ce21f60 commit 6667096
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vskernels/kernels/placebo.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ class Placebo(LinearScaler):

# Quality settings
antiring: float
cutoff: float

scale_function = core.lazy.placebo.Resample

def __init__(
self,
taps: float | None = None, b: float | None = None, c: float | None = None,
clamp: float = 0.0, blur: float = 0.0, taper: float = 0.0,
antiring: float = 0.0, cutoff: float = 0.001,
antiring: float = 0.0,
**kwargs: Any
) -> None:
self.taps = taps
Expand All @@ -48,7 +47,6 @@ def __init__(
self.blur = blur
self.taper = taper
self.antiring = antiring
self.cutoff = cutoff
super().__init__(**(dict(curve=Transfer.BT709) | kwargs))

@inject_self.cached
Expand Down Expand Up @@ -83,7 +81,7 @@ def get_params_args(
width=width, height=height, filter=self._kernel,
radius=self.taps, param1=self.b, param2=self.c,
clamp=self.clamp, taper=self.taper, blur=self.blur,
antiring=self.antiring, cutoff=self.cutoff,
antiring=self.antiring,
) | kwargs

@inject_self.property
Expand Down

0 comments on commit 6667096

Please sign in to comment.