summaryrefslogtreecommitdiff
path: root/videoout.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-21 13:23:10 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-21 15:03:38 +0200
commit972cb1c49b47a4c8775e24024c5b825a0990ee65 (patch)
treebb28f6c002118ef72b78e4e911d5f5b00956ca2e /videoout.h
parent685c68af9768c4219b7bb8ae68863293e3a4f63c (diff)
videout: Add support for disabling chroma keying
And make vo_enable_colorkey() return 0 on success and a negative error code otherwise. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'videoout.h')
-rw-r--r--videoout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/videoout.h b/videoout.h
index cf20025..0f4cc4c 100644
--- a/videoout.h
+++ b/videoout.h
@@ -39,7 +39,10 @@ struct videoout *vo_init(const char *devname,
unsigned int buffers,
struct v4l2_pix_format *format);
void vo_cleanup(struct videoout *vo);
+
int vo_enable_colorkey(struct videoout *vo, unsigned int val);
+int vo_disable_colorkey(struct videoout *vo);
+
struct v4l2_buffers_pool *vo_get_pool(struct videoout *vo);
int vo_dequeue_buffer(struct videoout *vo, struct v4l2_video_buffer *buffer);
int vo_queue_buffer(struct videoout *vo, struct v4l2_video_buffer *buffer);