feat(videoout): accept the STRICT_COLORIMETRY buffer option #647
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/647"
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 Celegans12 on 2026-10-05T10:54:43Z.
What
sceVideoOutRegisterBuffers2andsceVideoOutSubmitChangeBufferAttribute2threw for every buffer option other than 0.VIDEO_OUT_BUFFER_ATTRIBUTE_OPTION_STRICT_COLORIMETRY, is presented exactly as option 0. Any other value throws, including 8 combined withALPHA_PREMULTIPLIED(32).src/graphics/presentation/videoOut.cpp); shadPS4'svideo_out.h(PS4 reference) has the same value for option 8.VideoOut: unsupported tiling 0, pitch 0, aspect ratio 0 or buffer option 32.sceVideoOutSetBufferAttribute2call at 0x1616393); its calls at 0xccffd3 and 0xcd143d pick format-table rows with option 8.VideoOut: DCC presentation is not implemented; a follow-up PR stacked on this one implements DCC presentation.Tested
main53dc19cf: configure-DBUILD_TESTING=ON, full build,--target libs,ctest:ctest --output-on-failure)video_out_flip_tests decode(not part of ctest, as in #297): option 8 describes the same buffer as option 0; options 1, 32 and 40 throw with the value in the message. Withmain'sBuffer.cppit fails at the option-8 row.mainits firstsceVideoOutRegisterBuffers2throws at the option check; with this change it reaches the DCC check above.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-05T18:14:42Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/TechnicalDebt.mdL27