Skip to content

Commit

Permalink
sraa: Fix nnedi3cl, eedi3cl calls
Browse files Browse the repository at this point in the history
I should really start actually testing my code lol
  • Loading branch information
LightArrowsEXE committed Jan 17, 2021
1 parent 6da11cb commit 6c64da1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lvsfunc/aa.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ def upscaled_sraa(clip: vs.VideoNode,
nnedi3cl = fallback(nnedi3cl, opencl)
eedi3cl = fallback(eedi3cl, opencl)

nnedi3 = core.nnedi3cl.NNEDI3CL if nnedi3_cl else core.nnedi3.nnedi3
eedi3 = core.eedi3m.EEDI3CL if eedi3_cl else core.eedi3m.EEDI3
nnedi3 = core.nnedi3cl.NNEDI3CL if nnedi3cl else core.nnedi3.nnedi3
eedi3 = core.eedi3m.EEDI3CL if eedi3cl else core.eedi3m.EEDI3

# Nnedi3 upscale from source height to source height * rounding (Default 1.5)
up_y = nnedi3(luma, 0, 1, 0, **nnargs)
Expand Down

0 comments on commit 6c64da1

Please sign in to comment.