Implement VIDIOC_S_FMT and VIDIOC_TRY_FMT. Now V4L2 applications can
authormglocker <mglocker@openbsd.org>
Fri, 18 Jul 2008 18:49:11 +0000 (18:49 +0000)
committermglocker <mglocker@openbsd.org>
Fri, 18 Jul 2008 18:49:11 +0000 (18:49 +0000)
commit94047bb7339f70ee0b2349097cbc920f66feeaaa
tree6ec60ab2e18af6ab828612b62c76bd640aa12085
parent9cb731146941b0169eb89104b200cf70d83aa108
Implement VIDIOC_S_FMT and VIDIOC_TRY_FMT.  Now V4L2 applications can
set their desired image size, and therefore users can manipulate the
image size, too via the application.

Also tested by brad@
sys/dev/usb/uvideo.c
sys/dev/usb/uvideo.h