DMA2D_Color2IndexBulk() is only used within STemWin_HelloWorld.
 
Symbols
loading...
Files
loading...

DMA2D_Color2IndexBulk() function

This routine is used by the STemWin color conversion routines to use DMA2D for color conversion. It converts the given 32 bit color array to index values. Because STemWin uses ABGR internally and 0x00 and 0xFF for opaque and fully transparent the given color array needs to be converted before DMA2D can be used.

Syntax

static void DMA2D_Color2IndexBulk(LCD_COLOR * pColor,     void * pIndex,     uint32_t NumItems,     U8 SizeOfIndex,     uint32_t PixelFormat);
Implemented in LCDConf_stm324x9i_eval_MB1046.c:1173

Arguments

pColor

pIndex

NumItems

SizeOfIndex

PixelFormat

Return value

None

Call Tree

Functions calling DMA2D_Color2IndexBulk()
Functions called by DMA2D_Color2IndexBulk()
DMA2D_Color2IndexBulk()