Repository navigation
media: apple: ave: HEVC Main 10 from P010 on the Neo - #834
Merged
Merged
Conversation
Offer the HEVC Main 10 profile with P010 input on the J700 (9003) firmware. The Start fields that change with bit depth are the ones the macOS capture showed: the 8-bit flag, bit depth, profile idc, the compatibility and max-8-bit constraint bytes, the luma and chroma depths and the QP floor, which moves 12 down. Reference and tile buffers are already sized for 10-bit; the coded buffer grows by a quarter, as macOS sizes it. The firmware reads 16-bit samples for Main 10, so Main 10 takes P010 and Main takes NV12; other pairings are refused at STREAMON. The counted firmware layout keeps returning EOPNOTSUPP for 10-bit. KUnit checks that a Main 10 Start differs from a Main one only in those fields. Originally-by: Acelogic <miguelc4600@gmail.com> Link: aurora-silicon/linux-aurora@3e77f27 Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
notmysegv
pushed a commit
to notmysegv/linux
that referenced
this pull request
Nov 4, 2026
…tion/aurora Bring integration/aurora up to aurora-wip e1524e6, the source of 7.3.0-aurora-fleet14l, promoted on all four machines on 2026-11-02. The range also covers the fleet14i, fleet14j and fleet14k sources (a8fa302, d67eece, ce900d1). It adds aurora-silicon#822, aurora-silicon#823, aurora-silicon#824, aurora-silicon#827, aurora-silicon#829, aurora-silicon#834, aurora-silicon#835, aurora-silicon#836, aurora-silicon#838, aurora-silicon#840 and aurora-silicon#839. No conflicts. Assisted-by: LLM Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
This was referenced Nov 20, 2026
Closed
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.
HEVC Main 10 from P010 on the Neo AVE
Adds the HEVC Main 10 profile with P010 input to the AVE encoder (9003 firmware, J700). Only the Start fields the 10-30 macOS capture showed changing with bit depth are set: the 8-bit flag, bit depth, profile idc, compatibility and max-8-bit constraint bytes, luma/chroma depth, and the QP floor (12 lower). The coded buffer grows by a quarter, as macOS sizes it; reference and tile buffers were already 10-bit aware. Main takes NV12, Main 10 takes P010; other pairings are refused at STREAMON. The counted firmware layout still returns EOPNOTSUPP for 10-bit.
Tested on the Neo
Kernel 7.3.0-aurora-fleet14k-codec1 (this change plus the ProRes series, on aurora-wip ce900d1), boot b973bd14:
Main 10,yuv420p10le; all 60 decode; PSNR (Y) 39.0 to 48.3 dB at 12 Mb/s VBR against the 10-bit source. Samples come back MSB-aligned as P010 expects.ave_9003_hevc_main10: a Main 10 Start differs from Main only in those fields), AVE host tests pass, W=1 clean.Main 4:2:2 10 is not offered: V4L2 has no profile entry for it and its Start fields are not captured yet.
🤖 Generated with Claude Code