Intel QuickSync support for Windows #758
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces Intel QuickSync support for Windows. We initially create a D3D11VA hwdevice then use that to derive a QSV context which wraps the underlying D3D11 texture pool. We map the QSV surfaces back to D3D11 textures to draw into them (handled in #736).
The QSV encoder was a little more finicky than AMF and NVENC, so more quirk flags were required to get it to behave (respecting the max frame size, but without lowering the RC buffer too much which caused the HEVC encoder to fail completely on large frames).
This does not address hybrid graphics (Optimus) scenarios. I will put up a second PR for that.
Screenshot
Issues Fixed or Closed
Resolves #698
Resolves #438
Type of Change
.github/...
)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.