CVS: cvs.openbsd.org: xenocara
CVSROOT:/cvs Module name:xenocara Changes by: feine...@cvs.openbsd.org2020/07/01 00:45:24 Modified files: app/video : video.c Log message: Initialize v4l2_requestbuffers for better libv4l compatibility The VIDIOC_REQBUFS ioctl requires a v4l2_requestbuffers struct with the members count, type, and memory. In the past only count was set as the uvideo(4) kernel driver, via uvideo_reqbufs(), is ignoring both struct members type and memory (pointed out by mpi@). However, using video(1) with libv4l (LD_PRELOAD=/usr/local/lib/v4l2convert.so video) yields "mmap: Invalid argument" as libv4l inspects the type and memory struct members and fails if memory != V4L2_MEMORY_MMAP. Full initialization fixes libv4l usage which allows us to view video encodings not directly supported by video(1), e.g., MJPEG, as libv4l can convert encodings on the fly. OK mglocker@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2020/05/30 03:01:04 Modified files: sys/dev/usb: uvideo.c Log message: Fix UVIDEO_DEBUG build Include sys/proc.h to address following errors: /usr/src/sys/dev/usb/uvideo.c:2901:31: error: incomplete definition of type 'struct proc' vn_close(nd.ni_vp, FWRITE, p->p_ucred, p); ~^ /usr/src/sys/sys/types.h:223:8: note: forward declaration of 'struct proc' struct proc; ^ /usr/src/sys/dev/usb/uvideo.c:2925:40: error: incomplete definition of type 'struct proc' UIO_SYSSPACE, IO_APPEND|IO_UNIT, p->p_ucred, NULL, p); ~^ /usr/src/sys/sys/types.h:223:8: note: forward declaration of 'struct proc' struct proc; ^ 2 errors generated. ok mpi@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2020/04/19 00:39:47 Modified files: lib/libsndio : sioctl_open.3 Log message: Mention SIO_DEVANY instead of nonexistent SIOCTL_DEVANY constant OK ratchov@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2019/01/14 06:35:41 Modified files: sys/dev/usb: if_umb.c Log message: Fix typos ok sthen@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: feine...@cvs.openbsd.org2017/11/16 13:36:12 Modified files: . : want.html Log message: SAS disks are no longer needed in Vienna, Austria. Remove entry on martin@'s request.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2017/02/16 23:48:33 Modified files: sys/sys: videoio.h Log message: 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@.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2017/02/02 11:38:26 Modified files: share/man/man4 : video.4 Log message: Document recent videoio.h changes and fix typo.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2017/02/02 11:04:41 Modified files: sys/sys: videoio.h Log message: 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@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2016/11/23 13:23:54 Modified files: share/man/man4 : umb.4 Log message: Add Ericsson N5321gw OK jmc@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2016/06/24 23:31:08 Modified files: share/man/man4 : umb.4 Log message: Add Medion Mobile S4222 Remove deprecated Tn at the same time. OK jmc@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2016/01/05 10:29:32 Modified files: share/man/man4 : video.4 Log message: Fix whitespace
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2016/01/02 00:46:07 Modified files: share/man/man4 : video.4 Log message: Document recent videoio.h changes. ok jmc@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2016/01/01 07:17:12 Modified files: sys/sys: videoio.h Log message: 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@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2016/01/01 08:34:09 Modified files: sys/sys: videoio.h Log message: Sync formatting and a few comments with upstream. No functional change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2015/12/15 09:23:31 Modified files: sys/sys: videoio.h Added files: sys/sys: v4l2-common.h v4l2-controls.h Log message: 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@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2015/12/15 10:01:44 Modified files: sys/sys: videoio.h Removed files: sys/sys: v4l2-common.h v4l2-controls.h Log message: Revert the previous commit; the licencing needs to be checked very carefully.
Re: CVS: cvs.openbsd.org: src
> CVSROOT: /cvs > Module name: src > Changes by: feine...@cvs.openbsd.org2015/11/21 00:46:22 > > Modified files: > sys/sys: videoio.h > > Log message: > Add V4L2_FMT_FLAG_EMULATED which was ok robert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2015/11/21 00:46:22 Modified files: sys/sys: videoio.h Log message: Add V4L2_FMT_FLAG_EMULATED
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: feine...@cvs.openbsd.org2015/07/04 07:27:04 Modified files: bin/ksh: ksh.1 Log message: Use alternation consistently ok jmc@