Skip to content

Commit

Permalink
fixed typo in havsfunc
Browse files Browse the repository at this point in the history
eedim -> eedi3
  • Loading branch information
Selur authored Apr 11, 2018
1 parent 44fb025 commit 906bc39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions havsfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ def santiag_dir(c, strength, type, fw=None, fh=None):
def santiag_stronger(c, strength, type):
if opencl:
myNNEDI3 = core.nnedi3cl.NNEDI3CL
myEEDI3 = core.eedi3m.EEDI3CL if hasattr(core, 'eedi3m') else core.eedim.eedi3
myEEDI3 = core.eedi3m.EEDI3CL if hasattr(core, 'eedi3m') else core.eedi3.eedi3
nnedi3_args = dict(nsize=nsize, nns=nns, qual=qual, pscrn=pscrn)
else:
myNNEDI3 = core.znedi3.nnedi3 if hasattr(core, 'znedi3') else core.nnedi3.nnedi3
myEEDI3 = core.eedi3m.EEDI3 if hasattr(core, 'eedi3m') else core.eedim.eedi3
myEEDI3 = core.eedi3m.EEDI3 if hasattr(core, 'eedi3m') else core.eedi3.eedi3
nnedi3_args = dict(nsize=nsize, nns=nns, qual=qual, pscrn=pscrn, int16_prescreener=int16_prescreener, int16_predictor=int16_predictor, exp=exp)

strength = max(strength, 0)
Expand Down Expand Up @@ -1397,11 +1397,11 @@ def QTGMC_Interpolate(Input, InputType, EdiMode, NNSize, NNeurons, EdiQual, EdiM

if opencl:
myNNEDI3 = core.nnedi3cl.NNEDI3CL
myEEDI3 = core.eedi3m.EEDI3CL if hasattr(core, 'eedi3m') else core.eedim.eedi3
myEEDI3 = core.eedi3m.EEDI3CL if hasattr(core, 'eedi3m') else core.eedi3.eedi3
nnedi3_args = dict(nsize=NNSize, nns=NNeurons, qual=EdiQual, pscrn=pscrn)
else:
myNNEDI3 = core.znedi3.nnedi3 if hasattr(core, 'znedi3') else core.nnedi3.nnedi3
myEEDI3 = core.eedi3m.EEDI3 if hasattr(core, 'eedi3m') else core.eedim.eedi3
myEEDI3 = core.eedi3m.EEDI3 if hasattr(core, 'eedi3m') else core.eedi3.eedi3
nnedi3_args = dict(nsize=NNSize, nns=NNeurons, qual=EdiQual, pscrn=pscrn, int16_prescreener=int16_prescreener, int16_predictor=int16_predictor, exp=exp)
eedi3_args = dict(alpha=alpha, beta=beta, gamma=gamma, nrad=nrad, mdis=EdiMaxD, vcheck=vcheck)

Expand Down

0 comments on commit 906bc39

Please sign in to comment.