diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2009-11-10 11:14:51 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:42:04 -0500 |
commit | a4834cef185fbe73f26c864fe38badc4f890afb7 (patch) | |
tree | 3b81232b3a1b728a2cedd9edcfe6bd5ac20ae289 /Documentation/DocBook | |
parent | d8008562379b927758ca08eded1508c68d9beb4e (diff) |
V4L/DVB (13471): v4l2 doc: Added FBUF_CAP_SRC_CHROMAKEY/FLAG_SRC_CHROMAKEY
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/v4l/vidioc-g-fbuf.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/DocBook/v4l/vidioc-g-fbuf.xml b/Documentation/DocBook/v4l/vidioc-g-fbuf.xml index f7017062656e..e7dda4822f04 100644 --- a/Documentation/DocBook/v4l/vidioc-g-fbuf.xml +++ b/Documentation/DocBook/v4l/vidioc-g-fbuf.xml | |||
@@ -336,6 +336,13 @@ alpha value. Alpha blending makes no sense for destructive overlays.</entry> | |||
336 | inverted alpha channel of the framebuffer or VGA signal. Alpha | 336 | inverted alpha channel of the framebuffer or VGA signal. Alpha |
337 | blending makes no sense for destructive overlays.</entry> | 337 | blending makes no sense for destructive overlays.</entry> |
338 | </row> | 338 | </row> |
339 | <row> | ||
340 | <entry><constant>V4L2_FBUF_CAP_SRC_CHROMAKEY</constant></entry> | ||
341 | <entry>0x0080</entry> | ||
342 | <entry>The device supports Source Chroma-keying. Framebuffer pixels | ||
343 | with the chroma-key colors are replaced by video pixels, which is exactly opposite of | ||
344 | <constant>V4L2_FBUF_CAP_CHROMAKEY</constant></entry> | ||
345 | </row> | ||
339 | </tbody> | 346 | </tbody> |
340 | </tgroup> | 347 | </tgroup> |
341 | </table> | 348 | </table> |
@@ -411,6 +418,16 @@ images, but with an inverted alpha value. The blend function is: | |||
411 | output = framebuffer pixel * (1 - alpha) + video pixel * alpha. The | 418 | output = framebuffer pixel * (1 - alpha) + video pixel * alpha. The |
412 | actual alpha depth depends on the framebuffer pixel format.</entry> | 419 | actual alpha depth depends on the framebuffer pixel format.</entry> |
413 | </row> | 420 | </row> |
421 | <row> | ||
422 | <entry><constant>V4L2_FBUF_FLAG_SRC_CHROMAKEY</constant></entry> | ||
423 | <entry>0x0040</entry> | ||
424 | <entry>Use source chroma-keying. The source chroma-key color is | ||
425 | determined by the <structfield>chromakey</structfield> field of | ||
426 | &v4l2-window; and negotiated with the &VIDIOC-S-FMT; ioctl, see <xref | ||
427 | linkend="overlay" /> and <xref linkend="osd" />. | ||
428 | Both chroma-keying are mutual exclusive to each other, so same | ||
429 | <structfield>chromakey</structfield> field of &v4l2-window; is being used.</entry> | ||
430 | </row> | ||
414 | </tbody> | 431 | </tbody> |
415 | </tgroup> | 432 | </tgroup> |
416 | </table> | 433 | </table> |