All of lore.kernel.org
 help / color / mirror / Atom feed
From: wk <handygewinnspiel@gmx.de>
To: Devin Heitmueller <devin.heitmueller@gmail.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [question] atsc and api v5
Date: Tue, 24 Mar 2009 19:23:16 +0100	[thread overview]
Message-ID: <49C92514.8050307@gmx.de> (raw)
In-Reply-To: <412bdbff0903241013r479fbaabo8d7f45a7153aebb9@mail.gmail.com>

Devin Heitmueller wrote:
> On Tue, Mar 24, 2009 at 12:35 PM, wk <handygewinnspiel@gmx.de> wrote:
>   
>> While trying to update an application to API v5 some question arised.
>>
>> Which type of "delivery_system" should be set for ATSC?
>> <frontend.h> says...
>>
>> SYS_DVBC_ANNEX_AC,   <- european DVB-C
>> SYS_DVBC_ANNEX_B,      <- american ATSC QAM
>> ..
>> SYS_ATSC,   <- oops, here we have ATSC again, cable and terrestrial not
>> named? Is this VSB *only*?
>>
>>
>>
>> Which one should i choose, "SYS_ATSC" for both (VSB and QAM),
>> or should i choose SYS_DVBC_ANNEX_B for ATSC cable and SYS_ATSC for VSB?
>>
>> thanks,
>> Winfried
>>     
>
> I'm pretty sure it's SYS_ATSC for both VSB and QAM.
>
> Devin
>
>
>   
Meanwhile i think this is the answer..

dvb-core/dvb_frontend.c line 1076

/* Synchronise the legacy tuning parameters into the cache, so that 
demodulator
 * drivers can use a single set_frontend tuning function, regardless of 
whether
 * it's being used for the legacy or new API, reducing code and complexity.
 */
static void dtv_property_cache_sync(struct dvb_frontend *fe,
                    struct dvb_frontend_parameters *p)
{
.....
    switch (fe->ops.info.type) {
......
    case FE_ATSC:
        c->modulation = p->u.vsb.modulation;
        if ((c->modulation == VSB_8) || (c->modulation == VSB_16))
            c->delivery_system = SYS_ATSC;
        else
            c->delivery_system = SYS_DVBC_ANNEX_B;          <- QAM_64 
and QAM_256 here
        break;


That means the naming is completely misleading here.
I have to choose SYS_DVBC_ANNEX_B for ATSC QAM, but ATSC VSB needs SYS_ATSC.

Winfried



  reply	other threads:[~2009-03-24 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 16:35 [question] atsc and api v5 wk
2009-03-24 17:13 ` Devin Heitmueller
2009-03-24 18:23   ` wk [this message]
2009-03-25  0:51   ` Andy Walls

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=49C92514.8050307@gmx.de \
    --to=handygewinnspiel@gmx.de \
    --cc=devin.heitmueller@gmail.com \
    --cc=linux-media@vger.kernel.org \
    /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.