public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* V4L control units
@ 2014-05-07 12:55 Antti Palosaari
  0 siblings, 0 replies; 6+ messages in thread
From: Antti Palosaari @ 2014-05-07 12:55 UTC (permalink / raw)
  To: Hans Verkuil, Mauro Carvalho Chehab, LMML

Moikka
What is preferred way implement controls that could have some known unit 
or unknown unit? For example for gain controls, I would like to offer 
gain in unit of dB (decibel) and also some unknown driver specific unit. 
Should I two controls, one for each unit?

Like that

V4L2_CID_RF_TUNER_LNA_GAIN_AUTO
V4L2_CID_RF_TUNER_LNA_GAIN
V4L2_CID_RF_TUNER_LNA_GAIN_dB


regards
Antti

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* V4L control units
@ 2014-05-07 12:57 Antti Palosaari
  2014-05-08  9:04 ` Sakari Ailus
  0 siblings, 1 reply; 6+ messages in thread
From: Antti Palosaari @ 2014-05-07 12:57 UTC (permalink / raw)
  To: Hans Verkuil, Mauro Carvalho Chehab, LMML

Moikka
What is preferred way implement controls that could have some known unit 
or unknown unit? For example for gain controls, I would like to offer 
gain in unit of dB (decibel) and also some unknown driver specific unit. 
Should I two controls, one for each unit?

Like that

V4L2_CID_RF_TUNER_LNA_GAIN_AUTO
V4L2_CID_RF_TUNER_LNA_GAIN
V4L2_CID_RF_TUNER_LNA_GAIN_dB


regards
Antti

-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-09 13:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 12:55 V4L control units Antti Palosaari
  -- strict thread matches above, loose matches on Subject: below --
2014-05-07 12:57 Antti Palosaari
2014-05-08  9:04 ` Sakari Ailus
2014-05-09 12:57   ` Hans Verkuil
2014-05-09 13:46     ` Sakari Ailus
2014-05-09 13:56       ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox