From: Dmitry V. Levin Date: Mon, 20 May 2019 22:50:44 +0000 (+0000) Subject: xlat: update V4L2_* constants X-Git-Tag: v5.1~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee664b691cd891766bd46f8aac4c3dd73b59aae4;p=strace xlat: update V4L2_* constants * xlat/v4l2_control_ids.in (V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION): New constant introduced by Linux kernel commit v5.1-rc1~88^2~261. (V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET): New constant introduced by Linux kernel commit v5.1-rc1~88^2~260. * xlat/v4l2_pix_fmts.in (V4L2_PIX_FMT_AYUV32, V4L2_PIX_FMT_XYUV32, V4L2_PIX_FMT_VUYA32, V4L2_PIX_FMT_VUYX32): New constants introduced by Linux kernel commit v5.1-rc1~88^2~90. * NEWS: Mention this. --- diff --git a/NEWS b/NEWS index 73ebea20..751e940d 100644 --- a/NEWS +++ b/NEWS @@ -28,7 +28,7 @@ Noteworthy changes in release ?.? (????-??-??) and xtensa. * Wired up direct ipc syscalls on m68k, mips o32, powerpc, powerpc64, s390, s390x, sh, sparc, sparc64, and x86. - * Updated lists of NT_* and SO_* constants. + * Updated lists of NT_*, SO_*, and V4L2_* constants. Noteworthy changes in release 5.0 (2019-03-19) ============================================== diff --git a/xlat/v4l2_control_ids.in b/xlat/v4l2_control_ids.in index f91a56a1..3ea51732 100644 --- a/xlat/v4l2_control_ids.in +++ b/xlat/v4l2_control_ids.in @@ -137,6 +137,8 @@ V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING (V4L2_CID_MPEG_BASE+379) V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE (V4L2_CID_MPEG_BASE+380) V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER (V4L2_CID_MPEG_BASE+381) V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP (V4L2_CID_MPEG_BASE+382) +V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION (V4L2_CID_MPEG_BASE+383) +V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET (V4L2_CID_MPEG_BASE+384) V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP (V4L2_CID_MPEG_BASE+400) V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP (V4L2_CID_MPEG_BASE+401) V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP (V4L2_CID_MPEG_BASE+402) diff --git a/xlat/v4l2_pix_fmts.in b/xlat/v4l2_pix_fmts.in index 1de1dd18..5ba8b4d0 100644 --- a/xlat/v4l2_pix_fmts.in +++ b/xlat/v4l2_pix_fmts.in @@ -78,6 +78,10 @@ V4L2_PIX_FMT_MPEG4 v4l2_fourcc('M', 'P', 'G', '4') /* MPEG-4 part 2 ES */ V4L2_PIX_FMT_BGR32 v4l2_fourcc('B', 'G', 'R', '4') /* 32 BGR-8-8-8-8 */ V4L2_PIX_FMT_HSV32 v4l2_fourcc('H', 'S', 'V', '4') V4L2_PIX_FMT_YUV32 v4l2_fourcc('Y', 'U', 'V', '4') /* 32 YUV-8-8-8-8 */ +V4L2_PIX_FMT_AYUV32 v4l2_fourcc('A', 'Y', 'U', 'V') /* 32 AYUV-8-8-8-8 */ +V4L2_PIX_FMT_XYUV32 v4l2_fourcc('X', 'Y', 'U', 'V') /* 32 XYUV-8-8-8-8 */ +V4L2_PIX_FMT_VUYA32 v4l2_fourcc('V', 'U', 'Y', 'A') /* 32 VUYA-8-8-8-8 */ +V4L2_PIX_FMT_VUYX32 v4l2_fourcc('V', 'U', 'Y', 'X') /* 32 VUYX-8-8-8-8 */ V4L2_PIX_FMT_SPCA505 v4l2_fourcc('S', '5', '0', '5') /* YYUV per line */ V4L2_PIX_FMT_ARGB555 v4l2_fourcc('A', 'R', '1', '5') /* 16 ARGB-1-5-5-5 */ V4L2_PIX_FMT_XRGB555 v4l2_fourcc('X', 'R', '1', '5') /* 16 XRGB-1-5-5-5 */