Skip to content

Add negotiated CPU video targets, repeats and lossless pixel pairs - #12

Merged
mstan merged 6 commits into
mainfrom
feat/cpu-video-pixel-pairs-20261115
Nov 17, 2026
Merged

mstan merged 6 commits into
mainfrom
feat/cpu-video-pixel-pairs-20261115

Conversation

@mstan

@mstan mstan commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

CPU video publication currently copies every completed picture through the shared slot, including pictures an unpaced host does not need. This adds negotiated publication demand, host-owned CPU targets, exact previous-frame repeats, and an optional RGBA8_X2 format carrying lossless horizontal pixel pairs. Cores retain their internal video history and continue audio and simulation when publication is declined.

The additions preserve the existing ABI prefixes and link-message sizes. Unsupported hosts reject the optional target and receive ordinary RGBA8. Recording requires canonical full frames; observer paths expand compact frames only when needed. Link protocol 2.7 advertises pixel-pair support explicitly, and repeats require the previous published representation to match.

Validation: the full SDK CI suite passes on Windows, Linux and macOS ARM64 (44 tests per platform). All 11 focused SDK contract tests pass, including old/new prefix directions, declined loans, recording, repeat selection, compact targets and ordinary fallbacks. Complete N64 production routes in Super Smash Bros. and Mario Kart 64 preserve PCM, progress and final pictures with zero faults. Compact transport is exercised in both games. The corresponding frontend reconstructs the canonical image on the GPU before its existing filters.

This draft is part of the coordinated video optimization change. Final combined integration and visual review remain pending.

Companion frontend: RetroPortingToolKit/Retro-Launcher#48

@mstan
mstan marked this pull request as ready for review November 17, 2026 00:04
@mstan
mstan merged commit ea48d7d into main Nov 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant