Home
last modified time | relevance | path

Searched refs:NPlanes (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/
A DIMG_pcx.c51 Uint8 NPlanes; member
127 printf("NPlanes = %d\n", pcxh.NPlanes); in IMG_LoadPCX_RW()
138 src_bits = pcxh.BitsPerPixel * pcxh.NPlanes; in IMG_LoadPCX_RW()
139 if((pcxh.BitsPerPixel == 1 && pcxh.NPlanes >= 1 && pcxh.NPlanes <= 4) in IMG_LoadPCX_RW()
140 || (pcxh.BitsPerPixel == 8 && pcxh.NPlanes == 1)) { in IMG_LoadPCX_RW()
142 } else if(pcxh.BitsPerPixel == 8 && pcxh.NPlanes == 3) { in IMG_LoadPCX_RW()
163 bpl = pcxh.NPlanes * pcxh.BytesPerLine; in IMG_LoadPCX_RW()
204 for ( plane = 0; plane < pcxh.NPlanes; plane++ ) { in IMG_LoadPCX_RW()
224 for ( plane = 0; plane < pcxh.NPlanes; plane++ ) { in IMG_LoadPCX_RW()
233 dst += pcxh.NPlanes; in IMG_LoadPCX_RW()

Completed in 3 milliseconds