24.09.2024, 19:51
yes, it is called in HAVC_ddeoldify(), in this piece of code
I included a new RC16 where I anticipated the check in HAVC_main().
Dan
scenechange = not (sc_threshold == 0 and sc_min_freq == 0)
clip = SceneDetect(clip, threshold=sc_threshold, frequency=sc_min_freq)
frame_size = min(max(ddcolor_rf, deoldify_rf) * 16, clip.width) # frame size calculation for inference()
clip_orig = clip;
clip = clip.resize.Spline64(width=frame_size, height=frame_size)
clipa = vs_sc_deoldify(clip, method=method, model=deoldify_model, render_factor=deoldify_rf,
scenechange=scenechange, package_dir=package_dir)
clipb = vs_sc_ddcolor(clip, method=method, model=ddcolor_model, render_factor=ddcolor_rf, tweaks_enabled=ddtweak,
tweaks=ddtweak_p, enable_fp16=ddcolor_enable_fp16, scenechange=scenechange,
device_index=device_index)
I included a new RC16 where I anticipated the check in HAVC_main().
Dan