This is an automatic generated email to let you know that the following patch 
were queued:

Subject: edid-decode: update HDR10+ DB
Author:  Hans Verkuil <[email protected]>
Date:    Fri Jun 16 15:28:04 2023 +0200

There are some new fields, report them.

Signed-off-by: Hans Verkuil <[email protected]>

 parse-cta-block.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

---

diff --git a/parse-cta-block.cpp b/parse-cta-block.cpp
index a5472b60cc74..778ab4eaee2b 100644
--- a/parse-cta-block.cpp
+++ b/parse-cta-block.cpp
@@ -1439,7 +1439,9 @@ static void cta_hdr10plus(const unsigned char *x, 
unsigned length)
                fail("Empty Data Block with length %u.\n", length);
                return;
        }
-       printf("    Application Version: %u\n", x[0]);
+       printf("    Application Version: %u\n", x[0] & 3);
+       printf("    Full Frame Peak Luminance Index: %u\n", (x[0] >> 2) & 3);
+       printf("    Peak Luminance Index: %u\n", x[0] >> 4);
        hex_block("    ", x + 1, length - 1);
 }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to