Skip to content

Dolby Vision: declare Profile 10 on AV1, not only on HEVC - #838

Merged
GLinnik21 merged 1 commit into
plxnative:mainfrom
tiper:av1-dolby-vision
Oct 18, 2026
Merged

GLinnik21 merged 1 commit into
plxnative:mainfrom
tiper:av1-dolby-vision

Conversation

@tiper

@tiper tiper commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Before: an AV1 Dolby Vision file (Profile 10.1, HDR10 base layer) direct-played on a set with confirmed Dolby Vision support was shown as HDR10. The presentation predicate, the session's stream_dovi / stream_dv_presentation and the payload splice all required HEVC, so the DolbyHdrInfo node was never sent.

After: the same file plays in Dolby Vision. metadata::dv_video_codec admits av1 beside hevc, and every one of those gates asks it. The payload keeps "video":"AV1" and carries the same three fields with profileId: 10. VP9 and AVC are still never declared.

How: the HEVC half rests on the webOS 4.10 libpf decompile; the AV1 half does not. It was measured on an LG C1 (webOS 6.5.3): an AV1 Profile 10.1 direct play with the node put the panel in Dolby Vision and played through, and without it the same file showed HDR10. A set without an AV1 row in its codec table never reaches this, so the webOS 4.5 dev set is unchanged. docs/dolby-vision.md records it.

Verification: a regression test (an_av1_profile_10_direct_play_declares_dolby_vision) failed against the old code and passes now; make check 17,498 passed, 0 failed; --no-default-features check clean. No FFI or linkage change.

An AV1 Dolby Vision file (Profile 10.1, HDR10 base) direct-played on a
set with confirmed Dolby Vision support was shown as HDR10: the
presentation predicate, the session's stream_dovi/stream_dv_presentation
and the payload splice all required HEVC, so the DolbyHdrInfo node was
never sent.

metadata::dv_video_codec now admits av1 beside hevc, and every one of
those gates asks it. The payload keeps "video":"AV1" and carries the same
three fields with profileId 10. VP9 and AVC are still never declared.

The HEVC half rests on the webOS 4.10 libpf decompile; the AV1 half does
not. It was measured on an LG C1 (webOS 6.5.3): an AV1 Profile 10.1
direct play with the node put the panel in Dolby Vision and played
through, and without it the same file showed HDR10. A set without an AV1
row in its codec table never reaches it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Tiago Pereira <[email protected]>
@GLinnik21
GLinnik21 merged commit 3ac9e03 into plxnative:main Oct 18, 2026
13 checks passed
@GLinnik21

Copy link
Copy Markdown
Collaborator

Thank you, @tiper! Merged.

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.

2 participants