diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2018-02-15 21:16:15 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-03-02 16:02:20 +0000 |
commit | cfa55479c2e5ab93f48fe96719df495223a662ec (patch) | |
tree | 5a66c9e2584d2183e141bfe44c578c6792bd2cd9 /NEWS | |
parent | b82706f412ba897c3b265caadefbb2cabe852d75 (diff) | |
download | strace-cfa55479c2e5ab93f48fe96719df495223a662ec.tar.gz |
v4l2: print known pixel/SDR formats
* xlat/v4l2_pix_fmts.in: New file.
* xlat/v4l2_sdr_fmts.in: Likewise.
* v4l2.c [!v4l2_fourcc_be] (v4l2_fourcc_be): New macro.
(print_pixelformat): Add xlat parameter, print constant name
as a comment if it has been found in xlat.
(print_v4l2_fmtdesc, print_v4l2_frmivalenum): Pass v4l2_pix_fmts
to print_pixelformat.
(print_v4l2_format_fmt) <case V4L2_BUF_TYPE_VIDEO_CAPTURE, case
V4L2_BUF_TYPE_VIDEO_OUTPUT, case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, case V4L2_BUF_TYPE_VBI_CAPTURE,
case V4L2_BUF_TYPE_VBI_OUTPUT>: Pass v4l2_pix_fmts to print_pixelformat.
(print_v4l2_format_fmt) <case V4L2_BUF_TYPE_SDR_OUTPUT, case
V4L2_BUF_TYPE_SDR_CAPTURE>: Pass v4l2_sdr_fmts to print_pixelformat.
* tests/v4l2.c: Test it, update expected output.
* NEWS: Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,8 @@ Noteworthy changes in release ?.?? (????-??-??) * Updated lists of signal codes. * Updated lists of INET_DIAG_BC_*, POLL*, RWF_*, and SCHED_FLAG_* constants. * Implemented block/character device number printing in -yy mode. + * Known pixel/SDR format names are printed as comments for pixelformat fields + in v4l2 structures. * Bug fixes * Fixed build on m68k. |