linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] edid-decode: add support for DD+ JOC flags
@ 2019-07-12 16:01 rawoul
  2019-07-13  9:43 ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: rawoul @ 2019-07-12 16:01 UTC (permalink / raw)
  To: linux-media

From: Arnaud Vrac <avrac@freebox.fr>

Used to signal Joint Object Coding support, used in particular for
Atmos streams.

Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
---
 edid-decode.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/edid-decode.c b/edid-decode.c
index 940bcb5..197b78d 100644
--- a/edid-decode.c
+++ b/edid-decode.c
@@ -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)) {
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] edid-decode: add support for DD+ JOC flags
  2019-07-12 16:01 [PATCH] edid-decode: add support for DD+ JOC flags rawoul
@ 2019-07-13  9:43 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2019-07-13  9:43 UTC (permalink / raw)
  To: rawoul, linux-media

Hi Arnaud,

On 7/12/19 6:01 PM, rawoul@gmail.com wrote:
> From: Arnaud Vrac <avrac@freebox.fr>
> 
> 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

> 
> Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
> ---
>  edid-decode.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/edid-decode.c b/edid-decode.c
> index 940bcb5..197b78d 100644
> --- a/edid-decode.c
> +++ b/edid-decode.c
> @@ -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)) {
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-13  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-12 16:01 [PATCH] edid-decode: add support for DD+ JOC flags rawoul
2019-07-13  9:43 ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).