avcodec/qsvenc_av1: add High profile and YUV 4:4:4 pixel format support#371
Open
kumarsac wants to merge 1 commit intointel:masterfrom
Open
avcodec/qsvenc_av1: add High profile and YUV 4:4:4 pixel format support#371kumarsac wants to merge 1 commit intointel:masterfrom
kumarsac wants to merge 1 commit intointel:masterfrom
Conversation
AV1 High profile (MFX_PROFILE_AV1_HIGH, profile_idc=2) is required for 4:4:4 chroma subsampling. Expose it as a selectable profile option alongside the existing main/unknown entries. Add AV_PIX_FMT_VUYX (YUV 4:4:4 8-bit packed) and AV_PIX_FMT_XV30 (YUV 4:4:4 10-bit packed) to CODEC_PIXFMTS so the format negotiation path can select them. Signed-off-by: Kumar, Sachin <sachin.kumar@intel.com>
There was a problem hiding this comment.
Pull request overview
This PR introduces AV1 4:4:4 support improvements for the QSV AV1 encoder by exposing the AV1 High profile option and advertising additional 4:4:4 packed pixel formats so FFmpeg’s format negotiation can select them.
Changes:
- Add an AV1 QSV encoder
profile=highoption mapped toMFX_PROFILE_AV1_HIGH. - Extend
ff_av1_qsv_encodersupported pixel formats to includeAV_PIX_FMT_VUYX(8-bit 4:4:4 packed) andAV_PIX_FMT_XV30(10-bit 4:4:4 packed).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
pradkrni
reviewed
Mar 6, 2026
| - CODEC_PIXFMTS(AV_PIX_FMT_NV12, AV_PIX_FMT_P010, AV_PIX_FMT_QSV), | ||
| + CODEC_PIXFMTS(AV_PIX_FMT_NV12, AV_PIX_FMT_P010, | ||
| + AV_PIX_FMT_VUYX, AV_PIX_FMT_XV30, | ||
| + AV_PIX_FMT_QSV), |
There was a problem hiding this comment.
Cosmetic changes: Just show what is changed.
Subbuanand1
approved these changes
Mar 13, 2026
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.
AV1 High profile (MFX_PROFILE_AV1_HIGH, profile_idc=2) is required for 4:4:4 chroma subsampling. Expose it as a selectable profile option alongside the existing main/unknown entries.
Add AV_PIX_FMT_VUYX (YUV 4:4:4 8-bit packed) and AV_PIX_FMT_XV30 (YUV 4:4:4 10-bit packed) to CODEC_PIXFMTS so the format negotiation path can select them.