summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxglib/nxglib_rgb2yuv.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-26 15:48:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-26 15:48:48 +0000
commit6cb770cd9199cd3a16a432571e1dcd06fcc51c22 (patch)
tree823701aee66d086d9579b0b9992195077e700690 /nuttx/graphics/nxglib/nxglib_rgb2yuv.c
parentee438548a33bafc438ec1d1904b6a24b3da20fcf (diff)
downloadpx4-nuttx-6cb770cd9199cd3a16a432571e1dcd06fcc51c22.tar.gz
px4-nuttx-6cb770cd9199cd3a16a432571e1dcd06fcc51c22.tar.bz2
px4-nuttx-6cb770cd9199cd3a16a432571e1dcd06fcc51c22.zip
Added nxglib.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1309 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxglib/nxglib_rgb2yuv.c')
-rw-r--r--nuttx/graphics/nxglib/nxglib_rgb2yuv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/graphics/nxglib/nxglib_rgb2yuv.c b/nuttx/graphics/nxglib/nxglib_rgb2yuv.c
index e76cf98c2..fca2082e2 100644
--- a/nuttx/graphics/nxglib/nxglib_rgb2yuv.c
+++ b/nuttx/graphics/nxglib/nxglib_rgb2yuv.c
@@ -41,9 +41,10 @@
#include <sys/types.h>
#include <debug.h>
-
#include <fixedmath.h>
+#include <nuttx/nxglib.h>
+
/****************************************************************************
* Pre-Processor Definitions
****************************************************************************/
@@ -79,7 +80,7 @@
****************************************************************************/
/****************************************************************************
- * Name: nxglib_rgb2yuv
+ * Name: nxgl_rgb2yuv
*
* Description:
* Convert 8-bit RGB triplet to 8-bit YUV triplet
@@ -87,7 +88,7 @@
*
****************************************************************************/
-void nxglib_rgb2yuv(ubyte r, ubyte g, ubyte b, ubyte *y, ubyte *u, ubyte *v)
+void nxgl_rgb2yuv(ubyte r, ubyte g, ubyte b, ubyte *y, ubyte *u, ubyte *v)
{
/* Per the JFIF specification:
*