Repository navigation
DFTTest: plan FFTs with FFTW_ESTIMATE so preview = encode (task #101) - #262
Open
StuartCameronCode wants to merge 14 commits into
Open
StuartCameronCode wants to merge 14 commits into
StuartCameronCode wants to merge 14 commits into
Conversation
) PATIENT timed DFTTest's plans per process, so a preview and its encode could filter the same frame differently. patches/dfttest-bc5e018-fftw-estimate.patch, applied after task #98's thread-safety patch on every platform, plans with FFTW_ESTIMATE and marks the plugin's name; the deps scripts require the mark. Push-gate and heavy tests, gated on deps 1.18.0-rc4; report scripts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… merge) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…S lists the patch; test skips comment lines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s rc4 builds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the runner's CPU name Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…processes; CLAUDE.md rule, engineering note, index row, deps history Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…T wording Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Its runs' results are in docs/reports/task-101-dfttest-fftw-planning/data/ci. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…on four platforms Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rding in the engineering note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
StuartCameronCode
force-pushed
the
stuart/101-dfttest-plans-its-ffts-with-fftw-patient
branch
from
November 24, 2026 12:11
2465c7b to
768e102
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
DFTTest planned its four FFTs with
FFTW_PATIENT, which times candidate plans in each process. Different plans round floats differently, so on x86 the same script could give one of several pictures. A preview and its encode run in two processes, so they could disagree. This is the same fault as FFT3DFilter'smeasure=1(task #80). DFTTest has no argument that picks the planner, so the fix is a patch:Scripts/patches/dfttest-bc5e018-fftw-estimate.patchplans all four FFTs withFFTW_ESTIMATE(one plan per machine, the same in every process) and appends; FFTW_ESTIMATE, task #101to the plugin's name. It applies after task Track app updates: NEW badges, release notes, and a Changes tab #98's thread-safety patch, to upstream bc5e018 and to yuygfgg's e6f580a (macOS arm64) alike.download-deps-{macos,linux}.sh,download-deps-windows.ps1apply it after the thread-safety patch and require both markers. A build on disk that has only Track app updates: NEW badges, release notes, and a Changes tab #98's marker is rebuilt, never shipped. LGhost, CTMF and TCanny are not forced to rebuild.FFTW_PATIENT, as decided in task Presets: import and export, and three filename bugs (#81) #96.Ships in deps 1.18.0-rc4.
deps-version.jsonstill names rc3, so the new bundle checks skip until rc4 is published and pinned (release work).Measurements (report:
docs/reports/task-101-dfttest-fftw-planning/)tbsize> 1): the Noise Reduction DFTTest method, QTGMC's dfttest denoiser and its knlmeanscl fallback, and TemporalDegrain2 postFFT 3. 2D plans (havsfunc's prefilters) never split.Tests
Push gate:
vapoursynth_integration_test.dart›dfttest FFTW planning (task #101)checks the marker and that a second process filters exactly as the first (from deps 1.18.0-rc4). It also checks the patch and that every script applies it after the thread-safety patch. ci-test 45001593065 is green on all four platforms.Heavy:
integration_dfttest_determinism_test.dartchecks that six fresh previews and the lossless encode agree sample for sample, for the Noise Reduction DFTTest method, QTGMC's dfttest denoiser and TD2 postFFT 3 (a mixed graph with FFT3DFilter). In nightly 45001595186 (rc4 builds) every leg gave 6 previews 0 apart, preview vs encode 0: macOS arm64, x64, x64-v2; Linux x64, x64-v2; Windows x64, x64-v2.Other nightly failures in that run, not from this change: each one also fails on main's recent nightlies, except the Windows one at the end.
--detect-nativereserved-tag test hits its 30 s timeout.Combined - All Filters Active. It did not show on main's last two nightlies. No crash report says which plugin. The Windows-v2 heavy leg, which runs the same test, passed.The rc4 Windows legs fail less than main's rc3 ones, which fail the FFT3DFilter determinism, akarin parity and several sweep rows.
Docs
CLAUDE.md ("DFTTest plans with FFTW_ESTIMATE", deps history rc4 row), ENGINEERING_NOTES, the reports index and NOTICES.
🤖 Generated with Claude Code