summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c
diff options
context:
space:
mode:
authorhans@localhost.localdomain <hans@localhost.localdomain>2008-08-06 10:49:16 +0200
committerhans@localhost.localdomain <hans@localhost.localdomain>2008-08-06 10:49:16 +0200
commitcfbd2d6622d7a75929f34972ca407acb4437d3d2 (patch)
treee909f6a9eb1513ea2f929f1db36722d4cc541e52 /v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c
parentefcc2c1bf27fed430cbff0603d9d09cb88d1fad4 (diff)
downloadmediapointer-dvb-s2-cfbd2d6622d7a75929f34972ca407acb4437d3d2.tar.gz
mediapointer-dvb-s2-cfbd2d6622d7a75929f34972ca407acb4437d3d2.tar.bz2
libv4l: Fix errors and warnings when compiling with ICC
From: Gregor Jasny <jasny@vidsoft.de> libv4l: Fix errors and warnings when compiling with ICC Priority: normal Signed-off-by: Gregor Jasny <jasny@vidsoft.de> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c')
-rw-r--r--v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c b/v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c
index 742dd06ce..883d62330 100644
--- a/v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c
+++ b/v4l2-apps/lib/libv4l/libv4lconvert/rgbyuv.c
@@ -20,6 +20,8 @@
*/
+#include "libv4lconvert-priv.h"
+
#define RGB2YUV(r,g,b,y,u,v) \
(y) = (( 8453*(r) + 16594*(g) + 3223*(b) + 524288) >> 15); \
(u) = (( -4878*(r) - 9578*(g) + 14456*(b) + 4210688) >> 15); \