decomp(jpeg): scope RGB565420 edge pixel values #1061
Reference in New Issue
Block a user
Delete Branch "agent/bittle/jpeg-pixel-review"
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?
Partial reconstruction
Give each RGB565420 edge pixel its actual luminance/red/blue/green local lifetime immediately after the existing chroma-update block. Use the original red→blue→green computation order while preserving overflow tests, clamping, packing, offsets and traversal. The already-exact RGB565444 sibling independently supports pixel-scoped ownership; no unrelated prior trial is imported.
This is a partial fuzzy gain, not an exact function or linking claim.
Independent verification
Base 81ba279958fa6bbee69b5f14762243dd258ded6f; tested tree
eb097881d1.These are bounded converter-model tests, not a full Wii/JPEG runtime test. Details: tools/decomp-assist/allhands-jpeg-pixel-lifetime.attempts.md. The earlier negative IFD1 experiment was fully restored and is not part of this patch.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.