Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GPU format/colourspace conversion #11337

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dsaedtler
Copy link
Contributor

@dsaedtler dsaedtler commented Oct 2, 2024

Description

Extends GPU scaling to also handle colourspace or format conversions to enable shared-texture encoding with heterogenous output formats.

Note: Includes #11336

Motivation and Context

#11336 falls back to shared memory encoders, which are less efficient, this aims to fix that by extending the conversion capabilities.

In theory this would also allow recording HDR locally and streaming SDR, among other use cases that people might have.

Will need some additional discussion related to function naming and implemenation of the new texture availability check.

How Has This Been Tested?

Streamed to Twitch while recording 444 locally as well as streaming SDR while recording HDR locally.

Also currently only fully implemented for NVENC, will need AMFQSV as well.

Types of changes

  • Tweak (non-breaking change to improve existing functionality)
  • Performance enhancement (non-breaking change which improves efficiency)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

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