| /RvlSDK-3.2.2/build/demos/cntdemo/src/ |
| D | cntdemo.c | 69 rv = CNTInitHandle(TARGET_CONTENT, &Cnt, &DemoAllocator1); in main() 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() 193 MEMFreeToAllocator(&DemoAllocator1, buffer1); in main() 194 MEMFreeToAllocator(&DemoAllocator1, buffer2); in main() 195 MEMFreeToAllocator(&DemoAllocator1, buffer3); in main()
|
| D | datatitledemo.c | 71 rv = CNTInitHandleTitle(DATA_TITLE_TITLEID, TARGET_CONTENT_DATA_TITLE, &Cnt, &DemoAllocator1); in main() 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() 195 MEMFreeToAllocator(&DemoAllocator1, buffer1); in main() 196 MEMFreeToAllocator(&DemoAllocator1, buffer2); in main() 197 MEMFreeToAllocator(&DemoAllocator1, buffer3); in main()
|
| D | strapcntdemo.c | 179 CNTInitHandle( TARGET_CONTENT, &Cnt, &DemoAllocator1 ); in main() 207 MEMFreeToAllocator( &DemoAllocator1, MyTplObj ); in main() 252 *buffer = (TPLPalettePtr)MEMAllocFromAllocator( &DemoAllocator1, OSRoundUp32B( fileSize ) ); in LoadSIContentData() 283 uncompData = (u8*)MEMAllocFromAllocator( &DemoAllocator1, uncompSize ); in LoadTexDataLZ() 290 MEMFreeToAllocator( &DemoAllocator1, buf ); in LoadTexDataLZ() 494 MEMFreeToAllocator( &DemoAllocator1, *buffer ); in AnimTick()
|
| /RvlSDK-3.2.2/include/ |
| D | demo.h | 71 extern MEMAllocator DemoAllocator1; // For MEM1 126 (*pal) = (TPLPalettePtr)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(dfi.length)); in TPLGetPalette() 138 MEMFreeToAllocator(&DemoAllocator1, *pal); in TPLReleasePalette()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/DisplayList/ |
| D | DL-tf-mtx.c | 186 PosMtxArrayBuf[0] = (Mtx*) MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx) * NUM_CONTOUR); in DrawInit() 187 PosMtxArrayBuf[1] = (Mtx*) MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx) * NUM_CONTOUR); in DrawInit() 188 NrmMtxArrayBuf[0] = (Mtx33*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx33) * NUM_CONTOUR); in DrawInit() 189 NrmMtxArrayBuf[1] = (Mtx33*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx33) * NUM_CONTOUR); in DrawInit() 190 TexMtxArrayBuf[0] = (Mtx24*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx24) * NUM_CONTOUR); in DrawInit() 191 TexMtxArrayBuf[1] = (Mtx24*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx24) * NUM_CONTOUR); in DrawInit() 383 ModelDLBuffer = MEMAllocFromAllocator(&DemoAllocator1, DL_BUFSIZE); in BuildModelDL()
|
| D | DL-geom.c | 214 tmpDL = MEMAllocFromAllocator(&DemoAllocator1, TMP_SIZE); in DrawInit() 221 cubeDL = MEMAllocFromAllocator(&DemoAllocator1, cubeSize); in DrawInit() 253 sphereDL = MEMAllocFromAllocator(&DemoAllocator1, sphereSize); in DrawInit() 289 listDL[i] = MEMAllocFromAllocator(&DemoAllocator1, listSize[i]); in DrawInit()
|
| /RvlSDK-3.2.2/build/libraries/demo/src/ |
| D | DEMOInit.c | 85 MEMAllocator DemoAllocator1; variable 284 MEMInitAllocatorForExpHeap(&DemoAllocator1, heapHandle, 32); in DEMOConfigureMem() 334 MEMInitAllocatorForOSHeap(&DemoAllocator1, heapHandle); in DEMOConfigureMem()
|
| D | DEMOPuts.c | 170 extern MEMAllocator DemoAllocator1; 449 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_SJIS); in DEMOInitROMFont() 459 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_ANSI); in DEMOInitROMFont() 469 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_UTF); in DEMOInitROMFont()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Tev/ |
| D | tev-complex.c | 384 …sc->mtConfig->texMapArray = (GXTexObj*)MEMAllocFromAllocator(&DemoAllocator1, nt * sizeof(GXTexObj… in DrawInit() 505 MEMFreeToAllocator(&DemoAllocator1, mo->posArray); in CreateModel() 507 MEMFreeToAllocator(&DemoAllocator1, mo->nrmArray); in CreateModel() 509 MEMFreeToAllocator(&DemoAllocator1, mo->tcdArray); in CreateModel() 515 mo->posArray = (s16*)MEMAllocFromAllocator(&DemoAllocator1, size_p * sizeof(s16)); in CreateModel() 516 mo->nrmArray = (s16*)MEMAllocFromAllocator(&DemoAllocator1, size_n * sizeof(s16)); in CreateModel() 517 mo->tcdArray = (s16*)MEMAllocFromAllocator(&DemoAllocator1, size_t * sizeof(s16)); in CreateModel()
|
| D | tev-outline.c | 175 alphaBuffer = MEMAllocFromAllocator(&DemoAllocator1, screen_wd*screen_ht*sizeof(u16)); in DrawCartoonOutline() 500 myDisplayList = MEMAllocFromAllocator(&DemoAllocator1, MYDLBUFSIZE); in myCreateModel()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Texture/ |
| D | tex-tlut.c | 553 MEMFreeToAllocator(&DemoAllocator1, to->data); in CreateColorMapTexture() 561 to->data = MEMAllocFromAllocator(&DemoAllocator1, bufferSize); in CreateColorMapTexture() 634 MEMFreeToAllocator(&DemoAllocator1, to->data); in CreateSampleImgTexture() 642 to->data = MEMAllocFromAllocator(&DemoAllocator1, bufferSize); in CreateSampleImgTexture() 849 MEMFreeToAllocator(&DemoAllocator1, cmo->tlutBuffer); in LoadColorMap() 851 cmo->tlutBuffer = (u16*)MEMAllocFromAllocator(&DemoAllocator1, ciSize * sizeof(u16)); in LoadColorMap()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Indirect/ |
| D | ind-bump-st.c | 318 …lightMap = MEMAllocFromAllocator(&DemoAllocator1, GXGetTexBufferSize(TW, TH, LIT_TEX_FMT, FALSE, 0… in bumpMapSetup() 358 donutData = MEMAllocFromAllocator(&DemoAllocator1, size); in bumpMapSetup() 366 MEMFreeToAllocator(&DemoAllocator1, lightMap); in bumpMapSetdown() 367 MEMFreeToAllocator(&DemoAllocator1, donutData); in bumpMapSetdown()
|
| D | ind-pseudo-3d.c | 304 …indMap = MEMAllocFromAllocator(&DemoAllocator1, GXGetTexBufferSize(IMW, IMH, GX_TF_IA4, FALSE, 0)); in textureMapSetup() 350 MEMFreeToAllocator(&DemoAllocator1, indMap); in textureMapSetdown()
|
| /RvlSDK-3.2.2/build/demos/cxdemo/src/ |
| D | cx_uncompress.c | 126 return MEMAllocFromAllocator( &DemoAllocator1, size ); in DEMOAlloc() 135 MEMFreeToAllocator( &DemoAllocator1, mem ); in DEMOFree()
|
| D | cx_uncompress_stream.c | 120 return MEMAllocFromAllocator( &DemoAllocator1, size ); in DEMOAlloc() 129 MEMFreeToAllocator( &DemoAllocator1, mem ); in DEMOFree()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Management/ |
| D | mgt-fifo-brkpt.c | 293 GXInitFifoBase( fifo, MEMAllocFromAllocator(&DemoAllocator1, BIG_FIFO_SIZE), BIG_FIFO_SIZE ); in FifoInit()
|
| D | mgt-fifo-dual.c | 203 GXInitFifoBase( &Fifo[1], MEMAllocFromAllocator(&DemoAllocator1, FIFO_SIZE), FIFO_SIZE ); in FifoInit()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Framebuffer/ |
| D | frb-zcopy.c | 233 sc->cTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit() 241 sc->zTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Lighting/ |
| D | lit-tx-alpha.c | 219 sc->panel.posArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit() 221 sc->panel.normArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit()
|
| D | lit-spot.c | 273 sc->panel.posArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit() 275 sc->panel.normArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/TexGen/ |
| D | tg-parabolicmap.c | 131 tex_buffer = (void*)MEMAllocFromAllocator(&DemoAllocator1, in DrawInit()
|
| D | tg-spheremap.c | 137 tex_buffer = (void*)MEMAllocFromAllocator(&DemoAllocator1, in DrawInit()
|
| D | tg-shadow3.c | 378 sc->shadowTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit() 1419 data = (u8*)MEMAllocFromAllocator(&DemoAllocator1, size); in CreateRampTex8() 1466 data = (u16*)MEMAllocFromAllocator(&DemoAllocator1, size); in CreateRampTex16()
|
| D | spheremap.c | 101 *display_list = (void *)MEMAllocFromAllocator(&DemoAllocator1, dl_sz); in genMapSphere()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/ |
| D | pix-sub.c | 261 sc->shadowTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit() 290 MEMFreeToAllocator(&DemoAllocator1, sc->shadowTexData); in DrawShutDown()
|