#
1.19 |
|
18-Sep-2023 |
robert |
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@
|
#
1.18 |
|
15-Aug-2023 |
miod |
Replace a bunch of (1 << 31) with (1U << 31)
|
Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
|
#
1.17 |
|
20-Nov-2020 |
mglocker |
Fix comment _SYS_VIDEOIO_H -> _SYS_VIDEOIO_H_
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
|
#
1.16 |
|
17-Feb-2017 |
feinerer |
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@.
|
#
1.15 |
|
02-Feb-2017 |
feinerer |
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@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.14 |
|
27-Jan-2016 |
ajacoutot |
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@
|
#
1.13 |
|
01-Jan-2016 |
feinerer |
Sync formatting and a few comments with upstream. No functional change.
|
#
1.12 |
|
01-Jan-2016 |
feinerer |
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@
|
#
1.11 |
|
15-Dec-2015 |
feinerer |
Revert the previous commit; the licencing needs to be checked very carefully.
|
#
1.10 |
|
15-Dec-2015 |
feinerer |
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@
|
#
1.9 |
|
21-Nov-2015 |
feinerer |
Add V4L2_FMT_FLAG_EMULATED
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.8 |
|
23-Oct-2014 |
brad |
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@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.7 |
|
22-Nov-2013 |
mpi |
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.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.6 |
|
20-Nov-2010 |
miod |
__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and uncommenting it is intentional. ok deraadt@
|
#
1.5 |
|
26-Sep-2010 |
jakemsr |
support variable sized (bControlSize != 2) processing unit bmControls, and add support for more processing unit controls. from Martin Pieuchot, thanks!
|
#
1.4 |
|
12-Sep-2010 |
jakemsr |
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.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.3 |
|
17-Dec-2008 |
mglocker |
Backout anonymous union fix, since it breaks V4L ports. we try to fix this upstream instead.
OK deraadt@
|
#
1.2 |
|
14-Dec-2008 |
ray |
Give names to anonymous unions.
Worked on with mglocker.
OK mglocker
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.1 |
|
09-Apr-2008 |
robert |
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@
|
#
1.18 |
|
15-Aug-2023 |
miod |
Replace a bunch of (1 << 31) with (1U << 31)
|
Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE
|
#
1.17 |
|
20-Nov-2020 |
mglocker |
Fix comment _SYS_VIDEOIO_H -> _SYS_VIDEOIO_H_
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
|
#
1.16 |
|
17-Feb-2017 |
feinerer |
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@.
|
#
1.15 |
|
02-Feb-2017 |
feinerer |
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@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.14 |
|
27-Jan-2016 |
ajacoutot |
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@
|
#
1.13 |
|
01-Jan-2016 |
feinerer |
Sync formatting and a few comments with upstream. No functional change.
|
#
1.12 |
|
01-Jan-2016 |
feinerer |
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@
|
#
1.11 |
|
15-Dec-2015 |
feinerer |
Revert the previous commit; the licencing needs to be checked very carefully.
|
#
1.10 |
|
15-Dec-2015 |
feinerer |
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@
|
#
1.9 |
|
21-Nov-2015 |
feinerer |
Add V4L2_FMT_FLAG_EMULATED
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.8 |
|
23-Oct-2014 |
brad |
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@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.7 |
|
22-Nov-2013 |
mpi |
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.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.6 |
|
20-Nov-2010 |
miod |
__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and uncommenting it is intentional. ok deraadt@
|
#
1.5 |
|
26-Sep-2010 |
jakemsr |
support variable sized (bControlSize != 2) processing unit bmControls, and add support for more processing unit controls. from Martin Pieuchot, thanks!
|
#
1.4 |
|
12-Sep-2010 |
jakemsr |
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.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.3 |
|
17-Dec-2008 |
mglocker |
Backout anonymous union fix, since it breaks V4L ports. we try to fix this upstream instead.
OK deraadt@
|
#
1.2 |
|
14-Dec-2008 |
ray |
Give names to anonymous unions.
Worked on with mglocker.
OK mglocker
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.1 |
|
09-Apr-2008 |
robert |
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@
|
#
1.17 |
|
20-Nov-2020 |
mglocker |
Fix comment _SYS_VIDEOIO_H -> _SYS_VIDEOIO_H_
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
|
#
1.16 |
|
17-Feb-2017 |
feinerer |
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@.
|
#
1.15 |
|
02-Feb-2017 |
feinerer |
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@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.14 |
|
27-Jan-2016 |
ajacoutot |
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@
|
#
1.13 |
|
01-Jan-2016 |
feinerer |
Sync formatting and a few comments with upstream. No functional change.
|
#
1.12 |
|
01-Jan-2016 |
feinerer |
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@
|
#
1.11 |
|
15-Dec-2015 |
feinerer |
Revert the previous commit; the licencing needs to be checked very carefully.
|
#
1.10 |
|
15-Dec-2015 |
feinerer |
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@
|
#
1.9 |
|
21-Nov-2015 |
feinerer |
Add V4L2_FMT_FLAG_EMULATED
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.8 |
|
23-Oct-2014 |
brad |
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@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.7 |
|
22-Nov-2013 |
mpi |
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.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.6 |
|
20-Nov-2010 |
miod |
__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and uncommenting it is intentional. ok deraadt@
|
#
1.5 |
|
26-Sep-2010 |
jakemsr |
support variable sized (bControlSize != 2) processing unit bmControls, and add support for more processing unit controls. from Martin Pieuchot, thanks!
|
#
1.4 |
|
12-Sep-2010 |
jakemsr |
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.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.3 |
|
17-Dec-2008 |
mglocker |
Backout anonymous union fix, since it breaks V4L ports. we try to fix this upstream instead.
OK deraadt@
|
#
1.2 |
|
14-Dec-2008 |
ray |
Give names to anonymous unions.
Worked on with mglocker.
OK mglocker
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.1 |
|
09-Apr-2008 |
robert |
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@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.16 |
|
17-Feb-2017 |
feinerer |
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@.
|
#
1.15 |
|
02-Feb-2017 |
feinerer |
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@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.14 |
|
27-Jan-2016 |
ajacoutot |
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@
|
#
1.13 |
|
01-Jan-2016 |
feinerer |
Sync formatting and a few comments with upstream. No functional change.
|
#
1.12 |
|
01-Jan-2016 |
feinerer |
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@
|
#
1.11 |
|
15-Dec-2015 |
feinerer |
Revert the previous commit; the licencing needs to be checked very carefully.
|
#
1.10 |
|
15-Dec-2015 |
feinerer |
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@
|
#
1.9 |
|
21-Nov-2015 |
feinerer |
Add V4L2_FMT_FLAG_EMULATED
|
Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.8 |
|
23-Oct-2014 |
brad |
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@
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.7 |
|
22-Nov-2013 |
mpi |
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.
|
Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.6 |
|
20-Nov-2010 |
miod |
__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and uncommenting it is intentional. ok deraadt@
|
#
1.5 |
|
26-Sep-2010 |
jakemsr |
support variable sized (bControlSize != 2) processing unit bmControls, and add support for more processing unit controls. from Martin Pieuchot, thanks!
|
#
1.4 |
|
12-Sep-2010 |
jakemsr |
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.
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.3 |
|
17-Dec-2008 |
mglocker |
Backout anonymous union fix, since it breaks V4L ports. we try to fix this upstream instead.
OK deraadt@
|
#
1.2 |
|
14-Dec-2008 |
ray |
Give names to anonymous unions.
Worked on with mglocker.
OK mglocker
|
Revision tags: OPENBSD_4_4_BASE
|
#
1.1 |
|
09-Apr-2008 |
robert |
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@
|