fix(videoout): add buffer attribute options #3818

Closed
devavijitsingh wants to merge 1 commit from upstream-pr/3818 into main
devavijitsingh commented 2026-10-11 17:12:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by devavijitsingh on 2026-10-11T17:12:14Z.


What

Closes #3802. Adds the missing sceVideoOutAddBufferAttributeOption export. It rejects a null attribute pointer and ORs the requested option bits into the existing attribute, preserving bits already set. Option 0x20 remains unsupported because its meaning is undocumented; this change does not claim that the related overlay path works end-to-end.

Tested

Windows: tools/check_conventions.py --base origin/main and git diff origin/main...HEAD --check passed. Build and tests were not run: CMake and a supported C++ compiler are unavailable in this environment.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4820835003 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3818). Originally posted by [devavijitsingh](https://github.com/devavijitsingh) on 2026-10-11T17:12:14Z. --- ### What Closes #3802. Adds the missing `sceVideoOutAddBufferAttributeOption` export. It rejects a null attribute pointer and ORs the requested option bits into the existing attribute, preserving bits already set. Option `0x20` remains unsupported because its meaning is undocumented; this change does not claim that the related overlay path works end-to-end. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. --> Windows: `tools/check_conventions.py --base origin/main` and `git diff origin/main...HEAD --check` passed. Build and tests were not run: CMake and a supported C++ compiler are unavailable in this environment. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-11 17:30:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T17:30:09Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
#3817 sceVideoOutAddBufferAttributeOption
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111722838 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3818#issuecomment-6111722838). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T17:30:09Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #3817 | | `sceVideoOutAddBufferAttributeOption` | |
github-actions[bot] commented 2026-10-11 17:47:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T17:47:09Z.


Progress report (a11c8f7 → d42e9fb)

📈 System libraries: 85.82% (+0.01%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceVideoOut sceVideoOutAddBufferAttributeOption
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111877348 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3818#issuecomment-6111877348). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T17:47:09Z. --- <!-- progress-report --> ### Progress report (a11c8f7 → d42e9fb) 📈 **System libraries**: 85.82% (+0.01%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceVideoOut | `sceVideoOutAddBufferAttributeOption` | </details>
adriadam10 commented 2026-10-11 17:47:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T17:47:36Z.


Closing as a duplicate: #3817 (opened a few minutes earlier) adds the same export, sceVideoOutAddBufferAttributeOption, in the same files (Buffer.hpp, Buffer.cpp, tests/Flip.cpp, TechnicalDebt.md) with the same behaviour, and the overlap bot flagged it. CONTRIBUTING requires that no other open PR implements the same functions, so the "no other open PR" checklist item doesn't hold here.

Please review and test on #3817 instead; if you have evidence that it misses something, comment there. Feel free to reopen if #3817 is closed without landing.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111881488 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3818#issuecomment-6111881488). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T17:47:36Z. --- Closing as a duplicate: #3817 (opened a few minutes earlier) adds the same export, `sceVideoOutAddBufferAttributeOption`, in the same files (`Buffer.hpp`, `Buffer.cpp`, `tests/Flip.cpp`, `TechnicalDebt.md`) with the same behaviour, and the overlap bot flagged it. CONTRIBUTING requires that no other open PR implements the same functions, so the "no other open PR" checklist item doesn't hold here. Please review and test on #3817 instead; if you have evidence that it misses something, comment there. Feel free to reopen if #3817 is closed without landing.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!3818
No description provided.