This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 5986d3031439c392d8517a0cca903264ed60c33e Author: Kacper Michajłow <[email protected]> AuthorDate: Fri Oct 30 08:05:07 2026 +0100 Commit: Kacper Michajłow <[email protected]> CommitDate: Mon Nov 2 18:22:28 2026 +0000 avcodec/dovi_rpu: fix the default YCC to RGB matrix and offsets The defaults of an RPU without display management metadata had the two chroma coefficients of the green row with the wrong sign and the offsets as 1/4 and 2, where ETSI GS CCM 001 clause 6.2.2 gives -1754 and -4383 and the offsets 1/16 and 1/2, as every stream carries them. --- libavcodec/dovi_rpu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/dovi_rpu.c b/libavcodec/dovi_rpu.c index f19c1922f1..99765b9f77 100644 --- a/libavcodec/dovi_rpu.c +++ b/libavcodec/dovi_rpu.c @@ -99,16 +99,16 @@ const AVDOVIColorMetadata ff_dovi_color_default = { { 0, 8192 }, { 14742, 8192 }, { 9575, 8192 }, - { 1754, 8192 }, - { 4383, 8192 }, + { -1754, 8192 }, + { -4383, 8192 }, { 9575, 8192 }, { 17372, 8192 }, { 0, 8192 }, }, .ycc_to_rgb_offset = { - { 1, 4 }, - { 2, 1 }, - { 2, 1 }, + { 1, 16 }, + { 1, 2 }, + { 1, 2 }, }, .rgb_to_lms_matrix = { { 5845, 16384 }, -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
