From: Anssi Hannula <anssi.hannula@iki.fi>
To: "Yang, Libin" <libin.yang@intel.com>
Cc: "; Takashi Iwai" <tiwai@suse.de>,
"Lin, Mengdong" <mengdong.lin@intel.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Xuebing Wang <xbing6@gmail.com>,
"; Wu Fengguang" <wfg@linux.intel.com>
Subject: Re: DSD over HDMI: audio data packetization
Date: Thu, 01 Jan 2015 06:37:23 +0200 [thread overview]
Message-ID: <54A4CF03.5030709@iki.fi> (raw)
In-Reply-To: <96A12704CE18D347B625EE2D4A099D195C4443@SHSMSX103.ccr.corp.intel.com>
01.01.2015, 04:07, Yang, Libin kirjoitti:
> Hi,
>
>> -----Original Message-----
>> From: Anssi Hannula [mailto:anssi.hannula@iki.fi]
>> Sent: Wednesday, December 31, 2014 11:45 PM
>> To: Xuebing Wang
>> Cc: Yang, Libin; alsa-devel@alsa-project.org; Lin, Mengdong; ; Takashi Iwai; ;
>> Wu Fengguang
>> Subject: Re: [alsa-devel] DSD over HDMI: audio data packetization
>>
>> 31.12.2014, 17:38, Xuebing Wang kirjoitti:
>>> Anssi, Libin,
>>>
>>> Thank you very much for your help.
>>>
>>> If L-PCM audio data packetization is done by hardware, is it possible
>>> to implement DSD over HDMI on Intel integrated graphics? Thanks again.
>>
>> I don't think so, unless:
>>
>> (a) It is possible to somehow encapsulate the stream in Audio Sample
>> Packets and be accepted by the receiver (like e.g. AC3, DTS). I'm not aware of
>> such a way.
>>
>> or:
>> (b) There is some undocumented feature in the Intel HDMI codecs allowing
>> the driver to switch to DSD or driver-constructed packets (instead of
>> ASP) in similar way as there is a way to switch to HBR packets.
>>
>
> Yes, I agree. And I'm not sure whether HDMI spec supports DSD.
It does, via the "One Bit Audio" and "DST" formats (spec 5.3.9, 5.3.10
in 1.3a/1.4a).
>>
>>
>>>
>>> On 12/31/2014 10:28 PM, Yang, Libin wrote:
>>>> Hi Xuebing,
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: Anssi Hannula [mailto:anssi.hannula@iki.fi]
>>>>> Sent: Wednesday, December 31, 2014 9:41 PM
>>>>> To: Xuebing Wang
>>>>> Cc: alsa-devel@alsa-project.org; Yang, Libin; Lin, Mengdong; ;
>>>>> Takashi Iwai; ; Wu Fengguang
>>>>> Subject: Re: [alsa-devel] DSD over HDMI: audio data packetization
>>>>>
>>>>> 31.12.2014, 15:32, Xuebing Wang kirjoitti:
>>>>>> Hi Community,
>>>>> Hi,
>>>>>
>>>>>> I am trying to implement DSD (one bit audio) over HDMI, for Intel
>>>>>> integrated graphics. I am referencing HDMI specification 1.3a.
>>>>>>
>>>>>> Regarding audio data packetization, I am referencing spec:
>>>>>> 5.3.4 Audio Sample Packet
>>>>>> 7.6 Audio Data Packetization
>>>>>>
>>>>>> Q1) Would you please point to me where is the source code to handle
>>>>>> L-PCM audio sample packetization (to implement 5.3.4 Audio Sample
>>>>>> Packet)?
>>>>> It is done by the hardware.
>>>>>
>>>>>> Q2) I admit that I did not carefully read HD-Audio specification.
>>>>>> Is this possible that this L-PCM audio data packetization is done
>>>>>> by
>>>>>> *hardware* (e.g HDMI related widgets/pins)?
>>>>> Yes.
>>>>>
>>>>>> Q3) Did we implement "7.2 Audio Sample Clock Capture and
>> Regeneration"?
>>>>> That is done by hardware. With some HDA codecs the video driver
>>>>> calculates the N/CTS values "manually", but AFAIK not on Intel HW.
>>>> As the N/CTS need fs and frequency of TMDS info, the hdmi driver does
>>>> not implement this feature.
>>>>
>>>> We currently are designing an audio link between audio subsystem and
>>>> other components, like video or USB.
>>>>
>>>> Maybe we will add the N/CTS information transmission. So we can
>>>> calculate the N/CTS value in audio or gfx driver.
>>>>
>>>>
>>>>>> Thanks.
>>>>>> Xuebing Wang
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Anssi Hannula
>>>
>>
>>
>> --
>> Anssi Hannula
--
Anssi Hannula
next prev parent reply other threads:[~2015-01-01 4:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-31 13:32 DSD over HDMI: audio data packetization Xuebing Wang
2014-12-31 13:40 ` Anssi Hannula
2014-12-31 14:28 ` Yang, Libin
2014-12-31 15:38 ` Xuebing Wang
2014-12-31 15:45 ` Anssi Hannula
2015-01-01 2:07 ` Yang, Libin
2015-01-01 4:37 ` Anssi Hannula [this message]
2015-01-04 3:10 ` Xuebing Wang
2015-01-05 3:46 ` Anssi Hannula
[not found] ` <CAGzU1+F0Os59UwRXRpZQnibDeT0KLK1UqX__Qv9=agwQTkZWyg@mail.gmail.com>
2015-01-06 4:49 ` Anssi Hannula
2015-01-06 6:15 ` Andrej Falout
2015-01-06 7:02 ` Anssi Hannula
2015-01-06 4:54 ` Xuebing Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54A4CF03.5030709@iki.fi \
--to=anssi.hannula@iki.fi \
--cc=alsa-devel@alsa-project.org \
--cc=libin.yang@intel.com \
--cc=mengdong.lin@intel.com \
--cc=tiwai@suse.de \
--cc=wfg@linux.intel.com \
--cc=xbing6@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.