From: Gianluca Gennari <gennarone@gmail.com>
To: Antti Palosaari <crope@iki.fi>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Devin Heitmueller <devin.heitmueller@gmail.com>
Subject: Re: SNR status for demods
Date: Tue, 22 May 2012 15:42:22 +0200 [thread overview]
Message-ID: <4FBB97BE.4090904@gmail.com> (raw)
In-Reply-To: <4FBB57C4.4040601@iki.fi>
Il 22/05/2012 11:09, Antti Palosaari ha scritto:
>
> Basically, but not every case, there seems to be 3 different way:
> 1) return raw register value without any calculation
> 2) 0.1 dB
> 3) scaled to 0-0xffff using some formula
>
> Very many drivers seems to do some dB handling even finally scaling it
> to some value.
>
> regards
> Antti
Another one (from staging):
as102-fe.c: Pierrick Hascoet, Devin Heitmueller linear MER
I can provide a trivial patch to convert it to the more common 0.1 dB
format, if you think it's useful.
This note comes from the driver:
/*
* Note:
* - in AS102 SNR=MER
* - the SNR will be returned in linear terms, i.e. not in dB
* - the accuracy equals ±2dB for a SNR range from 4dB to 30dB
* - the accuracy is >2dB for SNR values outside this range
*/
Regards,
Gianluca
prev parent reply other threads:[~2012-05-22 13:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-18 2:45 SNR status for demods Devin Heitmueller
2009-03-18 2:52 ` Ang Way Chuang
2009-03-18 19:05 ` wk
2009-03-18 19:30 ` Devin Heitmueller
2012-05-22 9:09 ` Antti Palosaari
2012-05-22 13:42 ` Gianluca Gennari [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=4FBB97BE.4090904@gmail.com \
--to=gennarone@gmail.com \
--cc=crope@iki.fi \
--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.