Home
last modified time | relevance | path

Searched refs:OSRoundUp32B (Results 1 – 25 of 65) sorted by relevance

123

/RvlSDK-2.1/build/demos/arcdemo/src/
Darctest2.c119 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()
Darctest1.c117 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()
Darctest3.c142 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/
Ddvddemo3.c156 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()
Ddvddemo1.c108 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()
Ddvddemo2.c140 buffer = (u8*)OSAlloc(OSRoundUp32B(fileSize)); in main()
145 (s32)OSRoundUp32B(fileSize), 0, callback)) in main()
214 OSSetCurrentHeap(OSCreateHeap((void*)OSRoundUp32B(arenaLo), in MyOSInit()
Ddvdfatal.c56 if (0 > DVDRead(&fileInfo, OSGetArenaLo(), (s32)OSRoundUp32B(fileSize), 0)) in main()
/RvlSDK-2.1/build/demos/videmo/src/
Dviewer.c189 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()
Dcolor.c136 xfb1 = (u8*)OSRoundUp32B(arenaLo); in allocateFB()
137 xfb2 = (u8*)OSRoundUp32B(xfb1 + fbSize); in allocateFB()
Dmoving.c95 xfbA = (u8*)OSRoundUp32B(arenaLo); in allocateFB()
96 xfbB = (u8*)OSRoundUp32B(xfbA + fbSize); in allocateFB()
Dmoving.progressive.c94 xfbA = (u8*)OSRoundUp32B(arenaLo); in allocateFB()
95 xfbB = (u8*)OSRoundUp32B(xfbA + fbSize); in allocateFB()
Dmoving.30Hz.c96 xfbA = (u8*)OSRoundUp32B(arenaLo); in allocateFB()
97 xfbB = (u8*)OSRoundUp32B(xfbA + fbSize); in allocateFB()
/RvlSDK-2.1/build/demos/reldemo/src/
Dstatic.c120 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/
DGDFile.c51 #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/
DDEMOInit.c225 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/
Dgd-matrix-host.c45 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro
46 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
Dgd-init-host.c46 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro
47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
Dgd-texture-host.c46 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro
47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
Dgd-matrix-create.c42 #define OSRoundUp32B(x) (((u32)(x) + 31) & ~31) macro
43 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31)))
/RvlSDK-2.1/include/
Ddemo.h103 (*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/
DTHPPlayer.c367 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/
Dcx_uncompress_stream.c162 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/
DTHPPlayer.c404 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/
DTHPSimple.c409 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/
Dallocdemo2-oneheap.c64 TheHeap = OSCreateHeap((void*)OSRoundUp32B(arenaLo), in main()

123