#
bbcb3b50 |
| 18-Sep-2023 |
robert <robert@openbsd.org> |
The CTA-861 standards have been updated to refer to opRGB instead of AdobeRGB. The official standard is in fact named opRGB, so switch to that.
The two old defines referring to ADOBERGB in the publi
The CTA-861 standards have been updated to refer to opRGB instead of AdobeRGB. The official standard is in fact named opRGB, so switch to that.
The two old defines referring to ADOBERGB in the public API are put under #ifndef _KERNEL and a comment mentions that they are deprecated.
This keeps us in sync with the linux header.
ok feinerer@, mpi@, deraadt@
show more ...
|
#
dcec61dc |
| 15-Aug-2023 |
miod <miod@openbsd.org> |
Replace a bunch of (1 << 31) with (1U << 31)
|
#
71e4831b |
| 20-Nov-2020 |
mglocker <mglocker@openbsd.org> |
Fix comment _SYS_VIDEOIO_H -> _SYS_VIDEOIO_H_
|
#
342fed36 |
| 17-Feb-2017 |
feinerer <feinerer@openbsd.org> |
Avoid __u8, __u16, __u32, __u64, __s32, __s64, and __le32 and use standard types instead. Keep whitespace formatting to ease potential future syncs with corresponding Linux headers.
Suggested by der
Avoid __u8, __u16, __u32, __u64, __s32, __s64, and __le32 and use standard types instead. Keep whitespace formatting to ease potential future syncs with corresponding Linux headers.
Suggested by deraadt@.
show more ...
|
#
d810752a |
| 02-Feb-2017 |
feinerer <feinerer@openbsd.org> |
Sync with Linux kernel version 4.10-rc6.
The licence of v4l2-common.h was changed to both GPLv2 and BSD (https://git.linuxtv.org/media_tree.git/commit/?id=80100fd9ebb9f2414892a1178d26a4253e6c0bcf),
Sync with Linux kernel version 4.10-rc6.
The licence of v4l2-common.h was changed to both GPLv2 and BSD (https://git.linuxtv.org/media_tree.git/commit/?id=80100fd9ebb9f2414892a1178d26a4253e6c0bcf), so it can be inlined. I.e., videoio.h now corresponds to v4l2-common.h, v4l2-controls.h, and videodev2.h of the Linux kernel.
Bulk build by naddy@; ok mpi@
show more ...
|
#
fcebcbca |
| 27-Jan-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Include sys/ioccom.h since _IO* is used.
Based on the number and type of other system headers which pull in ioccom.h, and the fact that videoio.h isn't involved in any massive chain of includes in t
Include sys/ioccom.h since _IO* is used.
Based on the number and type of other system headers which pull in ioccom.h, and the fact that videoio.h isn't involved in any massive chain of includes in the kernel, I think it's reasonable and makes porting simpler. -- sthen@
from Brad very reasonable feinerer@, ok sthen@
show more ...
|
#
712ff004 |
| 01-Jan-2016 |
feinerer <feinerer@openbsd.org> |
Sync formatting and a few comments with upstream. No functional change.
|
#
0053adfe |
| 01-Jan-2016 |
feinerer <feinerer@openbsd.org> |
Sync V4L2 header file with upstream (i.e., recent Linux kernel) headers.
This syncs our videoio.h with upstream videodev2.h and inlines their v4l2-controls.h (which was split off from videodev2.h).
Sync V4L2 header file with upstream (i.e., recent Linux kernel) headers.
This syncs our videoio.h with upstream videodev2.h and inlines their v4l2-controls.h (which was split off from videodev2.h). Another header, v4l2-common.h, is currently not imported as it is GPL2 licensed.
There will be a second commit just addressing whitespace and formatting. The current version has only real changes whereas the second commit will bring videoio.h in line with videodev2.h formatting so that potential syncs in the future are easier to implement.
Bulk build by ajacoutot@; ok robert@; "you should go for it" deraadt@
show more ...
|
#
543372f6 |
| 15-Dec-2015 |
feinerer <feinerer@openbsd.org> |
Revert the previous commit; the licencing needs to be checked very carefully.
|
#
7eed7e97 |
| 15-Dec-2015 |
feinerer <feinerer@openbsd.org> |
Sync V4L2 header files with recent Linux kernel.
This introduces the two header files v4l2-common.h and v4l2-controls.h which were split off from videodev2.h (which corresponds to our videoio.h).
T
Sync V4L2 header files with recent Linux kernel.
This introduces the two header files v4l2-common.h and v4l2-controls.h which were split off from videodev2.h (which corresponds to our videoio.h).
There will be a second commit just addressing whitespace and formatting. The current version has only real changes whereas the second commit will bring videoio.h in line with videodev2.h formatting so that potential syncs in the future are easier to implement.
Bulk build by ajacoutot@; ok robert@, ajacoutot@
show more ...
|
#
7d642a78 |
| 21-Nov-2015 |
feinerer <feinerer@openbsd.org> |
Add V4L2_FMT_FLAG_EMULATED
|
#
6ad07a3f |
| 23-Oct-2014 |
brad <brad@openbsd.org> |
Now that gcc2 is gone revert the removal of anonymous unions, means not having to modify various third party apps using the V4L2 API to build on OpenBSD specifically.
"I think this is the right thin
Now that gcc2 is gone revert the removal of anonymous unions, means not having to modify various third party apps using the V4L2 API to build on OpenBSD specifically.
"I think this is the right thing to do" miod@ "Fine with me." sthen@
show more ...
|
#
f824afe2 |
| 22-Nov-2013 |
mpi <mpi@openbsd.org> |
Comment out more ioctls that are part of the v4l2 API but that we don't implement. Required to teach kdump(1) about VIDIOC_* ioctls.
|
#
7fdc08e5 |
| 20-Nov-2010 |
miod <miod@openbsd.org> |
__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and uncommenting it is intentional. ok deraadt@
|
#
617c7f44 |
| 26-Sep-2010 |
jakemsr <jakemsr@openbsd.org> |
support variable sized (bControlSize != 2) processing unit bmControls, and add support for more processing unit controls. from Martin Pieuchot, thanks!
|
#
ce8eff7d |
| 12-Sep-2010 |
jakemsr <jakemsr@openbsd.org> |
anonymous unions aren't standard C and don't work with gcc2. name the anonymous unions "un". delete some obsolete mpeg/jpeg compression methods that have never been supported, and will not need to b
anonymous unions aren't standard C and don't work with gcc2. name the anonymous unions "un". delete some obsolete mpeg/jpeg compression methods that have never been supported, and will not need to be supported.
show more ...
|
#
6d228eb3 |
| 17-Dec-2008 |
mglocker <mglocker@openbsd.org> |
Backout anonymous union fix, since it breaks V4L ports. we try to fix this upstream instead.
OK deraadt@
|
#
135bdbff |
| 14-Dec-2008 |
ray <ray@openbsd.org> |
Give names to anonymous unions.
Worked on with mglocker.
OK mglocker
|
#
cf110a4a |
| 09-Apr-2008 |
robert <robert@openbsd.org> |
Initial import for uvideo(4) and video(4):
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 impl
Initial import for uvideo(4) and video(4):
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@
show more ...
|