[PATCH v7] v4l2.c: a decoder for Video4Linux video-input ioctls args

Dmitry V. Levin ldv at altlinux.org
Tue Nov 4 15:34:08 UTC 2014


On Mon, Nov 03, 2014 at 09:27:40PM +0100, Philippe De Muyter wrote:
> * v4l2.c, xlat/v4l2_*.in: new files.
> * configure.ac: check for availabilty of v4l2 enum constants.
> * ioctl.c, defs.h, Makefile.am: hook v4l2.o:v4l2_ioctl into strace.
> * NEWS: spread the news :)
> 
> Introduce v4l2.c, a decoder for the arguments of the video-input subset of the
> v4l2 ioctl's.
> This is a combination of
> - previous work by Peter Zotov <whitequark at whitequark.org>, found at
>   https://gist.githubusercontent.com/whitequark/1263207/raw/strace-4.6-v4l2-ioctls.patch
> - previous work by William Manley <will at williammanley.net>, found at
>   http://marc.info/?l=strace&m=139395588520675&w=2
> - forward port, additions and fixes by Philippe De Muyter <phdm at macqel.be>
> 
> As v4l2 is a moving target, I have made v4l2.c compilable with ancient linux
> kernels by testing the availability of some macros.  It as been succesfully
> compiled on linux 3.10, 3.1, 2.6.31 and 2.6.22, and succesfully used on
> linux 3.10 with a camera device.
> 
> Signed-off-by: Philippe De Muyter <phdm at macqel.be>
> Cc: Peter Zotov <whitequark at whitequark.org>
> Cc: William Manley <will at williammanley.net>

Merged, thanks!


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20141104/f187ed46/attachment.bin>


More information about the Strace-devel mailing list