Skip to content

Commit aaeb255

Browse files
committed
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media into next
Pull media updates from Mauro Carvalho Chehab: "This contains: - a new frontend/tuner driver set for si2168 and sa2157 - Videobuf 2 core now supports DVB too - A new gspca sub-driver (dtcs033) - saa7134 is now converted to use videobuf2 - add support for 4K timings - several other driver fixes and improvements PS. This pull request is shorter than usual, partly because I have some other patches on topic branches that I'll be sending you later this week" * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (286 commits) [media] au0828-dvb: restore its permission to 644 [media] xc5000: delay tuner sleep to 5 seconds [media] xc5000: Don't use whitespace before tabs [media] xc5000: fix CamelCase [media] xc5000: Don't wrap msleep() [media] xc5000: get rid of positive error codes [media] au0828: reset streaming when a new frequency is set [media] au0828: Improve debug messages for urb_completion [media] au0828: Cancel stream-restart operation if frontend is disconnected [media] dib0700: fix RC support on Hauppauge Nova-TD [media] USB: as102_usb_drv.c: Remove useless return variables [media] v4l: Fix documentation of V4L2_PIX_FMT_H264_MVC and VP8 pixel formats [media] m5mols: Replace missing header [media] staging: lirc: Fix sparse warnings [media] fix mceusb endpoint type identification/handling [media] az6027: Added the PID for a new revision of the Elgato EyeTV Sat DVB-S Tuner [media] DocBook media: fix typo [media] adv7604: Add missing include to linux/types.h [media] v4l: Validate fields in the core code for subdev EDID ioctls [media] v4l: Add support for DV timings ioctls on subdev nodes ...
2 parents d270506 + a2668e1 commit aaeb255

263 files changed

Lines changed: 9256 additions & 5792 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/DocBook/media/v4l/io.xml‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ location of the buffers in device memory can be determined with the
125125
<structfield>m.offset</structfield> and <structfield>length</structfield>
126126
returned in a &v4l2-buffer; are passed as sixth and second parameter to the
127127
<function>mmap()</function> function. When using the multi-planar API,
128-
struct &v4l2-buffer; contains an array of &v4l2-plane; structures, each
128+
&v4l2-buffer; contains an array of &v4l2-plane; structures, each
129129
containing its own <structfield>m.offset</structfield> and
130130
<structfield>length</structfield>. When using the multi-planar API, every
131131
plane of every buffer has to be mapped separately, so the number of
@@ -699,7 +699,12 @@ linkend="v4l2-buf-type" /></entry>
699699
buffer. It depends on the negotiated data format and may change with
700700
each buffer for compressed variable size data like JPEG images.
701701
Drivers must set this field when <structfield>type</structfield>
702-
refers to an input stream, applications when it refers to an output stream.</entry>
702+
refers to an input stream, applications when it refers to an output stream.
703+
If the application sets this to 0 for an output stream, then
704+
<structfield>bytesused</structfield> will be set to the size of the
705+
buffer (see the <structfield>length</structfield> field of this struct) by
706+
the driver. For multiplanar formats this field is ignored and the
707+
<structfield>planes</structfield> pointer is used instead.</entry>
703708
</row>
704709
<row>
705710
<entry>__u32</entry>
@@ -861,7 +866,11 @@ should set this to 0.</entry>
861866
<entry></entry>
862867
<entry>The number of bytes occupied by data in the plane
863868
(its payload). Drivers must set this field when <structfield>type</structfield>
864-
refers to an input stream, applications when it refers to an output stream.</entry>
869+
refers to an input stream, applications when it refers to an output stream.
870+
If the application sets this to 0 for an output stream, then
871+
<structfield>bytesused</structfield> will be set to the size of the
872+
plane (see the <structfield>length</structfield> field of this struct)
873+
by the driver.</entry>
865874
</row>
866875
<row>
867876
<entry>__u32</entry>

‎Documentation/DocBook/media/v4l/media-ioc-enum-links.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@
7979
<entry>Entity id, set by the application.</entry>
8080
</row>
8181
<row>
82-
<entry>struct &media-pad-desc;</entry>
82+
<entry>&media-pad-desc;</entry>
8383
<entry>*<structfield>pads</structfield></entry>
8484
<entry>Pointer to a pads array allocated by the application. Ignored
8585
if NULL.</entry>
8686
</row>
8787
<row>
88-
<entry>struct &media-link-desc;</entry>
88+
<entry>&media-link-desc;</entry>
8989
<entry>*<structfield>links</structfield></entry>
9090
<entry>Pointer to a links array allocated by the application. Ignored
9191
if NULL.</entry>
@@ -153,12 +153,12 @@
153153
&cs-str;
154154
<tbody valign="top">
155155
<row>
156-
<entry>struct &media-pad-desc;</entry>
156+
<entry>&media-pad-desc;</entry>
157157
<entry><structfield>source</structfield></entry>
158158
<entry>Pad at the origin of this link.</entry>
159159
</row>
160160
<row>
161-
<entry>struct &media-pad-desc;</entry>
161+
<entry>&media-pad-desc;</entry>
162162
<entry><structfield>sink</structfield></entry>
163163
<entry>Pad at the target of this link.</entry>
164164
</row>

‎Documentation/DocBook/media/v4l/pixfmt.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ extended control <constant>V4L2_CID_MPEG_STREAM_TYPE</constant>, see
772772
</row>
773773
<row id="V4L2-PIX-FMT-H264-MVC">
774774
<entry><constant>V4L2_PIX_FMT_H264_MVC</constant></entry>
775-
<entry>'MVC'</entry>
775+
<entry>'M264'</entry>
776776
<entry>H264 MVC video elementary stream.</entry>
777777
</row>
778778
<row id="V4L2-PIX-FMT-H263">
@@ -812,7 +812,7 @@ extended control <constant>V4L2_CID_MPEG_STREAM_TYPE</constant>, see
812812
</row>
813813
<row id="V4L2-PIX-FMT-VP8">
814814
<entry><constant>V4L2_PIX_FMT_VP8</constant></entry>
815-
<entry>'VP8'</entry>
815+
<entry>'VP80'</entry>
816816
<entry>VP8 video elementary stream.</entry>
817817
</row>
818818
</tbody>

0 commit comments

Comments
 (0)