Repository navigation
feat: decode H.265 with VA-API on Linux - #372
Merged
Merged
Conversation
AMD's encoder takes no picture below 384x128, which WebRTC scales down to. Smaller frames are coded in a picture of that size and cropped by the SPS.
Adds an H.265 Main decoder for Intel and AMD GPUs, with its own parser for the parameter sets and slice headers. VA-API decoding no longer needs webrtc.hardware.vaapiExperimental, which is removed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds an H.265 Main decoder for Intel and AMD GPUs through VA-API, with its own parser for the parameter sets and slice headers. VA-API decoding (VP9 and H.265) no longer needs
webrtc.hardware.vaapiExperimental, which is removed.Also codes H.265 pictures smaller than 384x128 at that size and crops them, since AMD's encoder takes nothing smaller.
Builds on #371; streams with scaling lists are not decoded.