Commit Graph

9 Commits

Author SHA1 Message Date
jakemsr
53483e36a8 * use VIDIOC_ENUM_FRAMEINTERVALS to get the supported frame intervals
and display the frame rates if at least on -v is used.
* set/get the video(4) device's frame rate using VIDIOC_{S,G}_PARM.
* add new option -R which dsables frame rate adjustment.  only really
useful for video(4) devices, to see the difference between the frame
rate the device generates and what it says it's configured for ...
many devices don't generate the rate they are configured if they
aren't getting enough light ...
* poll(2) input with INFTIM instead of 0 timeout, and handle the poll(2)
call being interrupted by the frame timer.
* only use usleep(3) to wait for frames if the input is a file, and
in that case, sleep for a full frame interval or until interrupted
by the frame timer.
* update the manual to describe the new -R option, that -r now sets
video(4) frame rate, and that at least one -v will display supported
properties of the hardware.
2011-04-11 02:58:49 +00:00
sobrado
056292656a lexicographically sort keys.
ok jakemsr@, jmc@
2011-03-18 20:08:58 +00:00
jakemsr
335814b337 typo spotted by espie 2010-10-26 16:04:13 +00:00
jakemsr
66fbac58e1 typos. "ouput" typos spotted by Jan Stary. 2010-10-15 14:24:23 +00:00
schwarze
be7005d8cf s/\.Xx/.Xr/ such that "Xv(3)" doesn't get lost;
found by mandoc -Tlint
2010-09-26 23:58:18 +00:00
jakemsr
52f69c164d support for gamma and sharpness/acutance controls.
also from Martin Pieuchot, thanks!
2010-09-26 23:47:17 +00:00
jakemsr
bdc0c150f3 $OpenBSD$ and compare width to width, not width to height 2010-07-26 23:02:06 +00:00
sobrado
9e6242225e sort options as usual in our operating system; `usage:' is lower case;
improve usage()'s output; better indentation in usage() function.

ok jakemsr@
2010-07-26 08:09:33 +00:00
jakemsr
3838c3aada import video(1), an application for recording and/or displaying
images from a video(4) device
ok matthieu, todd; prodding from deraadt
2010-07-23 11:33:52 +00:00