Skip to content

Commit

Permalink
fft3d: Pass interlaced param
Browse files Browse the repository at this point in the history
  • Loading branch information
LightArrowsEXE committed Oct 3, 2024
1 parent bdd0698 commit 310edfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vsdenoise/fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,8 @@ def merge_freq(self, low: vs.VideoNode, high: vs.VideoNode, sloc: SLocT, **kwarg


def fft3d(clip: vs.VideoNode, func: FuncExceptT | None = None, **kwargs: Any) -> vs.VideoNode:
kwargs |= dict(interlaced=FieldBased.from_video(clip, False, fft3d).is_inter)

if hasattr(core, 'fft3dfilter'):
# fft3dfilter requires sigma values to be scaled to bit depth
# https://github.com/myrsloik/VapourSynth-FFT3DFilter/blob/master/doc/fft3dfilter.md#scaling-parameters-according-to-bit-depth
Expand Down

0 comments on commit 310edfb

Please sign in to comment.