diff options
Diffstat (limited to 'nuttx/graphics/nxglib/nxglib_rgb2yuv.c')
-rw-r--r-- | nuttx/graphics/nxglib/nxglib_rgb2yuv.c | 7 |
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: * |