[PATCH 1/2] v4l2: add all printings to print_v4l2_format

Dmitry V. Levin ldv at altlinux.org
Wed Apr 12 01:46:15 UTC 2017


On Wed, Apr 12, 2017 at 04:15:28AM +0300, Dmitry V. Levin wrote:
> On Mon, Apr 10, 2017 at 01:45:01PM +0300, Edgar Kaziahmedov wrote:
> > * v4l2.c (print_v4l2_format_fmt): Add decoding for the remaining
> > V4L2_BUF_TYPEs, add 'struct tcb' arg as print_array using.
> > (print_v4l2_clip): New function to print the clips field in case
> > of the overlay type buf
> > (print_v4l2_format): Add processing of the returned value of
> > the print_v4l2_format_fmt.
> 
> * v4l2.c: Include "xlat/v4l2_vbi_flags.h" and "xlat/v4l2_sliced_flags.h".
> (struct_v4l2_clip): New typedef.  Mpersify it.
> (print_v4l2_clip): New function.
> (print_v4l2_format_fmt): Use it.  Add struct tcb argument.  Implement
> decoding of the remaining V4L2_BUF_TYPE_* types.
> 
> The last sentence would be a better alternative for the subject of this
> commit.

Also, it deserves a NEWS entry.


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


More information about the Strace-devel mailing list