Hi all, is there a defined unit of the values of V4L2_CID_EXPOSURE when using this to control the exposure time of a camera sensor - is it in time units, or number of lines?
ttomov: Depends on the sensor.
Most of the drivers use native sensor units.
One reason is that if you do use something else, then the granularity isn't visible to the user space and that might cause issues on some devices in very bright conditions.
But in general, no unit is defined. It'd be nice to add that to controls so the user wouldn't have to guess.
sailus: so it is better to use the native sensor units, than to send exposure e.g. in time values and then the driver to convert?
(because with time values granularity of the native units will be hidden?)
ttomov: That's what I'd advice. The conversion should be doable based on information available over the V4L2 interface but there are bits missing, such as the unit.
mchehab: have you dropped trees from git.linuxtv.org ?
I had a tree named fbdev there
and it seems not to be exported anymore
fatal: remote error: access denied or repository not exported: /pinchartl/fbdev.git
pinchartl: no, I didn't
that's very weird!
weird indeed... such tree is not there:
drwxr-xr-x  7 pinchartl users 4096 Dec  1 08:55 media.git
drwxr-xr-x  7 pinchartl users 4096 Dec  1 08:57 uvcvideo.git
drwxr-xr-x  7 pinchartl users 4096 Dec  1 08:57 v4l-utils.git
when was the last time you used it? I'll check if js has a backup
and to check what happened
mchehab: let me check
mchehab: actually I think I got confused by the clone failure report
that's not the tree that the person who tried to clone my work should have used
I might have dropped the tree myself some time ago
(well, s/might/most probably/)
:-)
sorry for the noise
and thanks for looking at it
np
if you need that tree, js probably has a backup somewhere
(not sure how long he keeps backup)
hmm... you used to have that tree on April, 1st
1/5 too
but not 1/6
the fbdev tree was removed somewhere between Mai/Jun this year
(I receive one log every month from a cron job that checks all trees)
pinchartl: let me know if you need the fbdev... maybe js has an old backup before Jun that may have it
mchehab: I'll ask the person who tried to clone it tomorrow, but I don't think that's needed
all the commits there should have been upstreamed, or available from my other tree
I'm not sure why he tried to clone the fbdev tree, maybe there's a reference in a wiki somewhere that I need to fix
yeah, likely