aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-07-25 06:39:07 (GMT)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-07-25 06:39:07 (GMT)
commit42f5fa4ed99b669da4b4169a42eca7dbf5a293c7 (patch)
treecf739b8a306891a2f66567079352c1e206fa5a83
parenta479a24475c41bdc98540185b27cca3b06574247 (diff)
edid-decode: add comment w.r.t. JOC
Write JOC in full (Joint Object Coding) and add comment explaining which document it comes from. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--edid-decode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/edid-decode.c b/edid-decode.c
index 197b78d..7442f8a 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -1166,10 +1166,12 @@ static void cta_audio_block(const unsigned char *x, unsigned int length)
} else if (format <= 8) {
printf(" Maximum bit rate: %d kb/s\n", x[i+2] * 8);
} else if (format == 10) {
+ // As specified by the "Dolby Audio and Dolby Atmos over HDMI"
+ // specification (v1.0).
if(x[i+2] & 1)
- printf(" Supports JOC\n");
+ printf(" Supports Joint Object Coding\n");
if(x[i+2] & 2)
- printf(" Supports JOC with ACMOD28\n");
+ printf(" Supports Joint Object Coding with ACMOD28\n");
} else if (format == 14) {
printf(" Profile: %d\n", x[i+2] & 7);
} else if (ext_format == 11 && (x[i+2] & 1)) {

Privacy Policy