Formats: walk paired XMA overlap samples directly #3629
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3629
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3629"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 23:42 UTC · original
andrewpozdnakov7-jpg:codex2/xma-window-overlap→main· +10 −6 · 1 files · 1 commits · openXMA joins each decoded block to the previous one with a windowed overlap. Split each slice once and iterate the matching sample and window pairs directly. Each pair uses the same floating-point expressions in the same order.
On Windows x86-64, the median time for the isolated step across 15 alternating A/B measurements was 216 to 143 ns for 128 samples, 416 to 323 ns for 256, and 831 to 675 ns for 512. Each timing includes copying the same generated input into the working buffer.
The same 16 generated mono frames and final flush produced byte-identical PCM on main and this head. That check uses the single-bin synthetic frame from #2795. The 46 active release tests in victory-formats passed, along with strict Clippy and the asset policy check.
Coordination claim
AI-assisted with OpenAI Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-11-27 23:42 UTC · original
The Windows comparison used two distinct release test binaries at
63bcca4anda5142ae. All four outputs from decoding 16 generated mono frames plus the final flush matched byte for byte, with 8,430 nonzero samples out of 8,448. The isolated 128-, 256-, and 512-sample checks also matched bit for bit, including signed zero and very small finite samples.The isolated overlap-add step took roughly 19–34% less time on this host. The timings are for the synthetic operation in this PR. The 46 active victory-formats release tests and strict Clippy passed.
If you reuse the code, please retain the Git author on cherry-pick or rebase, or add Co-authored-by: andrewpozdnakov7-jpg [email protected] if folding it into another commit.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.