Skip to content

Commit

Permalink
remove box_blur proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichunjo committed Jan 5, 2025
1 parent 1afd8f1 commit d8c695e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions vardefunc/vsjet_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import numpy as np
import vsdenoise
import vsmasktools
import vsrgtools
import vstools

from vskernels import Catrom, KernelT
Expand All @@ -25,7 +24,6 @@
"HardsubSign", "HardsubSignFades",
"replace_squaremask", "rekt_partial",
"dpir",
"box_blur"
]


Expand Down Expand Up @@ -298,15 +296,3 @@ def __call__(


dpir = _dpir.DEBLOCK


@copy_signature(vsrgtools.box_blur)
def box_blur(*args: Any, **kwargs: Any) -> Any:
blurred = vsrgtools.box_blur(*args, **kwargs)

assert blurred.format

if hasattr(core, 'vszip') and blurred.format.bits_per_sample == 16:
blurred = core.std.Expr([args[0], blurred], "x 32769 = 32769 x 32770 >= y 2 + y ? ?")

return blurred

0 comments on commit d8c695e

Please sign in to comment.