| /RvlSDK-3.2.2/build/demos/gddemo/src/ |
| D | gd-tev-host.c | 88 u8* ptr; in main() local 102 ptr = (u8*)RoundUp32B(buffer); in main() 108 dlists[index].ptr = (void*)ptr; in main() 109 ptr += SDL_SIZE_MAX; in main() 110 plists[index].ptr = (u32*)ptr; in main() 111 ptr += PL_SIZE_MAX * sizeof(u32); in main() 113 (*CreateShdDLFunc[i])(dlists[index].ptr, &dlists[index].byteLength, in main() 114 plists[index].ptr, &plists[index].byteLength); in main() 120 dlists[index].ptr = (void*)ptr; in main() 121 ptr += MDL_SIZE_MAX; in main() [all …]
|
| D | gd-indtex-host.c | 86 u8* ptr; in main() local 98 ptr = (u8*)RoundUp32B(buffer); in main() 104 dlists[index].ptr = (void*)ptr; in main() 105 ptr += EFFECTDL_SIZE_MAX; in main() 107 dlists[index].byteLength = (*CreateEffectDLFunc[i])(dlists[index].ptr); in main()
|
| D | gd-texture-host.c | 107 dlists[0].ptr = GDGetGDLObjStart(&InitDLO); in main() 110 dlists[1].ptr = GDGetGDLObjStart(&DrawDLO); in main() 113 plists[0].ptr = setArrayOffsets; in main() 116 plists[1].ptr = texAddrOffsets; in main() 119 plists[2].ptr = tlutAddrOffsets; in main()
|
| D | gd-init-host.c | 95 dlists[0].ptr = GDGetGDLObjStart(&InitDLO); in main() 98 dlists[1].ptr = GDGetGDLObjStart(&DrawDLO); in main() 101 plists[0].ptr = setArrayOffsets; in main()
|
| /RvlSDK-3.2.2/build/demos/thpdemo/src/THPPlayer/ |
| D | THPAudioDecode.c | 46 static void *AudioDecoder(void *ptr); 47 static void *AudioDecoderForOnMemory(void *ptr); 80 BOOL CreateAudioDecodeThread(OSPriority priority, u8 *ptr) in CreateAudioDecodeThread() argument 82 if (ptr) in CreateAudioDecodeThread() 86 ptr, in CreateAudioDecodeThread() 180 static void *AudioDecoder(void *ptr) in AudioDecoder() argument 182 #pragma unused(ptr) in AudioDecoder() 207 static void *AudioDecoderForOnMemory(void *ptr) in AudioDecoderForOnMemory() argument 213 readBuffer.ptr = (u8 *)ptr; in AudioDecoderForOnMemory() 231 size = *(s32 *)(readBuffer.ptr); in AudioDecoderForOnMemory() [all …]
|
| D | THPVideoDecode.c | 54 static void *VideoDecoder(void *ptr); 55 static void *VideoDecoderForOnMemory(void *ptr); 89 BOOL CreateVideoDecodeThread(OSPriority priority, u8 *ptr) in CreateVideoDecodeThread() argument 91 if (ptr) in CreateVideoDecodeThread() 95 ptr, in CreateVideoDecodeThread() 191 static void *VideoDecoder(void *ptr) in VideoDecoder() argument 193 #pragma unused(ptr) in VideoDecoder() 254 static void *VideoDecoderForOnMemory(void *ptr) in VideoDecoderForOnMemory() argument 261 readBuffer.ptr = (u8 *)ptr; in VideoDecoderForOnMemory() 285 size = *(s32 *)(readBuffer.ptr); in VideoDecoderForOnMemory() [all …]
|
| D | THPPlayer.c | 456 u8 *ptr; in THPPlayerSetBuffer() local 463 ptr = buffer; in THPPlayerSetBuffer() 468 ActivePlayer.movieData = ptr; in THPPlayerSetBuffer() 469 ptr += ActivePlayer.header.movieDataSize; in THPPlayerSetBuffer() 475 ActivePlayer.readBuffer[i].ptr = ptr; in THPPlayerSetBuffer() 476 ptr += OSRoundUp32B(ActivePlayer.header.bufSize); in THPPlayerSetBuffer() 486 ActivePlayer.textureSet[i].ytexture = ptr; in THPPlayerSetBuffer() 487 DCInvalidateRange(ptr, ysize); in THPPlayerSetBuffer() 488 ptr += ysize; in THPPlayerSetBuffer() 489 ActivePlayer.textureSet[i].utexture = ptr; in THPPlayerSetBuffer() [all …]
|
| /RvlSDK-3.2.2/build/libraries/demo/src/ |
| D | DEMOWin.c | 179 static void __DEMOWin_free (void *ptr); 190 void *ptr; in __DEMOWin_alloc() local 194 ptr = MEMAllocFromAllocator(__DEMOWin_memallocator_ptr, size); in __DEMOWin_alloc() 198 ptr = OSAlloc(size); in __DEMOWin_alloc() 201 return(ptr); in __DEMOWin_alloc() 212 static void __DEMOWin_free(void *ptr) in __DEMOWin_free() argument 217 MEMFreeToAllocator(__DEMOWin_memallocator_ptr, ptr); in __DEMOWin_free() 221 OSFree(ptr); in __DEMOWin_free() 699 DEMOWinInfo *ptr; in DEMOWinBringToFront() local 710 ptr = __first_node; in DEMOWinBringToFront() [all …]
|
| /RvlSDK-3.2.2/build/libraries/mem/include/ |
| D | heapCommoni.h | 51 #define RoundUpPtr( ptr, alignment ) \ argument 52 ( (void*)RoundUp(GetUIntPtr(ptr), (alignment)) ) 68 #define RoundDownPtr(ptr, alignment) \ argument 69 ( (void*)RoundDown(GetUIntPtr(ptr), (alignment)) ) 98 GetUIntPtr( const void* ptr ) in GetUIntPtr() argument 100 return (UIntPtr)(ptr); in GetUIntPtr() 112 AddU32ToPtr( void* ptr, u32 val ) in AddU32ToPtr() argument 114 return (void*)( GetUIntPtr(ptr) + val ); in AddU32ToPtr() 119 AddU32ToCPtr( const void* ptr, u32 val ) in AddU32ToCPtr() argument 121 return (const void*)( GetUIntPtr(ptr) + val ); in AddU32ToCPtr() [all …]
|
| /RvlSDK-3.2.2/build/demos/thpdemo/src/THPPlayerStrmAX/ |
| D | THPVideoDecode.c | 50 static void *VideoDecoder(void *ptr); 51 static void *VideoDecoderForOnMemory(void *ptr); 85 BOOL CreateVideoDecodeThread(OSPriority priority, u8 *ptr) in CreateVideoDecodeThread() argument 87 if (ptr) in CreateVideoDecodeThread() 91 ptr, in CreateVideoDecodeThread() 187 static void *VideoDecoder(void *ptr) in VideoDecoder() argument 189 #pragma unused(ptr) in VideoDecoder() 250 static void *VideoDecoderForOnMemory(void *ptr) in VideoDecoderForOnMemory() argument 257 readBuffer.ptr = (u8 *)ptr; in VideoDecoderForOnMemory() 281 size = *(s32 *)(readBuffer.ptr); in VideoDecoderForOnMemory() [all …]
|
| D | THPAudioDecode.c | 47 static void *AudioDecoder(void *ptr); 48 static void *AudioDecoderForOnMemory(void *ptr); 81 BOOL CreateAudioDecodeThread(OSPriority priority, u8 *ptr) in CreateAudioDecodeThread() argument 83 if (ptr) in CreateAudioDecodeThread() 87 ptr, in CreateAudioDecodeThread() 181 static void *AudioDecoder(void *ptr) in AudioDecoder() argument 183 #pragma unused(ptr) in AudioDecoder() 231 static void *AudioDecoderForOnMemory(void *ptr) in AudioDecoderForOnMemory() argument 237 readBuffer.ptr = (u8 *)ptr; in AudioDecoderForOnMemory() 255 size = *(s32 *)(readBuffer.ptr); in AudioDecoderForOnMemory() [all …]
|
| /RvlSDK-3.2.2/build/demos/wpaddemo/src/ |
| D | wpadsample.c | 166 static u8 myFree ( void *ptr ); 189 static void renderDots ( void *ptr ); 435 void *ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc() local 436 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc() 438 return(ptr); in myAlloc() 451 static u8 myFree( void *ptr ) in myFree() argument 453 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree() 870 u8 *ptr; in getDevName() local 874 case WPAD_DEV_CORE: ptr = &str_dev_core[0]; break; in getDevName() 875 case WPAD_DEV_FREESTYLE: ptr = &str_dev_extn[0]; break; in getDevName() [all …]
|
| D | dummy_checker.c | 77 static u8 myFree ( void *ptr ); 408 void *ptr; in myAlloc() local 410 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc() 411 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc() 413 return(ptr); in myAlloc() 423 static u8 myFree( void *ptr ) in myFree() argument 426 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree() 584 u8 *ptr; in get_dev_name() local 588 case WPAD_DEV_CORE: ptr = &str_dev_core[0]; break; in get_dev_name() 589 case WPAD_DEV_FREESTYLE: ptr = &str_dev_extn[0]; break; in get_dev_name() [all …]
|
| D | sync.c | 54 u8 myFree ( void *ptr ); 78 void *ptr; in myAlloc() local 80 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc() 81 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc() 83 return(ptr); in myAlloc() 92 u8 myFree( void *ptr ) in myFree() argument 94 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()
|
| D | memory.c | 71 u8 myFree ( void *ptr ); 81 void *ptr; in myAlloc() local 83 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc() 84 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc() 86 return(ptr); in myAlloc() 95 u8 myFree( void *ptr ) in myFree() argument 97 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()
|
| /RvlSDK-3.2.2/include/revolution/ |
| D | darch.h | 45 #define END_OF_PATH(ptr) \ argument 46 ( ((ptr)[0] == '\0') || ( ((ptr)[0] == '/') && ((ptr)[1] == '\0') ) )
|
| /RvlSDK-3.2.2/include/revolution/os/ |
| D | OSFastCast.h | 317 register f32* ptr = &a; in __OSf32tou8() local 322 psq_st in, 0(ptr), 1, OS_FASTCAST_U8 in __OSf32tou8() 323 lbz r, 0(ptr) in __OSf32tou8() 337 register f32* ptr = &a; in __OSf32tou16() local 342 psq_st in, 0(ptr), 1, OS_FASTCAST_U16 in __OSf32tou16() 343 lhz r, 0(ptr) in __OSf32tou16() 357 register f32* ptr = &a; in __OSf32tos8() local 362 psq_st in, 0(ptr), 1, OS_FASTCAST_S8 in __OSf32tos8() 363 lbz r, 0(ptr) in __OSf32tos8() 378 register f32* ptr = &a; in __OSf32tos16() local [all …]
|
| D | OSAlloc.h | 103 void* ptr); 110 void* ptr); 140 #define OSFree(ptr) OSFreeToHeap(__OSCurrHeap, (ptr)) argument
|
| /RvlSDK-3.2.2/build/demos/thpdemo/src/THPSimple/ |
| D | THPSimple.c | 51 #define GET_DECODE_BUFFER(p) ((p).readBuffer[(p).nextDecodeIndex].ptr) 52 #define GET_READ_BUFFER(p) ((p).readBuffer[(p).readIndex].ptr) 54 #define NEXT_READ_SIZE(p) *(u32 *)((p).readBuffer[(p).readIndex].ptr) 55 #define GET_COMP_SIZE(p, i) *(u32 *)((p).readBuffer[(p).nextDecodeIndex].ptr + 4 * i + 8) 456 u8 *ptr; in THPSimpleSetBuffer() local 471 ptr = buffer; in THPSimpleSetBuffer() 474 SimpleControl.textureSet.ytexture = ptr; in THPSimpleSetBuffer() 475 DCInvalidateRange(ptr, ysize); in THPSimpleSetBuffer() 476 ptr += ysize; in THPSimpleSetBuffer() 477 SimpleControl.textureSet.utexture = ptr; in THPSimpleSetBuffer() [all …]
|
| /RvlSDK-3.2.2/build/libraries/gd/src/ |
| D | GDFile.c | 255 err = myFwrite_u8s(fp, DLDescArray[i].ptr, DLDescArray[i].byteLength); in GDWriteDLFile() 261 patchList = (u32 *) PLDescArray[i].ptr; in GDWriteDLFile() 381 u32swap( (u32*) &(*DLDescArray)[i].ptr ); in GDReadDLFile() 382 (*DLDescArray)[i].ptr = (void*)((u32)(*DLDescArray)[i].ptr + (u32)hdr); in GDReadDLFile() 389 u32swap( (u32*) &(*PLDescArray)[i].ptr ); in GDReadDLFile() 390 (*PLDescArray)[i].ptr = (void*)((u32)(*PLDescArray)[i].ptr + (u32)hdr); in GDReadDLFile() 477 (*DLDescArray)[i].ptr = (void*)((u32)(*DLDescArray)[i].ptr + (u32)hdr); in GDReadDLFile() 482 (*PLDescArray)[i].ptr = (void*)((u32)(*PLDescArray)[i].ptr + (u32)hdr); in GDReadDLFile()
|
| /RvlSDK-3.2.2/build/demos/videmo/src/ |
| D | dimming.c | 69 void *ptr; in myAlloc() local 71 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc() 72 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc() 74 return(ptr); in myAlloc() 84 static u8 myFree(void *ptr) in myFree() argument 87 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()
|
| D | color.c | 153 u8* ptr; in fillColor() local 160 for (ptr = xfb; ptr < xfb + fbSize; ptr += VI_DISPLAY_PIX_SZ * 2) in fillColor() 161 *(u32*)ptr = colorVal; in fillColor()
|
| /RvlSDK-3.2.2/build/demos/wbcdemo/src/ |
| D | simple_wbc.c | 52 static u8 myFree ( void *ptr ); 331 void *ptr; in myAlloc() local 333 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc() 334 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc() 336 return(ptr); in myAlloc() 346 static u8 myFree(void *ptr) in myFree() argument 349 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()
|
| D | balance.c | 53 static u8 myFree ( void *ptr ); 369 void *ptr; in myAlloc() local 371 ptr = MEMAllocFromAllocator(&DemoAllocator2, size); in myAlloc() 372 ASSERTMSG(ptr, "Memory allocation failed\n"); in myAlloc() 374 return(ptr); in myAlloc() 384 static u8 myFree(void *ptr) in myFree() argument 387 MEMFreeToAllocator(&DemoAllocator2, ptr); in myFree()
|
| /RvlSDK-3.2.2/include/revolution/gd/ |
| D | GDBase.h | 64 u8 *ptr; member 164 return dl->ptr; in GDGetGDLObjPointer() 169 return (u32) (dl->ptr - dl->start); in GDGetGDLObjOffset() 191 return (u32) (__GDCurrentDL->ptr - __GDCurrentDL->start); in GDGetCurrOffset() 200 __GDCurrentDL->ptr = __GDCurrentDL->start + offset; in GDSetCurrOffset() 207 __GDCurrentDL->ptr += delta; in GDAdvCurrOffset() 213 return (void *) __GDCurrentDL->ptr; in GDGetCurrPointer() 230 if (__GDCurrentDL->ptr + size > __GDCurrentDL->top) in GDOverflowCheck() 239 *__GDCurrentDL->ptr++ = data; in __GDWrite()
|