All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@linuxtv.org>
To: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Why Parameter 'INVERSION' is really needed?
Date: Wed, 17 Sep 2008 21:57:31 +0200	[thread overview]
Message-ID: <48D1612B.3000405@linuxtv.org> (raw)
In-Reply-To: <48D13BF6.8050500@gmx.de>

wk wrote:
> Andreas Oberritter wrote:
>> If you find two devices which need different inversion settings in the
>> same network, then it's a driver bug, which can easily be corrected.
>>
>>   
> How can this be a drivers bug, if in the dvb api documentation no
> *default value* for inversion was ever defined?
> Seems to be a bug inside API (linux-dvb-api-1.0.0.pdf, see
> http://www.linuxtv.org/docs.php).

Common sense says that the default value is not inverted.

>> Spectral inversion depends on the transmitter, too. It can change
>> anytime a broadcaster decides to change it. It happens, although not
>> very often.
>>
>> Specifying the inversion parameter can speed up the tuning process,
>> especially for devices which don't support automatic swapping in
>> hardware. But I would not recommend to store this parameter in a service
>> list.
>>
>> If we decide to keep the parameter, we should probably use four options:
>>  INVERSION_OFF, INVERSION_ON, INVERSION_AUTO_OFF_FIRST,
>> INVERSION_AUTO_ON_FIRST, which matches the capabilities of most
>> demodulators. A typical application would then probably use only the
>> last two options, while the first two options would rather be used for
>> diagnostics and to read back the detected inversion.
>>
>>
>>   
> May be. But since the application cannot get any information about
> transmitters inversion only AUTO makes sense here, neither ON or OFF.
> No information field is reserved for inversion inside terrestrial
> delivery system descriptor and cable delivery system descriptor,
> so applications are not able to figure out useful settings from NIT.
> Please try to see this from the application side, not from hardware
> point of view.

Well, that's essentially what I wrote: Use AUTO in a typical
application. All frontend devices support it, either in software or in
hardware.

Regards,
Andreas

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

      reply	other threads:[~2008-09-17 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-16 17:31 [linux-dvb] Why Parameter 'INVERSION' is really needed? handygewinnspiel
2008-09-16 18:03 ` Andreas Oberritter
2008-09-17 17:18   ` wk
2008-09-17 19:57     ` Andreas Oberritter [this message]

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=48D1612B.3000405@linuxtv.org \
    --to=obi@linuxtv.org \
    --cc=linux-dvb@linuxtv.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.