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

Dmitry V. Levin ldv at altlinux.org
Thu Apr 13 15:06:40 UTC 2017


On Thu, Apr 13, 2017 at 05:54:09PM +0300, Edgar Kaziahmedov wrote:
> On Wed, 12 Apr 2017 04:15:28 +0300
> "Dmitry V. Levin" <ldv at altlinux.org> 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.
> One more question. What do you mean writing "Use it"?

"Use it" means use it in an unspecified but obvious way.
In this context "Use it" means "Use it to print struct v4l2_clip".
Feel free to describe in more details.


-- 
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/20170413/6c8280ae/attachment.bin>


More information about the Strace-devel mailing list