linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-media@vger.kernel.org
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>,
	Hans Verkuil <hverkuil-cisco@xs4all.nl>,
	Dylan Yip <dylany@xilinx.com>, Vishal Sagar <vsagar@xilinx.com>,
	Nicolas Dufresne <nicolas@ndufresne.ca>
Subject: [PATCH v3 02/21] media: videodev2.h: Move HI240 format to vendor-specific section
Date: Mon, 16 Nov 2020 20:51:48 +0200	[thread overview]
Message-ID: <20201116185207.13208-3-laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <20201116185207.13208-1-laurent.pinchart@ideasonboard.com>

V4L2_PIX_FMT_HI240 is a 8-bit dithered RGB format specific to BTTV. Move
it from the packed YUV formats section where it was misplaced to the
vendor-specific formats section.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 include/uapi/linux/videodev2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 4cbc02bd8b72..2d34a9ec293b 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -591,7 +591,6 @@ struct v4l2_pix_format {
 #define V4L2_PIX_FMT_XYUV32  v4l2_fourcc('X', 'Y', 'U', 'V') /* 32  XYUV-8-8-8-8  */
 #define V4L2_PIX_FMT_VUYA32  v4l2_fourcc('V', 'U', 'Y', 'A') /* 32  VUYA-8-8-8-8  */
 #define V4L2_PIX_FMT_VUYX32  v4l2_fourcc('V', 'U', 'Y', 'X') /* 32  VUYX-8-8-8-8  */
-#define V4L2_PIX_FMT_HI240   v4l2_fourcc('H', 'I', '2', '4') /*  8  8-bit color   */
 #define V4L2_PIX_FMT_HM12    v4l2_fourcc('H', 'M', '1', '2') /*  8  YUV 4:2:0 16x16 macroblocks */
 #define V4L2_PIX_FMT_M420    v4l2_fourcc('M', '4', '2', '0') /* 12  YUV 4:2:0 2 lines y, 1 line uv interleaved */
 
@@ -734,6 +733,7 @@ struct v4l2_pix_format {
 #define V4L2_PIX_FMT_INZI     v4l2_fourcc('I', 'N', 'Z', 'I') /* Intel Planar Greyscale 10-bit and Depth 16-bit */
 #define V4L2_PIX_FMT_SUNXI_TILED_NV12 v4l2_fourcc('S', 'T', '1', '2') /* Sunxi Tiled NV12 Format */
 #define V4L2_PIX_FMT_CNF4     v4l2_fourcc('C', 'N', 'F', '4') /* Intel 4-bit packed depth confidence information */
+#define V4L2_PIX_FMT_HI240    v4l2_fourcc('H', 'I', '2', '4') /* BTTV 8-bit dithered RGB */
 
 /* 10bit raw bayer packed, 32 bytes for every 25 pixels, last LSB 6 bits unused */
 #define V4L2_PIX_FMT_IPU3_SBGGR10	v4l2_fourcc('i', 'p', '3', 'b') /* IPU3 packed 10-bit BGGR bayer */
-- 
Regards,

Laurent Pinchart


  parent reply	other threads:[~2020-11-16 18:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 18:51 [PATCH v3 00/21] media: Add new pixel formats for Xilinx v-frmbuf Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 01/21] media: videodev2.h: Remove unneeded comment about 4CC value Laurent Pinchart
2020-11-16 18:51 ` Laurent Pinchart [this message]
2020-11-16 18:51 ` [PATCH v3 03/21] media: videodev2.h: Move HM12 format to YUV semi-planar section Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 04/21] media: doc: pixfmt-rgb: Remove layout table for packed RGB formats Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 05/21] media: doc: pixfmt-rgb: Add title for deprecated formats Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 06/21] media: doc: pixfmt-rgb: Clarify naming scheme for RGB formats Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 07/21] media: doc: pixfmt-rgb: Make 8 bits per component table more compact Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 08/21] media: doc: pixfmt-rgb: Replace '-' with 'X' to denote padding Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 09/21] media: doc: pixfmt-yuv: Document subsampling in more details Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 10/21] media: doc: pixfmt-yuv: Move all packed YUV formats to common file Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 11/21] media: doc: pixfmt-packed-yuv: Fill padding bits with 'X' Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 12/21] media: doc: pixfmt-packed-yuv: Express 4:4:4 formats in a more compact way Laurent Pinchart
2020-11-16 18:51 ` [PATCH v3 13/21] media: doc: pixfmt-packed-yuv: Clarify naming scheme for 4:4:4 formats Laurent Pinchart
2020-11-16 18:52 ` [PATCH v3 14/21] media: doc: pixfmt-yuv: Move all luma-only YUV formats to common file Laurent Pinchart
2020-11-16 18:52 ` [PATCH v3 15/21] media: doc: pixfmt-yuv: Move all semi-planar " Laurent Pinchart
2020-11-16 18:52 ` [PATCH v3 16/21] media: doc: pixfmt-yuv: Move all planar " Laurent Pinchart
2020-11-16 18:52 ` [PATCH v3 17/21] media: v4l2: Add 10-, 12- and 16-bpc BGR formats Laurent Pinchart
2020-11-16 18:52 ` [PATCH v3 18/21] media: v4l2: Add a few missing packed YUV 4:4:4 formats Laurent Pinchart
2020-11-16 18:52 ` [PATCH v3 19/21] media: v4l2: Add 10-, 12- and 16-bpc 4:4:4 packed VUY formats Laurent Pinchart
2020-11-16 18:52 ` [PATCH v3 20/21] media: v4l2: Add 10- and 12-bpc luma-only formats with linear packing Laurent Pinchart
2020-11-17 15:05   ` Hans Verkuil
2020-11-17 15:06     ` Hans Verkuil
2020-11-16 18:52 ` [PATCH v3 21/21] media: v4l2: Add 10-, 12- and 16-bpc 4:2:0 and 4:2:2 semi-planar YUV formats Laurent Pinchart
2020-11-16 20:04   ` Jonas Karlman
2020-11-17 15:11   ` Hans Verkuil
2020-11-17 15:25 ` [PATCH v3 00/21] media: Add new pixel formats for Xilinx v-frmbuf Hans Verkuil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201116185207.13208-3-laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=dylany@xilinx.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas@ndufresne.ca \
    --cc=sakari.ailus@linux.intel.com \
    --cc=vsagar@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).