[PATCH 1/2] v4l2: Add decoding for VIDIOC_G/S_TUNER's arg

Edgar Kaziahmedov edos at linux.com
Sun Apr 23 01:40:18 UTC 2017


On Sun, 23 Apr 2017 02:45:39 +0300
"Dmitry V. Levin" <ldv at altlinux.org> wrote:

> On Fri, Apr 21, 2017 at 04:53:05PM +0300, Edgar Kaziahmedov wrote:
> > * v4l2.c: Include "xlat/v4l2_tuner_types.h",
> > "xlat/v4l2_tuner_capabilities.h", "xlat/v4l2_tuner_rxsubchanses.h",
> > and "xlat/v4l2_tuner_audmodes.h". (struct_v4l2_tuner): New typedef.
> > Mpersify it. (print_v4l2_tuner): New function. Use it. Add decoding
> > for VIDIOC_G/S_TUNER's arg.  
> 
> Surprisingly, struct v4l2_tuner is arch-independent because its
> definition uses arch-independent types only.  As result, struct
> v4l2_tuner can be used in print_v4l2_tuner and struct_v4l2_tuner is
> not needed.
> 
> 

Hm, okay, it looks like that I finally found out the main purpose of
this wrappers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20170423/2f59e315/attachment.bin>


More information about the Strace-devel mailing list