cpu: verify the five Bink frame plane allocation requests #169
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/170"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-21T17:54:38Z.
Change
Trace the five requests from one iteration of BinkAllocateFrameBuffers to the grouped descriptor builder. The translated package slice and source-built fixture expose the destination address and byte count for each enabled plane. The observer also checks that the pitch store follows the request. Refs #157.
Verification
At
39d0b64on Windows x64 with MSVC 19.44, the new check failed on the prior DLL because the frame-plane entry was absent. The native control, its translation and the translated package loop passed all 32 enable masks at each of three frame positions. With all slots enabled the five sizes were 672, 96, 96, 672 and 672 bytes. The test compares the entire frame table after every run, including inactive slots.All four CTests passed; the direct Python comparison exited zero.
Evidence and follow-up
The MASM fixture and Python plane records are original MIT-licensed source. The local comparison binds only the append calls to an observer and supplies the frame index, cursor and pitches at loop entry. The allocator and frame decoder are outside the measured region. Build options and experiment notes.
Checklist
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T17:54:47Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
39d0b64ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.