docs(videodec2): record public evidence for 10-bit output #2427
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2427"
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 boykopovar/AnyPS5. Originally posted by RipcuBAN on 2026-10-09T19:28:07Z.
What
Record public evidence that narrows the unknown Videodec2 10-bit output layout: distinct sample/byte pitches, contiguous Y and interleaved UV, and a shader factor consistent with low-bit samples in 16-bit words. Source links in the debt entry are pinned to EVO-PLAYER-PS5 commit
9ee9a5420c73b5be448610e5f0a90a29a75592f3.This is a documentation-only contribution. Raw sample words,
frameFormatand alignment remain unverified; frames deeper than 8 bits still throw. It does not implement Main10 or claim a hardware measurement. Standard P010 uses the high bits (Microsoft definition), so its name alone does not justify selecting an FFmpeg conversion.In EVO,
ro_harvestborrows the decoder buffer and sets the UV offset to byte pitch times coded height. The examinedstage_planepath uses the buffer directly or copies rows (source). Its UNORM descriptors and SDR shader use the factor64.0615844, approximately65535 / 1023. A shader defect or a transformation outside the examined path is still possible.Overlap: #2161 adds HEVC picture metadata for 8-bit output and updates the preceding decoder debt entry. This adds a separate item and changes no exports. Documentation conflicts can retain both entries. Searches for open PRs mentioning Videodec2 and P010 found no equivalent 10-bit evidence entry; this is not an exhaustive review of every open patch.
Tested
Windows, Python 3.11+: ran the local source extractor and arithmetic verifier; verified the downloaded pinned source bytes against the local inputs. Checked all 1,024 samples under both assumed R16 UNORM layouts. Maximum error against sample/1023: low bits
1.283588924e-8, high bits63.0000008215. For sample 512 the results are approximately 0.500489 and 32.031281.The local research tool passed 15 tests. Its Ghidra adapter uses simulated-engine tests; no real decompilation was performed. That tool is not included in this PR. No PS5/title test or full build was run for this documentation-only change. Repository conventions and
git diff --checkpassed after updating to main8b393b6e; the published file matches the locally checked file.Checklist
main; no functions implemented (related PR overlap described above)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T19:28:16Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed