| /RvlSDK-3.2.2/build/demos/cntdemo/src/ |
| D | cntdemo.c | 111 buffer1 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize1)); in main() 112 buffer2 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize2)); in main() 113 buffer3 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize3)); in main() 116 rv = CNTRead(&fileInfo1, (void*)buffer1, (u32)OSRoundUp32B(fileSize1)); in main() 119 if (rv < 0 || rv != (u32)OSRoundUp32B(fileSize1)) in main() 126 rv = CNTRead(&fileInfo2, (void*)buffer2, (u32)OSRoundUp32B(fileSize2)); in main() 128 if (rv < 0 || rv != (u32)OSRoundUp32B(fileSize2)) in main() 141 rv = CNTRead(&fileInfo3, (void*)buffer3, (u32)OSRoundUp32B(fileSize3)); in main()
|
| D | datatitledemo.c | 113 buffer1 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize1)); in main() 114 buffer2 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize2)); in main() 115 buffer3 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize3)); in main() 118 rv = CNTRead(&fileInfo1, (void*)buffer1, (u32)OSRoundUp32B(fileSize1)); in main() 121 if (rv < 0 || rv != (u32)OSRoundUp32B(fileSize1)) in main() 128 rv = CNTRead(&fileInfo2, (void*)buffer2, (u32)OSRoundUp32B(fileSize2)); in main() 130 if (rv < 0 || rv != (u32)OSRoundUp32B(fileSize2)) in main() 143 rv = CNTRead(&fileInfo3, (void*)buffer3, (u32)OSRoundUp32B(fileSize3)); in main()
|
| /RvlSDK-3.2.2/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-3.2.2/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()
|
| /RvlSDK-3.2.2/build/demos/darchdemo/src/ |
| D | darchdemo.c | 98 … darchFileInfo->fileStart = OSAllocFromMEM2ArenaLo(OSRoundUp32B(DVDGetLength(&dvdFileInfo)), 32); in GetFileInfo() 101 … if(!DVDRead(&dvdFileInfo, darchFileInfo->fileStart, (s32)OSRoundUp32B(darchFileInfo->length), 0)) in GetFileInfo() 140 cmpBuffer = OSAllocFromMEM2ArenaLo(OSRoundUp32B(cmpSize), 32); in CompTest() 142 if(!DVDRead(&dvdFileInfo, cmpBuffer, (s32)OSRoundUp32B(cmpSize), 0)) in CompTest()
|
| /RvlSDK-3.2.2/build/demos/videmo/src/ |
| D | viewer.c | 192 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in readConvertBmp() 198 if (OSRoundUp32B(length) != in readConvertBmp() 199 DVDRead(&finfo, buf, (s32)OSRoundUp32B(length), 0)) in readConvertBmp() 301 if( NULL == (fn = OSAlloc(OSRoundUp32B(fnlength))) ) in idle() 336 if (OSRoundUp32B(length) != in idle() 337 DVDRead(&finfo, ip->image, (s32)OSRoundUp32B(length), 0)) in idle() 558 xfb1 = (u8*)OSRoundUp32B(arenaLo); in MyOSInit() 559 xfb2 = (u8*)OSRoundUp32B(arenaLo) in MyOSInit() 569 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
|
| D | color.c | 132 xfb1 = (u8*)OSRoundUp32B(arenaLo); in allocateFB() 133 xfb2 = (u8*)OSRoundUp32B(xfb1 + fbSize); in allocateFB()
|
| D | moving.c | 94 xfbA = (u8*)OSRoundUp32B(arenaLo); in allocateFB() 95 xfbB = (u8*)OSRoundUp32B(xfbA + fbSize); in allocateFB()
|
| /RvlSDK-3.2.2/build/libraries/demo/src/ |
| D | DEMOInit.c | 231 DemoFifoBuffer = (void*)OSRoundUp32B((u32)arenaLo); in DEMOConfigureMem() 232 arenaLo = (void*)OSRoundUp32B((u32)DemoFifoBuffer + DEFAULT_FIFO_SIZE); in DEMOConfigureMem() 247 DemoFrameBuffer1 = (void*)OSRoundUp32B((u32)arenaLo); in DEMOConfigureMem() 248 DemoFrameBuffer2 = (void*)OSRoundUp32B((u32)DemoFrameBuffer1 + fbSize); in DEMOConfigureMem() 249 arenaLo = (void*)OSRoundUp32B((u32)DemoFrameBuffer2 + fbSize); in DEMOConfigureMem() 320 arenaLo = (void*)OSRoundUp32B(arenaLo); in DEMOConfigureMem()
|
| /RvlSDK-3.2.2/build/demos/rsodemo/LinkListFixed0/src/ |
| D | static.c | 52 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoadFixed() 66 bss = (u8*) OSRoundUp32B(bss); in RsoLoadFixed() 69 new_arenaLo = OSRoundUp32B(new_arenaLo); in RsoLoadFixed() 101 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in StaticRsoLoad()
|
| /RvlSDK-3.2.2/build/libraries/gd/src/ |
| D | GDFile.c | 57 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro 58 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) 225 padBytes = OSRoundUp32B(offset) - offset; in GDWriteDLFile() 339 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile() 442 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile() 449 if (OSRoundUp32B(length) != in GDReadDLFile() 450 DVDRead(&finfo, buf, (s32)OSRoundUp32B(length), 0)) in GDReadDLFile()
|
| /RvlSDK-3.2.2/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)))
|
| /RvlSDK-3.2.2/include/ |
| D | demo.h | 126 (*pal) = (TPLPalettePtr)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(dfi.length)); in TPLGetPalette() 127 (void)DVDRead(&dfi, (*pal), (s32)OSRoundUp32B(dfi.length), 0); in TPLGetPalette()
|
| /RvlSDK-3.2.2/build/demos/rsodemo/LinkMem2/src/ |
| D | static.c | 51 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoad() 79 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoadMem2() 106 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in StaticRsoLoad()
|
| /RvlSDK-3.2.2/build/demos/thpdemo/src/THPPlayerStrmAX/ |
| D | THPPlayer.c | 356 size = OSRoundUp32B(ActivePlayer.header.movieDataSize); in THPPlayerCalcNeedMemory() 360 size = OSRoundUp32B(ActivePlayer.header.bufSize) * READ_BUFFER_NUM; in THPPlayerCalcNeedMemory() 364 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize) in THPPlayerCalcNeedMemory() 366 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4) in THPPlayerCalcNeedMemory() 368 size += OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4) in THPPlayerCalcNeedMemory() 374 … size += (OSRoundUp32B(ActivePlayer.header.audioMaxSamples * 4) * DECODE_AUDIO_BUFFER_NUM); in THPPlayerCalcNeedMemory() 375 … size += (OSRoundUp32B(STREAM_BUFFER_MS * ActivePlayer.audioInfo.sndFrequency / 1000.0f + 0.5f) * 2 in THPPlayerCalcNeedMemory() 420 ptr += OSRoundUp32B(ActivePlayer.header.bufSize); in THPPlayerSetBuffer() 424 ysize = OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize); in THPPlayerSetBuffer() 425 uvsize = OSRoundUp32B(ActivePlayer.videoInfo.xSize * ActivePlayer.videoInfo.ySize / 4); in THPPlayerSetBuffer() [all …]
|
| /RvlSDK-3.2.2/build/demos/reldemo/src/ |
| D | static.c | 127 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in Load() 150 OSSetArenaLo((void*) OSRoundUp32B(bss + module->bssSize)); in Load() 186 length = OSRoundUp32B(DVDGetLength(&fileInfo)); in main()
|
| /RvlSDK-3.2.2/build/demos/rsodemo/MakeInc/src/ |
| D | static.c | 63 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoad() 90 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in StaticRsoLoad()
|
| /RvlSDK-3.2.2/build/demos/rsodemo/LinkJump/src/ |
| D | static.c | 72 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoad() 100 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoadMem2() 128 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in StaticRsoLoad()
|
| /RvlSDK-3.2.2/build/demos/rsodemo/LinkFar/src/ |
| D | static.c | 121 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoad() 149 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in RsoLoadMem2() 176 length = (s32) OSRoundUp32B(DVDGetLength(&fileInfo)); in StaticRsoLoad()
|