| /RvlSDK-2.1/build/demos/arcdemo/src/ |
| D | arctest2.c | 119 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead() 123 if (OSRoundUp32B(length) != in chdirOpenAllocRead() 124 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), in chdirOpenAllocRead() 133 if (OSRoundUp32B(length) != in chdirOpenAllocRead() 134 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), 0)) in chdirOpenAllocRead() 177 length = OSRoundUp32B(DVDGetLength(&finfo)); in Read() 186 length = OSRoundUp32B(header.fileStart); in Read() 298 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| D | arctest1.c | 117 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead() 119 if (OSRoundUp32B(length) != DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), 0)) in chdirOpenAllocRead() 162 length = OSRoundUp32B(DVDGetLength(&finfo)); in Read() 164 buf = OSAlloc(OSRoundUp32B(length)); in Read() 275 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| D | arctest3.c | 142 length = OSRoundUp32B(DVDGetLength(&finfo)); in Read() 144 buf = OSAlloc(OSRoundUp32B(length)); in Read() 213 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| /RvlSDK-2.1/build/demos/dvddemo/src/ |
| D | dvddemo3.c | 156 buffer1 = (u8*)OSAlloc(OSRoundUp32B(fileSize1)); in main() 157 buffer2 = (u8*)OSAlloc(OSRoundUp32B(fileSize2)); in main() 160 (s32)OSRoundUp32B(fileSize1), 0, callback)) in main() 168 (s32)OSRoundUp32B(fileSize2), 0, callback)) in main() 262 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| D | dvddemo1.c | 108 buffer = (u8*)OSAlloc(OSRoundUp32B(fileSize)); in main() 111 if (0 > DVDRead(&fileInfo, (void*)buffer, (s32)OSRoundUp32B(fileSize), 0)) in main() 163 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| D | dvddemo2.c | 140 buffer = (u8*)OSAlloc(OSRoundUp32B(fileSize)); in main() 145 (s32)OSRoundUp32B(fileSize), 0, callback)) in main() 214 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| D | dvdfatal.c | 56 if (0 > DVDRead(&fileInfo, OSGetArenaLo(), (s32)OSRoundUp32B(fileSize), 0)) in main()
|
| /RvlSDK-2.1/build/demos/videmo/src/ |
| D | viewer.c | 189 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in readConvertBmp() 195 if (OSRoundUp32B(length) != in readConvertBmp() 196 DVDRead(&finfo, buf, (s32)OSRoundUp32B(length), 0)) in readConvertBmp() 298 if( NULL == (fn = OSAlloc(OSRoundUp32B(fnlength))) ) in idle() 333 if (OSRoundUp32B(length) != in idle() 334 DVDRead(&finfo, ip->image, (s32)OSRoundUp32B(length), 0)) in idle() 555 xfb1 = (u8*)OSRoundUp32B(arenaLo); in MyOSInit() 556 xfb2 = (u8*)OSRoundUp32B(arenaLo) in MyOSInit() 566 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| D | color.c | 136 xfb1 = (u8*)OSRoundUp32B(arenaLo); in allocateFB() 137 xfb2 = (u8*)OSRoundUp32B(xfb1 + fbSize); in allocateFB()
|
| D | moving.c | 95 xfbA = (u8*)OSRoundUp32B(arenaLo); in allocateFB() 96 xfbB = (u8*)OSRoundUp32B(xfbA + fbSize); in allocateFB()
|
| D | moving.progressive.c | 94 xfbA = (u8*)OSRoundUp32B(arenaLo); in allocateFB() 95 xfbB = (u8*)OSRoundUp32B(xfbA + fbSize); in allocateFB()
|
| D | moving.30Hz.c | 96 xfbA = (u8*)OSRoundUp32B(arenaLo); in allocateFB() 97 xfbB = (u8*)OSRoundUp32B(xfbA + fbSize); in allocateFB()
|
| /RvlSDK-2.1/build/demos/reldemo/src/ |
| D | static.c | 120 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in Load() 130 bss = (u8*) OSRoundUp32B(bss); in Load() 133 OSSetArenaLo((void*) OSRoundUp32B(bss + module->bssSize)); in Load() 168 length = OSRoundUp32B(DVDGetLength(&fileInfo)); in main()
|
| /RvlSDK-2.1/build/libraries/gd/src/ |
| D | GDFile.c | 51 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro 52 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) 216 padBytes = OSRoundUp32B(offset) - offset; in GDWriteDLFile() 327 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile() 430 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile() 437 if (OSRoundUp32B(length) != in GDReadDLFile() 438 DVDRead(&finfo, buf, (s32)OSRoundUp32B(length), 0)) in GDReadDLFile()
|
| /RvlSDK-2.1/build/libraries/demo/src/ |
| D | DEMOInit.c | 225 DemoFifoBuffer = (void*)OSRoundUp32B((u32)arenaLo); in DEMOConfigureMem() 226 DemoFrameBuffer1 = (void*)OSRoundUp32B((u32)DemoFifoBuffer + DEFAULT_FIFO_SIZE); in DEMOConfigureMem() 227 DemoFrameBuffer2 = (void*)OSRoundUp32B((u32)DemoFrameBuffer1 + fbSize); in DEMOConfigureMem() 229 arenaLo = (void*)OSRoundUp32B((u32)DemoFrameBuffer2 + fbSize); in DEMOConfigureMem() 278 arenaLo = (void*)OSRoundUp32B(arenaLo); in DEMOConfigureMem()
|
| /RvlSDK-2.1/build/demos/gddemo/src/ |
| D | gd-matrix-host.c | 45 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro 46 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
|
| D | gd-init-host.c | 46 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro 47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
|
| D | gd-texture-host.c | 46 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro 47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
|
| D | gd-matrix-create.c | 42 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro 43 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
|
| /RvlSDK-2.1/include/ |
| D | demo.h | 103 (*pal) = (TPLPalettePtr)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(dfi.length)); in TPLGetPalette() 104 (void)DVDRead(&dfi, (*pal), (s32)OSRoundUp32B(dfi.length), 0); in TPLGetPalette()
|
| /RvlSDK-2.1/build/demos/thpdemo/src/THPPlayerStrmAX/ |
| D | THPPlayer.c | 367 size = OSRoundUp32B(ActivePlayer.header.movieDataSize); in THPPlayerCalcNeedMemory() 371 size = OSRoundUp32B(ActivePlayer.header.bufSize) * READ_BUFFER_NUM; in THPPlayerCalcNeedMemory() 375 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize) in THPPlayerCalcNeedMemory() 377 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4) in THPPlayerCalcNeedMemory() 379 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4) in THPPlayerCalcNeedMemory() 385 … size += (OSRoundUp32B(ActivePlayer.header.audioMaxSamples * 4) * DECODE_AUDIO_BUFFER_NUM); in THPPlayerCalcNeedMemory() 386 … size += (OSRoundUp32B(STREAM_BUFFER_MS * ActivePlayer.audioInfo.sndFrequency / 1000.0f + 0.5f) * 2 in THPPlayerCalcNeedMemory() 431 ptr += OSRoundUp32B(ActivePlayer.header.bufSize); in THPPlayerSetBuffer() 435 ysize = OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize); in THPPlayerSetBuffer() 436 uvsize = OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4); in THPPlayerSetBuffer() [all …]
|
| /RvlSDK-2.1/build/demos/cxdemo/src/ |
| D | cx_uncompress_stream.c | 162 buf = MEMAllocFromAllocator( &DemoAllocator1, OSRoundUp32B( fileInfo.length ) ); in LoadTexData() 163 DVDRead( &fileInfo, buf, (s32)OSRoundUp32B( fileInfo.length ), 0 ); in LoadTexData() 209 len[ nextIdx ] = OSRoundUp32B( fileInfo.length - offset ); in LoadTexDataRL() 276 len[ nextIdx ] = OSRoundUp32B( fileInfo.length - offset ); in LoadTexDataLZ() 343 len[ nextIdx ] = OSRoundUp32B( fileInfo.length - offset ); in LoadTexDataHuff()
|
| /RvlSDK-2.1/build/demos/thpdemo/src/THPPlayer/ |
| D | THPPlayer.c | 404 size = OSRoundUp32B(ActivePlayer.header.movieDataSize); in THPPlayerCalcNeedMemory() 408 size = OSRoundUp32B(ActivePlayer.header.bufSize) * READ_BUFFER_NUM; in THPPlayerCalcNeedMemory() 412 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize) in THPPlayerCalcNeedMemory() 414 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4) in THPPlayerCalcNeedMemory() 416 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4) in THPPlayerCalcNeedMemory() 422 … size += (OSRoundUp32B(ActivePlayer.header.audioMaxSamples * 4) * DECODE_AUDIO_BUFFER_NUM); in THPPlayerCalcNeedMemory() 466 ptr += OSRoundUp32B(ActivePlayer.header.bufSize); in THPPlayerSetBuffer() 470 ysize = OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize); in THPPlayerSetBuffer() 471 uvsize = OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4); in THPPlayerSetBuffer() 495 ptr += OSRoundUp32B(ActivePlayer.header.audioMaxSamples * 4); in THPPlayerSetBuffer()
|
| /RvlSDK-2.1/build/demos/thpdemo/src/THPSimple/ |
| D | THPSimple.c | 409 size = OSRoundUp32B(SimpleControl.header.bufSize) * READ_BUFFER_NUM; in THPSimpleCalcNeedMemory() 412 size += OSRoundUp32B(SimpleControl.videoInfo.xSize * SimpleControl.videoInfo.ySize); //Y in THPSimpleCalcNeedMemory() 413 size += OSRoundUp32B(SimpleControl.videoInfo.xSize * SimpleControl.videoInfo.ySize / 4); //U in THPSimpleCalcNeedMemory() 414 size += OSRoundUp32B(SimpleControl.videoInfo.xSize * SimpleControl.videoInfo.ySize / 4); //V in THPSimpleCalcNeedMemory() 419 size += (OSRoundUp32B(SimpleControl.header.audioMaxSamples * 4) * AUDIO_BUFFER_NUM); in THPSimpleCalcNeedMemory() 457 ysize = OSRoundUp32B(SimpleControl.videoInfo.xSize * SimpleControl.videoInfo.ySize); in THPSimpleSetBuffer() 458 uvsize = OSRoundUp32B(SimpleControl.videoInfo.xSize * SimpleControl.videoInfo.ySize / 4); in THPSimpleSetBuffer() 477 ptr += OSRoundUp32B(SimpleControl.header.bufSize); in THPSimpleSetBuffer() 489 ptr += OSRoundUp32B(SimpleControl.header.audioMaxSamples * 4); in THPSimpleSetBuffer()
|
| /RvlSDK-2.1/build/demos/osdemo/src/ |
| D | allocdemo2-oneheap.c | 64 TheHeap = OSCreateHeap((void*)OSRoundUp32B(arenaLo), in main()
|