Skip to content

Commit

Permalink
vinverse: match vinverse2 behavior by default
Browse files Browse the repository at this point in the history
  • Loading branch information
emotion3459 committed Jan 22, 2025
1 parent f7235ee commit 9c05f31
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vsdeinterlace/funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

from typing import Any, cast

from functools import partial

from stgpytools import CustomIntEnum
from vsdenoise import MVTools
from vsexprtools import ExprVars, complexpr_available, norm_expr
from vsrgtools import BlurMatrix
from vsrgtools import BlurMatrix, sbr
from vstools import (
ConvMode, CustomEnum, FormatsMismatchError, FuncExceptT, FunctionUtil, GenericVSFunction,
InvalidFramerateError, PlanesT, check_variable, core, scale_delta, vs
Expand Down Expand Up @@ -214,9 +216,9 @@ def __call__(

def vinverse(
clip: vs.VideoNode,
comb_blur: GenericVSFunction | vs.VideoNode = BlurMatrix.BINOMIAL(mode=ConvMode.VERTICAL),
comb_blur: GenericVSFunction | vs.VideoNode = partial(sbr, mode=ConvMode.VERTICAL),
contra_blur: GenericVSFunction | vs.VideoNode = BlurMatrix.BINOMIAL(mode=ConvMode.VERTICAL),
contra_str: float = 2.0, amnt: int = 255, scl: float = 0.25,
contra_str: float = 2.7, amnt: int = 255, scl: float = 0.25,
thr: int = 0, planes: PlanesT = None,
**kwargs: Any
) -> vs.VideoNode:
Expand Down

0 comments on commit 9c05f31

Please sign in to comment.