Lines Matching refs:buf
162 void* buf; in LoadTexData() local
166 buf = MEMAllocFromAllocator( &DemoAllocator1, OSRoundUp32B( fileInfo.length ) ); in LoadTexData()
167 DVDRead( &fileInfo, buf, (s32)OSRoundUp32B( fileInfo.length ), 0 ); in LoadTexData()
170 return buf; in LoadTexData()
186 void* buf; in LoadTexDataRL() local
191 buf = LoadTexData( path ); in LoadTexDataRL()
194 uncompSize = CXGetUncompressedSize( buf ); in LoadTexDataRL()
198 CXUncompressRL( buf, uncompData ); in LoadTexDataRL()
202 MEMFreeToAllocator( &DemoAllocator1, buf ); in LoadTexDataRL()
220 void* buf; in LoadTexDataLZ() local
225 buf = LoadTexData( path ); in LoadTexDataLZ()
228 uncompSize = CXGetUncompressedSize( buf ); in LoadTexDataLZ()
232 CXUncompressLZ( buf, uncompData ); in LoadTexDataLZ()
236 MEMFreeToAllocator( &DemoAllocator1, buf ); in LoadTexDataLZ()
254 void* buf; in LoadTexDataHuff() local
259 buf = LoadTexData( path ); in LoadTexDataHuff()
262 uncompSize = CXGetUncompressedSize( buf ); in LoadTexDataHuff()
266 CXUncompressHuffman( buf, uncompData ); in LoadTexDataHuff()
270 MEMFreeToAllocator( &DemoAllocator1, buf ); in LoadTexDataHuff()