aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-11-22 06:59:34 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-16 06:35:55 -0500
commit05834fcf58fe77b0519a8dc40e3c4a5a28dfc88d (patch)
tree5a73a2b0a534bdd2678d65eaa7df566fed2369ce /Documentation/DocBook
parent0cb64f02b8c8f8181d6eaa6d1931fe0bc4195a25 (diff)
[media] v4l2 spec: clarify usage of V4L2_FBUF_FLAG_OVERLAY
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml23
1 files changed, 14 insertions, 9 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml b/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml
index 93817f337033..7c63815e7afd 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml
@@ -364,15 +364,20 @@ capability and it is cleared otherwise.</entry>
364 <row> 364 <row>
365 <entry><constant>V4L2_FBUF_FLAG_OVERLAY</constant></entry> 365 <entry><constant>V4L2_FBUF_FLAG_OVERLAY</constant></entry>
366 <entry>0x0002</entry> 366 <entry>0x0002</entry>
367 <entry>The frame buffer is an overlay surface the same 367 <entry>If this flag is set for a video capture device, then the
368size as the capture. [?]</entry> 368driver will set the initial overlay size to cover the full framebuffer size,
369 </row> 369otherwise the existing overlay size (as set by &VIDIOC-S-FMT;) will be used.
370 <row> 370
371 <entry spanname="hspan">The purpose of 371Only one video capture driver (bttv) supports this flag. The use of this flag
372<constant>V4L2_FBUF_FLAG_OVERLAY</constant> was never quite clear. 372for capture devices is deprecated. There is no way to detect which drivers
373Most drivers seem to ignore this flag. For compatibility with the 373support this flag, so the only reliable method of setting the overlay size is
374<wordasword>bttv</wordasword> driver applications should set the 374through &VIDIOC-S-FMT;.
375<constant>V4L2_FBUF_FLAG_OVERLAY</constant> flag.</entry> 375
376If this flag is set for a video output device, then the video output overlay
377window is relative to the top-left corner of the framebuffer and restricted
378to the size of the framebuffer. If it is cleared, then the video output
379overlay window is relative to the video output display.
380 </entry>
376 </row> 381 </row>
377 <row> 382 <row>
378 <entry><constant>V4L2_FBUF_FLAG_CHROMAKEY</constant></entry> 383 <entry><constant>V4L2_FBUF_FLAG_CHROMAKEY</constant></entry>