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

Philippe De Muyter phdm at macqel.be
Mon Nov 3 20:27:26 UTC 2014


On Sat, Nov 01, 2014 at 10:12:29PM +0300, Dmitry V. Levin wrote:
> Hi,
> 
> On Fri, Oct 10, 2014 at 01:15:23PM +0200, 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.
> 
> It's a good decoder, I'm almost ready to merge it, see my comments below.

Thanks

I send a modified version in a separate mail

Philippe




More information about the Strace-devel mailing list