summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h
diff options
context:
space:
mode:
authorhans@localhost.localdomain <hans@localhost.localdomain>2008-08-03 17:15:12 +0200
committerhans@localhost.localdomain <hans@localhost.localdomain>2008-08-03 17:15:12 +0200
commit6d0c45027f9fe1891269de296adab0af9a21d214 (patch)
tree81acfd835ece236fc4cd124c44d04455247a6be8 /v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h
parentb373ec3cc6f05fec60f972d8b42ddcd0f2d1c29a (diff)
downloadmediapointer-dvb-s2-6d0c45027f9fe1891269de296adab0af9a21d214.tar.gz
mediapointer-dvb-s2-6d0c45027f9fe1891269de296adab0af9a21d214.tar.bz2
libv4l: add rgb24 <-> bgr24 conversion
From: Hans de Goede <j.w.r.degoede@hhs.nl> libv4l: add rgb24 <-> bgr24 conversion Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h')
-rw-r--r--v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h b/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h
index a85121cad..bdf847186 100644
--- a/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h
+++ b/v4l2-apps/lib/libv4l/libv4lconvert/libv4lconvert-priv.h
@@ -77,6 +77,9 @@ void v4lconvert_yuv420_to_rgb24(const unsigned char *src, unsigned char *dst,
void v4lconvert_yuv420_to_bgr24(const unsigned char *src, unsigned char *dst,
int width, int height);
+void v4lconvert_swap_rgb(const unsigned char *src, unsigned char *dst,
+ int width, int height);
+
void v4lconvert_spca501_to_yuv420(const unsigned char *src, unsigned char *dst,
int width, int height);