Re: [PATCHv2 2/2] DocBook/media: add missing entry for V4L2_PIX_FMT_Y16_BE

2015-05-15 Thread Ricardo Ribalda Delgado
For this v2:

Acked-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com


Thanks a lot :)
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCHv2 2/2] DocBook/media: add missing entry for V4L2_PIX_FMT_Y16_BE

2015-05-15 Thread Hans Verkuil
This format was added but not documented. Do this now.

Signed-off-by: Hans Verkuil hans.verk...@cisco.com
Cc: Ricardo Ribalda Delgado ricardo.riba...@gmail.com
---
 Documentation/DocBook/media/v4l/pixfmt-y16-be.xml | 81 +++
 Documentation/DocBook/media/v4l/pixfmt.xml|  1 +
 2 files changed, 82 insertions(+)
 create mode 100644 Documentation/DocBook/media/v4l/pixfmt-y16-be.xml

diff --git a/Documentation/DocBook/media/v4l/pixfmt-y16-be.xml 
b/Documentation/DocBook/media/v4l/pixfmt-y16-be.xml
new file mode 100644
index 000..cea53e1
--- /dev/null
+++ b/Documentation/DocBook/media/v4l/pixfmt-y16-be.xml
@@ -0,0 +1,81 @@
+refentry id=V4L2-PIX-FMT-Y16-BE
+  refmeta
+refentrytitleV4L2_PIX_FMT_Y16_BE ('Y16 ' | (1 lt;lt; 
31))/refentrytitle
+manvol;
+  /refmeta
+  refnamediv
+refnameconstantV4L2_PIX_FMT_Y16_BE/constant/refname
+refpurposeGrey-scale image/refpurpose
+  /refnamediv
+  refsect1
+titleDescription/title
+
+paraThis is a grey-scale image with a depth of 16 bits per
+pixel. The most significant byte is stored at lower memory addresses
+(big-endian). Note the actual sampling precision may be lower than
+16 bits, for example 10 bits per pixel with values in range 0 to
+1023./para
+
+example
+  titleconstantV4L2_PIX_FMT_Y16_BE/constant 4 times; 4
+pixel image/title
+
+  formalpara
+   titleByte Order./title
+   paraEach cell is one byte.
+ informaltable frame=none
+   tgroup cols=9 align=center
+ colspec align=left colwidth=2* /
+ tbody valign=top
+   row
+ entrystartnbsp;+nbsp;0:/entry
+ entryY'subscript00high/subscript/entry
+ entryY'subscript00low/subscript/entry
+ entryY'subscript01high/subscript/entry
+ entryY'subscript01low/subscript/entry
+ entryY'subscript02high/subscript/entry
+ entryY'subscript02low/subscript/entry
+ entryY'subscript03high/subscript/entry
+ entryY'subscript03low/subscript/entry
+   /row
+   row
+ entrystartnbsp;+nbsp;8:/entry
+ entryY'subscript10high/subscript/entry
+ entryY'subscript10low/subscript/entry
+ entryY'subscript11high/subscript/entry
+ entryY'subscript11low/subscript/entry
+ entryY'subscript12high/subscript/entry
+ entryY'subscript12low/subscript/entry
+ entryY'subscript13high/subscript/entry
+ entryY'subscript13low/subscript/entry
+   /row
+   row
+ entrystartnbsp;+nbsp;16:/entry
+ entryY'subscript20high/subscript/entry
+ entryY'subscript20low/subscript/entry
+ entryY'subscript21high/subscript/entry
+ entryY'subscript21low/subscript/entry
+ entryY'subscript22high/subscript/entry
+ entryY'subscript22low/subscript/entry
+ entryY'subscript23high/subscript/entry
+ entryY'subscript23low/subscript/entry
+   /row
+   row
+ entrystartnbsp;+nbsp;24:/entry
+ entryY'subscript30high/subscript/entry
+ entryY'subscript30low/subscript/entry
+ entryY'subscript31high/subscript/entry
+ entryY'subscript31low/subscript/entry
+ entryY'subscript32high/subscript/entry
+ entryY'subscript32low/subscript/entry
+ entryY'subscript33high/subscript/entry
+ entryY'subscript33low/subscript/entry
+   /row
+ /tbody
+   /tgroup
+ /informaltable
+   /para
+  /formalpara
+/example
+  /refsect1
+/refentry
diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml 
b/Documentation/DocBook/media/v4l/pixfmt.xml
index fcde4e2..ddff8d9 100644
--- a/Documentation/DocBook/media/v4l/pixfmt.xml
+++ b/Documentation/DocBook/media/v4l/pixfmt.xml
@@ -1429,6 +1429,7 @@ information./para
 sub-y12;
 sub-y10b;
 sub-y16;
+sub-y16-be;
 sub-uv8;
 sub-yuyv;
 sub-uyvy;
-- 
2.1.4

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html