Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 38) sorted by relevance

12

/RvlSDK-2.1/include/revolution/
Ddvd.h309 u32 offset; member
420 s32 offset, s32 prio );
423 s32 offset,
426 #define DVDRead(fileInfo, addr, length, offset) \ argument
427 DVDReadPrio((fileInfo), (addr), (length), (offset), 2)
428 #define DVDReadAsync(fileInfo, addr, length, offset, callback) \ argument
429 DVDReadAsyncPrio((fileInfo), (addr), (length), (offset), (callback), 2)
432 s32 offset );
435 s32 offset,
449 s32 offset,
[all …]
Ddvdeth.h55 s32 offset, s32 prio );
58 s32 offset,
61 #define DVDWrite(fileInfo, addr, length, offset) \ argument
62 DVDWritePrio((fileInfo), (addr), (length), (offset), 2)
64 #define DVDWriteAsync(fileInfo, addr, length, offset, callback) \ argument
65 DVDWriteAsyncPrio((fileInfo), (addr), (length), (offset), (callback), 2)
Dcard.h188 s32 offset; member
307 s32 CARDRead ( CARDFileInfo* fileInfo, void* addr, s32 length, s32 offset );
308 s32 CARDReadAsync ( CARDFileInfo* fileInfo, void* addr, s32 length, s32 offset, CARDCallba…
309 s32 CARDWrite ( CARDFileInfo* fileInfo, const void* addr, s32 length, s32 offset );
310 s32 CARDWriteAsync ( CARDFileInfo* fileInfo, const void* addr, s32 length, s32 offset, CARD…
Dwpad.h573 s32 WPADReadGameData ( s32 chan, void *p_buf, u16 len, u16 offset, WPADCallback callback…
574 s32 WPADWriteGameData ( s32 chan, void *p_buf, u16 len, u16 offset, WPADCallback callback…
575 s32 WPADReadFaceData ( s32 chan, void *p_buf, u16 len, u16 offset, WPADCallback callback…
576 s32 WPADWriteFaceData ( s32 chan, void *p_buf, u16 len, u16 offset, WPADCallback callback…
/RvlSDK-2.1/build/libraries/tc/src/
DTCLayer.cpp187 u32 offset; in TCSetLayerValue() local
201 offset = ( (y * ly->width) + x ) * 3; in TCSetLayerValue()
203 *( basePtr + offset ) = (u8)ria; in TCSetLayerValue()
204 *( basePtr + offset + 1 ) = g; in TCSetLayerValue()
205 *( basePtr + offset + 2 ) = b; in TCSetLayerValue()
210 offset = ((y * ly->width) + x) * 2; // offset in bytes in TCSetLayerValue()
211 *(u16*)(basePtr + offset) = ria; in TCSetLayerValue()
216 offset = (y * ly->width) + x; in TCSetLayerValue()
217 *(basePtr + offset) = (u8)ria; in TCSetLayerValue()
239 u32 offset; in TCGetLayerValue() local
[all …]
/RvlSDK-2.1/include/revolution/os/
DOSModule.h161 u32 offset; member
167 #define OS_SECTIONINFO_OFFSET(offset) ((offset) & ~0x1) argument
172 u32 offset; // offset to OSRel instructions member
177 u16 offset; // byte offset from the previous entry member
199 OSModuleInfo* OSSearchModule(void* ptr, u32* section, u32* offset);
/RvlSDK-2.1/build/demos/cxdemo/src/
Dcx_uncompress_stream.c190 s32 offset = 0; // DVD offset in LoadTexDataRL() local
196 offset += 32; in LoadTexDataRL()
209 len[ nextIdx ] = OSRoundUp32B( fileInfo.length - offset ); in LoadTexDataRL()
217 DVDReadAsync( &fileInfo, sReadBuf[ nextIdx ], (s32)len[ nextIdx ], offset, NULL ); in LoadTexDataRL()
218 offset += len[ nextIdx ]; in LoadTexDataRL()
257 s32 offset = 0; // DVD offset in LoadTexDataLZ() local
263 offset += 32; in LoadTexDataLZ()
276 len[ nextIdx ] = OSRoundUp32B( fileInfo.length - offset ); in LoadTexDataLZ()
284 DVDReadAsync( &fileInfo, sReadBuf[ nextIdx ], (s32)len[ nextIdx ], offset, NULL ); in LoadTexDataLZ()
285 offset += len[ nextIdx ]; in LoadTexDataLZ()
[all …]
/RvlSDK-2.1/build/libraries/gd/src/
DGDFile.c184 u32 offset; in GDWriteDLFile() local
202 offset = 20; in GDWriteDLFile()
203 err = myFwrite_u32(fp, offset); in GDWriteDLFile()
207 offset += numDLs * sizeof(GDGList); in GDWriteDLFile()
208 err = myFwrite_u32(fp, offset); in GDWriteDLFile()
212 offset += numPLs * sizeof(GDGList); in GDWriteDLFile()
216 padBytes = OSRoundUp32B(offset) - offset; in GDWriteDLFile()
217 offset += padBytes; in GDWriteDLFile()
222 err = myFwrite_u32( fp, offset ); in GDWriteDLFile()
227 offset += DLDescArray[i].byteLength; in GDWriteDLFile()
[all …]
DGDIndirect.c101 void GDSetIndTexMtx ( GXIndTexMtxID mtx_id, const f32 offset[2][3], s8 scale_exp ) in GDSetIndTexMtx()
124 (((s32)(offset[0][0] * IND_TEX_MTX_SCALE)) & IND_TEX_MTX_MASK), in GDSetIndTexMtx()
125 (((s32)(offset[1][0] * IND_TEX_MTX_SCALE)) & IND_TEX_MTX_MASK), in GDSetIndTexMtx()
130 (((s32)(offset[0][1] * IND_TEX_MTX_SCALE)) & IND_TEX_MTX_MASK), in GDSetIndTexMtx()
131 (((s32)(offset[1][1] * IND_TEX_MTX_SCALE)) & IND_TEX_MTX_MASK), in GDSetIndTexMtx()
136 (((s32)(offset[0][2] * IND_TEX_MTX_SCALE)) & IND_TEX_MTX_MASK), in GDSetIndTexMtx()
137 (((s32)(offset[1][2] * IND_TEX_MTX_SCALE)) & IND_TEX_MTX_MASK), in GDSetIndTexMtx()
/RvlSDK-2.1/build/demos/gxdemo/src/Texture/
Dtex-tlut.c618 u32 offset; in CreateSampleImgTexture() local
624 offset = 0; in CreateSampleImgTexture()
660 c += srcdata[offset]; in CreateSampleImgTexture()
661 ++offset; in CreateSampleImgTexture()
674 c = srcdata[offset]; in CreateSampleImgTexture()
678 ++offset; in CreateSampleImgTexture()
689 c = srcdata[offset]; in CreateSampleImgTexture()
693 ++offset; in CreateSampleImgTexture()
841 u32 i, offset, ciSize; in LoadColorMap() local
845 offset = 0; in LoadColorMap()
[all …]
/RvlSDK-2.1/build/demos/thpdemo/src/THPPlayerStrmAX/
DTHPRead.c166 s32 offset; in Reader() local
173 offset = ActivePlayer.initOffset; in Reader()
180 result = DVDRead(&ActivePlayer.fileInfo, readBuffer->ptr, size, offset); in Reader()
202 offset += size; in Reader()
215 offset = (s32)(ActivePlayer.header.movieDataOffsets); in Reader()
DTHPPlayer.c195 s32 offset, i; in THPPlayerOpen() local
257 offset = (s32)ActivePlayer.header.compInfoDataOffsets; in THPPlayerOpen()
260 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
271 offset += sizeof(THPFrameCompInfo); in THPPlayerOpen()
281 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
290 offset += sizeof(THPVideoInfo); in THPPlayerOpen()
293 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
303 offset += sizeof(THPAudioInfo); in THPPlayerOpen()
609 s32 offset; in THPPlayerPrepare() local
629 offset = (s32)(ActivePlayer.header.offsetDataOffsets + (frameNum - 1) * 4); in THPPlayerPrepare()
[all …]
/RvlSDK-2.1/build/demos/thpdemo/src/THPPlayer/
DTHPRead.c170 s32 offset; in Reader() local
177 offset = ActivePlayer.initOffset; in Reader()
184 result = DVDRead(&ActivePlayer.fileInfo, readBuffer->ptr, size, offset); in Reader()
206 offset += size; in Reader()
219 offset = (s32)(ActivePlayer.header.movieDataOffsets); in Reader()
DTHPPlayer.c229 s32 offset, i; in THPPlayerOpen() local
291 offset = (s32)ActivePlayer.header.compInfoDataOffsets; in THPPlayerOpen()
294 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
305 offset += sizeof(THPFrameCompInfo); in THPPlayerOpen()
315 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
324 offset += sizeof(THPVideoInfo); in THPPlayerOpen()
327 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
337 offset += sizeof(THPAudioInfo); in THPPlayerOpen()
620 s32 offset; in THPPlayerPrepare() local
640 offset = (s32)(ActivePlayer.header.offsetDataOffsets + (frameNum - 1) * 4); in THPPlayerPrepare()
[all …]
/RvlSDK-2.1/build/tools/darch/include/
Ddarch.h106 #define setData(addr, data, offset, nbytes) do { \ argument
110 *( (char*)(addr) + offset + ___i ) \
149 #define set4BData(eAddr, data, offset) \ argument
150 setData(eAddr, data, offset, 4)
/RvlSDK-2.1/build/libraries/cx/src/
DCXUncompression.c190 s32 offset = (*pSrc++ & 0x0f) << 8; in CXUncompressLZ() local
191 offset = (offset | *pSrc++) + 1; in CXUncompressLZ()
195 *pDst++ = pDst[ -offset ]; in CXUncompressLZ()
DCXStreamingUncompression.c195 s32 offset; in CXReadUncompLZ() local
242 offset = (context->length & 0xF) << 8; in CXReadUncompLZ()
244 offset = (offset | *srcp++) + 1; in CXReadUncompLZ()
251 *context->destp = context->destp[ -offset ]; in CXReadUncompLZ()
DCXCompression.c63 static u8 SearchLZ ( LZCompressInfo * info, const u8 *nextp, u32 remainSize, u16 *offset
174 static u8 SearchLZ( LZCompressInfo * info, const u8 *nextp, u32 remainSize, u16 *offset ) in SearchLZ() argument
255 *offset = maxOffset; in SearchLZ()
284 s16 offset; in SlideByte() local
308 offset = LZEndTable[in_data]; in SlideByte()
309 if (offset == -1) in SlideByte()
315 LZOffsetTable[offset] = (s16)insert_offset; in SlideByte()
/RvlSDK-2.1/include/revolution/mem/
Dlist.h51 u16 offset; // Offset for NNSFndLink type structure member member
85 u16 offset);
/RvlSDK-2.1/build/libraries/mem/src/
Dmem_list.c18 #define OBJ_TO_LINK(list,obj) ((MEMLink*)(((u32)(obj))+(list)->offset))
35 MEMInitList( MEMList* list, u16 offset ) in MEMInitList() argument
42 list->offset = offset; in MEMInitList()
/RvlSDK-2.1/build/demos/gxdemo/src/Geometry/
Dgeo-particle.c71 GXTexOffset offset; // texture offset for texture particles member
460 emMain.offset = GX_TO_ZERO; in Options()
467 emMain.offset = GX_TO_SIXTEENTH; in Options()
474 emMain.offset = GX_TO_EIGHTH; in Options()
481 emMain.offset = GX_TO_FOURTH; in Options()
488 emMain.offset = GX_TO_HALF; in Options()
495 emMain.offset = GX_TO_ONE; in Options()
502 emMain.offset = GX_TO_ONE; in Options()
509 emMain.offset = GX_TO_HALF; in Options()
516 emMain.offset = GX_TO_FOURTH; in Options()
[all …]
/RvlSDK-2.1/build/demos/carddemo/src/
Dcardutil.c345 s32 offset; in DoList() local
418 offset = (s32) ent->stat.commentAddr & ~(CARD_READ_SIZE - 1); in DoList()
419 length = (s32) (ent->stat.commentAddr + CARD_COMMENT_SIZE - offset); in DoList()
421 result = CARDRead(&fileInfo, ent, length, offset); in DoList()
428 offset = (s32) (ent->stat.commentAddr & (CARD_READ_SIZE - 1)); in DoList()
429 memmove(ent->comment, (u8*) ent + offset, CARD_COMMENT_SIZE); in DoList()
443 offset = (s32) ent->stat.iconAddr & ~(CARD_READ_SIZE - 1); in DoList()
444 length = (s32) (ent->stat.offsetData - offset); in DoList()
446 result = CARDRead(&fileInfo, ent, length, offset); in DoList()
453 offset = (s32) (ent->stat.iconAddr & (CARD_READ_SIZE - 1)); in DoList()
[all …]
/RvlSDK-2.1/include/revolution/gd/
DGDBase.h97 static inline void GDSetCurrOffset(u32 offset);
195 static inline void GDSetCurrOffset(u32 offset) in GDSetCurrOffset() argument
200 __GDCurrentDL->ptr = __GDCurrentDL->start + offset; in GDSetCurrOffset()
/RvlSDK-2.1/build/demos/thpdemo/src/THPSimple/
DTHPSimple.c210 s32 offset, i; in THPSimpleOpen() local
272 offset = (s32)SimpleControl.header.compInfoDataOffsets; in THPSimpleOpen()
275 if (DVDRead(&SimpleControl.fileInfo, WorkBuffer, 32, offset) < 0) in THPSimpleOpen()
286 offset += sizeof(THPFrameCompInfo); in THPSimpleOpen()
296 if (DVDRead(&SimpleControl.fileInfo, WorkBuffer, 32, offset) < 0) in THPSimpleOpen()
305 offset += sizeof(THPVideoInfo); in THPSimpleOpen()
308 if (DVDRead(&SimpleControl.fileInfo, WorkBuffer, 32, offset) < 0) in THPSimpleOpen()
318 offset += sizeof(THPAudioInfo); in THPSimpleOpen()
/RvlSDK-2.1/build/demos/axdemo/src/
Daxsimple.c336 u32 offset = 0; // Variable that stores the offsets from base ARAM address in LoadSamples() local
349 offset = ZEROBUFFER_BYTES; in LoadSamples()
366 Samples[i].aramAddr = (void *)((u32)ARAMBaseAddress + offset); in LoadSamples()
372 offset += Samples[i].aramLength; in LoadSamples()

12