aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-07-21 16:06:33 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 19:28:32 -0400
commitfcc0d3db28922f9ba21ea6c7b23ea10ffb5d3521 (patch)
tree53a74efca3e18cebb04259fa10e262d896bcbe30 /Documentation/DocBook
parentde8eae36057b50086278af1ec4d96fc9a2e35f0b (diff)
[media] v4l: Add ARGB555X and XRGB555X pixel formats
The existing RGB555X pixel format is ill-defined in respect to its alpha bit and its meaning is driver dependent. Create new standard ARGB555X and XRGB555X variants with clearly defined meanings and make the existing variant deprecated. The new pixel formats 4CC values have been selected to match the DRM 4CCs for the same in-memory formats. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml50
1 files changed, 47 insertions, 3 deletions
diff --git a/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml b/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
index 2aae8e9452a4..65a11867e0ae 100644
--- a/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
+++ b/Documentation/DocBook/media/v4l/pixfmt-packed-rgb.xml
@@ -237,9 +237,9 @@ for a pixel lie next to each other in memory.</para>
237 <entry>g<subscript>4</subscript></entry> 237 <entry>g<subscript>4</subscript></entry>
238 <entry>g<subscript>3</subscript></entry> 238 <entry>g<subscript>3</subscript></entry>
239 </row> 239 </row>
240 <row id="V4L2-PIX-FMT-RGB555X"> 240 <row id="V4L2-PIX-FMT-ARGB555X">
241 <entry><constant>V4L2_PIX_FMT_RGB555X</constant></entry> 241 <entry><constant>V4L2_PIX_FMT_ARGB555X</constant></entry>
242 <entry>'RGBQ'</entry> 242 <entry>'AR15' | (1 &lt;&lt; 31)</entry>
243 <entry></entry> 243 <entry></entry>
244 <entry>a</entry> 244 <entry>a</entry>
245 <entry>r<subscript>4</subscript></entry> 245 <entry>r<subscript>4</subscript></entry>
@@ -259,6 +259,28 @@ for a pixel lie next to each other in memory.</para>
259 <entry>b<subscript>1</subscript></entry> 259 <entry>b<subscript>1</subscript></entry>
260 <entry>b<subscript>0</subscript></entry> 260 <entry>b<subscript>0</subscript></entry>
261 </row> 261 </row>
262 <row id="V4L2-PIX-FMT-XRGB555X">
263 <entry><constant>V4L2_PIX_FMT_XRGB555X</constant></entry>
264 <entry>'XR15' | (1 &lt;&lt; 31)</entry>
265 <entry></entry>
266 <entry>-</entry>
267 <entry>r<subscript>4</subscript></entry>
268 <entry>r<subscript>3</subscript></entry>
269 <entry>r<subscript>2</subscript></entry>
270 <entry>r<subscript>1</subscript></entry>
271 <entry>r<subscript>0</subscript></entry>
272 <entry>g<subscript>4</subscript></entry>
273 <entry>g<subscript>3</subscript></entry>
274 <entry></entry>
275 <entry>g<subscript>2</subscript></entry>
276 <entry>g<subscript>1</subscript></entry>
277 <entry>g<subscript>0</subscript></entry>
278 <entry>b<subscript>4</subscript></entry>
279 <entry>b<subscript>3</subscript></entry>
280 <entry>b<subscript>2</subscript></entry>
281 <entry>b<subscript>1</subscript></entry>
282 <entry>b<subscript>0</subscript></entry>
283 </row>
262 <row id="V4L2-PIX-FMT-RGB565X"> 284 <row id="V4L2-PIX-FMT-RGB565X">
263 <entry><constant>V4L2_PIX_FMT_RGB565X</constant></entry> 285 <entry><constant>V4L2_PIX_FMT_RGB565X</constant></entry>
264 <entry>'RGBR'</entry> 286 <entry>'RGBR'</entry>
@@ -800,6 +822,28 @@ image</title>
800 <entry>g<subscript>4</subscript></entry> 822 <entry>g<subscript>4</subscript></entry>
801 <entry>g<subscript>3</subscript></entry> 823 <entry>g<subscript>3</subscript></entry>
802 </row> 824 </row>
825 <row id="V4L2-PIX-FMT-RGB555X">
826 <entry><constant>V4L2_PIX_FMT_RGB555X</constant></entry>
827 <entry>'RGBQ'</entry>
828 <entry></entry>
829 <entry>a</entry>
830 <entry>r<subscript>4</subscript></entry>
831 <entry>r<subscript>3</subscript></entry>
832 <entry>r<subscript>2</subscript></entry>
833 <entry>r<subscript>1</subscript></entry>
834 <entry>r<subscript>0</subscript></entry>
835 <entry>g<subscript>4</subscript></entry>
836 <entry>g<subscript>3</subscript></entry>
837 <entry></entry>
838 <entry>g<subscript>2</subscript></entry>
839 <entry>g<subscript>1</subscript></entry>
840 <entry>g<subscript>0</subscript></entry>
841 <entry>b<subscript>4</subscript></entry>
842 <entry>b<subscript>3</subscript></entry>
843 <entry>b<subscript>2</subscript></entry>
844 <entry>b<subscript>1</subscript></entry>
845 <entry>b<subscript>0</subscript></entry>
846 </row>
803 <row id="V4L2-PIX-FMT-BGR32"> 847 <row id="V4L2-PIX-FMT-BGR32">
804 <entry><constant>V4L2_PIX_FMT_BGR32</constant></entry> 848 <entry><constant>V4L2_PIX_FMT_BGR32</constant></entry>
805 <entry>'BGR4'</entry> 849 <entry>'BGR4'</entry>