Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-11 | Spacing. | Marcus Glocker | |
2008-08-24 | Add support for processing unit (e.g. brightness) controls. New V4L2 | Marcus Glocker | |
ioctls therefore are VIDIOC_QUERYCTRL, VIDIOC_G_CTRL, and VIDIOC_S_CTRL. | |||
2008-08-13 | Add VIDIOC_ENUM_FRAMESIZES ioctl. This permits applications to query the | Marcus Glocker | |
available formats and resolutions of a device (e.g. "luvcview -L"). | |||
2008-07-31 | - Don't relay on bFormatIndex as an internal array index, since this | Marcus Glocker | |
field is unreliable and can start with any number. Use an own internal array index instead. - If the read buffer is too small, return a propper error to the calling functions. Just check the buffer size if we use the read(2) method since it doesn't affect mmap(2). Fixes kernel crashes seen with the M$ LifeCam NX-6000 and internal (laptop) Sonix chipsets. Tested by jcs@ (Sonix) and myself (NX-6000). OK deraadt@ | |||
2008-07-26 | Since we are able to change the device image resolution on the fly in the | Marcus Glocker | |
meantime, the memory allocation for the read(2) method for video(4) is not right anymore, and can cause a buffer overflow. We fix this by queuering the maximum available image size for a device at attach time. If the image size should exceed our video(4) buffer after a video format change (which shouldn't happen), uvideo(4) will gracefully fail. Also tested by kettenis@ | |||
2008-07-23 | If /dev/video* is already used by an application, return EBUSY to other | Marcus Glocker | |
applications. Fixes a kernel panic. Reported by ian@ | |||
2008-07-19 | In interrupt handler change printf -> DRPINTF. | Marcus Glocker | |
2008-06-13 | Remove DEBUG #undef's we can turn it on/off in GENERIC like for all | Marcus Glocker | |
other drivers. | |||
2008-06-13 | Add myself to the copyright since i fumbled around in those files, too. | Marcus Glocker | |
OK robert@ | |||
2008-06-12 | disable debug printfs and descriptor dumps | Robert Nagy | |
2008-06-12 | Wrap DPRINTF around #ifdef VIDEO_DEBUG, but leave debugging on by | Marcus Glocker | |
default for now. | |||
2008-06-11 | implement the VIDIOC_STREAMOFF ioctl and remove some unused code | Robert Nagy | |
2008-06-10 | add VIDIOC_QUERYCTRL to the supported ioctls | Robert Nagy | |
2008-06-09 | Let the driver switch between read() and mmap() depending on what | Marcus Glocker | |
the userland application wants. OK robert@ | |||
2008-06-09 | according to miod pmap_update() is not need after pmap_extract() at all, | Robert Nagy | |
so remove it. | |||
2008-06-09 | Allocate the video buffer based on the maximum frame size that's reported | Robert Nagy | |
by the device instead of using the statically set VIDEO_BUF_SIZE. ok mglocker@ | |||
2008-06-07 | Start to queue mmap frames. Add VIDIOC_QBUF, VIDIOC_DQBUF, | Marcus Glocker | |
VIDIOC_STREAMON for that purpose, too. OK robert@ | |||
2008-06-05 | Add some first mmap bits. | Marcus Glocker | |
Help by miod@ | |||
2008-05-30 | Allocate static buffer for software frame buffer and make sure to not | Marcus Glocker | |
overflow it. | |||
2008-05-26 | Add more ioctl's (still unfinished); VIDIOC_ENUM_FMT, VIDIOC_ENUMINPUT, | Marcus Glocker | |
VIDIOC_S_INPUT, VIDIOC_TRY_FMT. Allows me at least to use a small V4L2 compatible webcam application to capture some images. | |||
2008-05-25 | Spacing. Comments. strncpy() -> strlcpy(). | Marcus Glocker | |
2008-05-24 | - Enable userland to read(2) video stream from /dev/video. | Marcus Glocker | |
- Prepare for mmap(2). | |||
2008-04-09 | Initial import for uvideo(4) and video(4): | Robert Nagy | |
uvideo(4) is a driver for USB video device class devices including webcams, camcorders and other cameras. video(4) is a device-independent layer that implements the V4L2 (Video for Linux Two) API. These drivers are *really* work in progress so don't even try to use them just yet, because the driver still has some issues, even if it can be used to capture simple MJPEG videos. ok mglocker@, deraadt@ |