mirror of
https://github.com/apache/nuttx.git
synced 2026-08-26 11:50:50 +00:00
Added nxglib.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1309 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
ed5a3e4b18
commit
c4f3dbe870
1 changed files with 2 additions and 1 deletions
|
|
@ -46,6 +46,7 @@
|
|||
#include <debug.h>
|
||||
|
||||
#include <nuttx/fb.h>
|
||||
#include <nuttx/nxglib.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "dm320_memorymap.h"
|
||||
|
|
@ -1201,7 +1202,7 @@ static int dm320_putcmap(FAR struct fb_vtable_s *vtable, FAR struct fb_cmap_s *c
|
|||
{
|
||||
/* Convert the RGB to YUV */
|
||||
|
||||
rgb2yuv(cmap->red[i], cmap->green[i], cmap->blue[i], &y, &u, &v);
|
||||
nxgl_rgb2yuv(cmap->red[i], cmap->green[i], cmap->blue[i], &y, &u, &v);
|
||||
|
||||
/* Program the CLUT */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue