From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Patrick Boettcher <pboettcher@kernellabs.com>
Cc: Andreas Oberritter <obi@linuxtv.org>,
Antti Palosaari <crope@iki.fi>,
linux-media <linux-media@vger.kernel.org>
Subject: Re: [RFCv1] add DTMB support for DVB API
Date: Tue, 27 Dec 2011 15:50:27 -0200 [thread overview]
Message-ID: <4EFA0563.2060906@infradead.org> (raw)
In-Reply-To: <201112271726.33733.pboettcher@kernellabs.com>
On 27-12-2011 14:26, Patrick Boettcher wrote:
> On Friday 23 December 2011 18:27:12 Patrick Boettcher wrote:
>> On Friday, December 23, 2011 02:38:59 PM Andreas Oberritter wrote:
>>> On 22.12.2011 22:30, Antti Palosaari wrote:
>>>> @@ -201,6 +205,9 @@ typedef enum fe_guard_interval {
>>>>
>>>> GUARD_INTERVAL_1_128,
>>>> GUARD_INTERVAL_19_128,
>>>> GUARD_INTERVAL_19_256,
>>>>
>>>> + GUARD_INTERVAL_PN420,
>>>> + GUARD_INTERVAL_PN595,
>>>> + GUARD_INTERVAL_PN945,
>>>>
>>>> } fe_guard_interval_t;
>>>
>>> What does PN mean in this context?
>>
>> While I (right now) cannot remember what the PN abbreviation stands
>> for, the numbers are the guard time in micro-seconds. At least if I
>> remember correctly.
>
> Totally wrong.
>
> The number indicated by the PN-value is in samples. Not in micro-
> seconds.
>
> To compare the PN value with the guard-time known from DVB-T we could do
> like that: in DVB-T's 8K mode we have 8192 samples which make one
> symbol. If the guard time is 1/32 we have 8192/32 samples which
> represent the protect the symbols from inter-symbol-interference: 256 in
> this case.
>
> In DTMB one symbol consists of 3780 samples + the PN-value. Using the
> classical representation we could say: PN420 is 1/9, PN595 is about 1/6
> and PN945 is 1/4.
PN595 is then 595/3780 = 119/756 = 17/108
While we might code it then as:
GUARD_INTERVAL_1_9, /* PN 420 */
GUARD_INTERVAL_17_108, /* PN 595 */
GUARD_INTERVAL_1_4, /* PN 945 */
in order to preserve the traditional way, maybe it should be coded, instead, as:
GUARD_INTERVAL_420_SAMPLES, /* PN 420 */
GUARD_INTERVAL_595_SAMPLES, /* PN 595 */
GUARD_INTERVAL_945_SAMPLES, /* PN 945 */
I would avoid "PN", as this meaning is not as clear as "samples" or as
a fraction. Also, the traditional guard interval won't be obvious for the
ones that know the DTMB spec.
>
> HTH,
>
> --
> Patrick Boettcher
>
> Kernel Labs Inc.
> http://www.kernellabs.com/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-12-27 17:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-22 21:30 [RFCv1] add DTMB support for DVB API Antti Palosaari
2011-12-23 10:55 ` Mauro Carvalho Chehab
2011-12-23 21:54 ` Antti Palosaari
2011-12-23 21:59 ` Andreas Oberritter
2011-12-23 13:29 ` [RFC] remove dtv_property_dump et al Andreas Oberritter
2011-12-23 13:38 ` [RFCv1] add DTMB support for DVB API Andreas Oberritter
2011-12-23 17:27 ` Patrick Boettcher
2011-12-24 21:56 ` Antti Palosaari
2011-12-27 16:26 ` Patrick Boettcher
2011-12-27 17:50 ` Mauro Carvalho Chehab [this message]
2011-12-23 22:33 ` Antti Palosaari
2011-12-23 17:30 ` Patrick Boettcher
2011-12-24 22:04 ` Antti Palosaari
-- strict thread matches above, loose matches on Subject: below --
2011-12-22 21:29 Antti Palosaari
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=4EFA0563.2060906@infradead.org \
--to=mchehab@infradead.org \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=obi@linuxtv.org \
--cc=pboettcher@kernellabs.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.