edid-decode: add support for DD+ JOC flags
PATCH 1/1 edid-decode: add support for DD+ JOC flags
From: Arnaud Vrac <[email protected]>
Used to signal Joint Object Coding support, used in particular for Atmos streams.
Signed-off-by Arnaud Vrac <[email protected]>
--- edid-decode.c | 5 +++++ 1 file changed, 5 insertions(+)
edid-decode.c +5 -0
@@ -1165,6 +1165,11 @@ static void cta_audio_block(const unsigned char *x, unsigned int length) (x[i+2] & 0x01) ? " 16" : ""); }else if (format <=8 ) {printf (" Maximum bit rate: %d kb/s\n" , x[i+2 ] *8 ); + }else if (format ==10 ) { +if (x[i+2 ] &1 ) +printf (" Supports JOC\n" ); +if (x[i+2 ] &2 ) +printf (" Supports JOC with ACMOD28\n" ); }else if (format ==14 ) {printf (" Profile: %d\n" , x[i+2 ] &7 ); }else if (ext_format ==11 && (x[i+2 ] &1 )) {
Signature · 1 line
2.20.1
Hi Arnaud,
Quoted 4 lines · On 7/12/19 6:01 PM, [email protected] wrote:
From: Arnaud Vrac <[email protected]>
Used to signal Joint Object Coding support, used in particular for Atmos streams.
Do you have a link to some reference that documents these audio bits?
Or at minimum the name of the reference document. I'd like to at least document where this information comes from.
Thanks,
Hans
Quoted 23 lines
Signed-off-by Arnaud Vrac <[email protected]>--- edid-decode.c | 5 +++++ 1 file changed, 5 insertions(+)edid-decode.c +5
-0@@ -1165,6 +1165,11 @@ static void cta_audio_block(const unsigned char *x, unsigned int length) (x[i+2] & 0x01) ? " 16" : ""); }else if (format <=8 ) {printf (" Maximum bit rate: %d kb/s\n" , x[i+2 ] *8 ); + }else if (format ==10 ) { +if (x[i+2 ] &1 ) +printf (" Supports JOC\n" ); +if (x[i+2 ] &2 ) +printf (" Supports JOC with ACMOD28\n" ); }else if (format ==14 ) {printf (" Profile: %d\n" , x[i+2 ] &7 ); }else if (ext_format ==11 && (x[i+2 ] &1 )) {