Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/
A DIMG_lbm.c86 Uint32 size, bytesloaded, nbcolors; in IMG_LoadLBM_RW() local
141 nbcolors = 0; in IMG_LoadLBM_RW()
198 nbcolors = size / 3; in IMG_LoadLBM_RW()
262 if ( nbcolors>0 && flagHAM==0 ) in IMG_LoadLBM_RW()
268 for ( i=0; i<nbcolors; i++ ) in IMG_LoadLBM_RW()
280 if ( (nbcolors==32 || flagEHB ) && (1<<nbplanes)==64 ) in IMG_LoadLBM_RW()
282 nbcolors = 64; in IMG_LoadLBM_RW()
297 for ( i=nbcolors; i < (Uint32)nbrcolorsfinal; i++ ) in IMG_LoadLBM_RW()
299 Image->format->palette->colors[i].r = Image->format->palette->colors[i%nbcolors].r; in IMG_LoadLBM_RW()
300 Image->format->palette->colors[i].g = Image->format->palette->colors[i%nbcolors].g; in IMG_LoadLBM_RW()
[all …]

Completed in 6 milliseconds