Up to [local] / src / sys / sys
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 18 13:29:00 2023 UTC (8 months, 3 weeks ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.18: +20 -9 lines
Diff to previous 1.18 (colored)
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@
Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 15 08:27:30 2023 UTC (9 months, 3 weeks ago) by miod
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
Replace a bunch of (1 << 31) with (1U << 31)
Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 20 05:27:29 2020 UTC (3 years, 6 months ago) by mglocker
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)
Fix comment _SYS_VIDEOIO_H -> _SYS_VIDEOIO_H_
Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 17 06:48:33 2017 UTC (7 years, 3 months ago) by feinerer
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.15: +376 -397 lines
Diff to previous 1.15 (colored)
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@.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 2 18:04:41 2017 UTC (7 years, 4 months ago) by feinerer
Branch: MAIN
Changes since 1.14: +255 -102 lines
Diff to previous 1.14 (colored)
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 1.14 / (download) - annotate - [select for diffs], Wed Jan 27 13:07:09 2016 UTC (8 years, 4 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)
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@
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 1 15:34:09 2016 UTC (8 years, 5 months ago) by feinerer
Branch: MAIN
Changes since 1.12: +513 -533 lines
Diff to previous 1.12 (colored)
Sync formatting and a few comments with upstream. No functional change.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 1 14:17:12 2016 UTC (8 years, 5 months ago) by feinerer
Branch: MAIN
Changes since 1.11: +2341 -433 lines
Diff to previous 1.11 (colored)
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@
Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 15 17:01:44 2015 UTC (8 years, 5 months ago) by feinerer
Branch: MAIN
Changes since 1.10: +432 -1419 lines
Diff to previous 1.10 (colored)
Revert the previous commit; the licencing needs to be checked very carefully.
Revision 1.10 / (download) - annotate - [select for diffs], Tue Dec 15 16:23:31 2015 UTC (8 years, 5 months ago) by feinerer
Branch: MAIN
Changes since 1.9: +1420 -433 lines
Diff to previous 1.9 (colored)
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@
Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 21 07:46:21 2015 UTC (8 years, 6 months ago) by feinerer
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)
Add V4L2_FMT_FLAG_EMULATED
Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 23 07:34:48 2014 UTC (9 years, 7 months ago) by brad
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)
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 1.7 / (download) - annotate - [select for diffs], Fri Nov 22 07:49:26 2013 UTC (10 years, 6 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)
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 1.6 / (download) - annotate - [select for diffs], Sat Nov 20 20:11:19 2010 UTC (13 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and uncommenting it is intentional. ok deraadt@
Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 26 23:44:51 2010 UTC (13 years, 8 months ago) by jakemsr
Branch: MAIN
Changes since 1.4: +41 -4 lines
Diff to previous 1.4 (colored)
support variable sized (bControlSize != 2) processing unit bmControls, and add support for more processing unit controls. from Martin Pieuchot, thanks!
Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 12 22:27:52 2010 UTC (13 years, 9 months ago) by jakemsr
Branch: MAIN
Changes since 1.3: +7 -212 lines
Diff to previous 1.3 (colored)
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 1.3 / (download) - annotate - [select for diffs], Wed Dec 17 08:39:01 2008 UTC (15 years, 5 months ago) by mglocker
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)
Backout anonymous union fix, since it breaks V4L ports. we try to fix this upstream instead. OK deraadt@
Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 14 07:38:41 2008 UTC (15 years, 5 months ago) by ray
Branch: MAIN
Changes since 1.1: +5 -5 lines
Diff to previous 1.1 (colored)
Give names to anonymous unions. Worked on with mglocker. OK mglocker
Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 9 19:49:55 2008 UTC (16 years, 2 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
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@