Lines Matching refs:ciSize
529 u32 ciSize, bufferSize, ic; in CreateColorMapTexture() local
532 ciSize = 1u << ( cmo->tlutNumber + 4 ); in CreateColorMapTexture()
537 if ( to->width * to->height >= ciSize ) in CreateColorMapTexture()
541 if ( to->width * to->height >= ciSize ) in CreateColorMapTexture()
546 to->format = ( ciSize <= 16 ) ? GX_TF_C4 in CreateColorMapTexture()
547 : ( ciSize <= 256 ) ? GX_TF_C8 in CreateColorMapTexture()
570 ic = ( ic + 1 ) % ciSize; in CreateColorMapTexture()
617 u32 ciSize; in CreateSampleImgTexture() local
621 ciSize = 1u << ( cmo->tlutNumber + 4 ); in CreateSampleImgTexture()
627 to->format = ( ciSize <= 16 ) ? GX_TF_C4 in CreateSampleImgTexture()
628 : ( ciSize <= 256 ) ? GX_TF_C8 in CreateSampleImgTexture()
841 u32 i, offset, ciSize; in LoadColorMap() local
844 ciSize = 1u << ( cmo->tlutNumber + 4 ); in LoadColorMap()
851 cmo->tlutBuffer = (u16*)MEMAllocFromAllocator(&DemoAllocator1, ciSize * sizeof(u16)); in LoadColorMap()
889 if ( offset >= ciSize ) in LoadColorMap()
906 DCFlushRange(cmo->tlutBuffer, ciSize * sizeof(u16)); in LoadColorMap()
913 (u16)ciSize ); in LoadColorMap()