Home
last modified time | relevance | path

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

12

/RvlSDK-3.2.2/include/revolution/
Ddvd.h312 u32 offset; member
423 s32 offset, s32 prio );
426 s32 offset,
429 #define DVDRead(fileInfo, addr, length, offset) \ argument
430 DVDReadPrio((fileInfo), (addr), (length), (offset), 2)
431 #define DVDReadAsync(fileInfo, addr, length, offset, callback) \ argument
432 DVDReadAsyncPrio((fileInfo), (addr), (length), (offset), (callback), 2)
435 s32 offset );
438 s32 offset,
452 s32 offset,
[all …]
Dcnt.h223 s32 contentReadNAND ( CNTFileInfoNAND* cf, void* addr, u32 length, s32 offset );
225 s32 contentSeekNAND ( CNTFileInfoNAND* cf, s32 offset, u32 whence );
255 s32 contentReadDVD ( CNTFileInfoDVD* cf, void* addr, u32 length, s32 offset );
257 s32 contentSeekDVD ( CNTFileInfoDVD* cf, s32 offset, u32 whence );
293 s32 CNTReadWithOffset ( CNTFileInfo* cf, void* addr, u32 length, s32 offset );
294 s32 CNTSeek ( CNTFileInfo* cf, s32 offset, u32 whence );
/RvlSDK-3.2.2/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-3.2.2/include/revolution/os/
DOSModule.h167 u32 offset; member
173 #define OS_SECTIONINFO_OFFSET(offset) ((offset) & ~0x1) argument
178 u32 offset; // Offset to OSRel instructions member
183 u16 offset; // Byte offset from the previous entry member
205 OSModuleInfo* OSSearchModule(void* ptr, u32* section, u32* offset);
/RvlSDK-3.2.2/build/libraries/gd/src/
DGDFile.c190 u32 offset; in GDWriteDLFile() local
211 offset = 20; in GDWriteDLFile()
212 err = myFwrite_u32(fp, offset); in GDWriteDLFile()
216 offset += numDLs * sizeof(GDGList); in GDWriteDLFile()
217 err = myFwrite_u32(fp, offset); in GDWriteDLFile()
221 offset += numPLs * sizeof(GDGList); in GDWriteDLFile()
225 padBytes = OSRoundUp32B(offset) - offset; in GDWriteDLFile()
226 offset += padBytes; in GDWriteDLFile()
231 err = myFwrite_u32( fp, offset ); in GDWriteDLFile()
236 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-3.2.2/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-3.2.2/build/demos/axdemo/src/
Daxstream.c130 s32 offset; member
151 static s32 offset; variable
178 if (offset == 0 && flag == STREAM_STARTED ) in gottenData()
213 buffer = streamBufferR + offset; in getDataR()
221 DVDReadAsync(&strm.finfoR, buffer, rlength, strm.offset, gottenData); in getDataR()
224 strm.offset += rlength; in getDataR()
228 if (offset == 0 && flag == STREAM_STARTED ) in getDataR()
259 buffer = streamBufferL + offset; in getDataL()
267 DVDReadAsync(&strm.finfoL, buffer, rlength, strm.offset, getDataR); in getDataL()
328 offset = STREAMBUFFER_BYTES / 2; in callbackAudioFrame()
[all …]
/RvlSDK-3.2.2/build/demos/cxdemo/src/
Dcx_uncompress_stream.c248 s32 offset = 0; // DVD offset in LoadTexDataRL() local
254 offset += 32; in LoadTexDataRL()
267 len[ nextIdx ] = OSRoundUp32B( fileInfo.length - offset ); in LoadTexDataRL()
275 DVDReadAsync( &fileInfo, sReadBuf[ nextIdx ], (s32)len[ nextIdx ], offset, NULL ); in LoadTexDataRL()
276 offset += len[ nextIdx ]; in LoadTexDataRL()
315 s32 offset = 0; // DVD offset in LoadTexDataLZ() local
321 offset += 32; in LoadTexDataLZ()
334 len[ nextIdx ] = OSRoundUp32B( fileInfo.length - offset ); in LoadTexDataLZ()
342 DVDReadAsync( &fileInfo, sReadBuf[ nextIdx ], (s32)len[ nextIdx ], offset, NULL ); in LoadTexDataLZ()
343 offset += len[ nextIdx ]; in LoadTexDataLZ()
[all …]
/RvlSDK-3.2.2/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.c184 s32 offset, i; in THPPlayerOpen() local
246 offset = (s32)ActivePlayer.header.compInfoDataOffsets; in THPPlayerOpen()
249 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
260 offset += sizeof(THPFrameCompInfo); in THPPlayerOpen()
270 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
279 offset += sizeof(THPVideoInfo); in THPPlayerOpen()
282 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
292 offset += sizeof(THPAudioInfo); in THPPlayerOpen()
598 s32 offset; in THPPlayerPrepare() local
618 offset = (s32)(ActivePlayer.header.offsetDataOffsets + (frameNum - 1) * 4); in THPPlayerPrepare()
[all …]
/RvlSDK-3.2.2/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.c239 s32 offset, i; in THPPlayerOpen() local
301 offset = (s32)ActivePlayer.header.compInfoDataOffsets; in THPPlayerOpen()
304 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
315 offset += sizeof(THPFrameCompInfo); in THPPlayerOpen()
325 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
334 offset += sizeof(THPVideoInfo); in THPPlayerOpen()
337 if (DVDRead(&ActivePlayer.fileInfo, WorkBuffer, 32, offset) < 0) in THPPlayerOpen()
347 offset += sizeof(THPAudioInfo); in THPPlayerOpen()
630 s32 offset; in THPPlayerPrepare() local
650 offset = (s32)(ActivePlayer.header.offsetDataOffsets + (frameNum - 1) * 4); in THPPlayerPrepare()
[all …]
/RvlSDK-3.2.2/build/libraries/cx/src/
DCXSecureUncompression.c273 s32 offset; in CXSecureUncompressLZ() local
302 offset = (*pSrc++ & 0x0f) << 8; in CXSecureUncompressLZ()
303 offset = (offset | *pSrc++) + 1; in CXSecureUncompressLZ()
316 if ( &pDst[ -offset ] < destp ) in CXSecureUncompressLZ()
324 *pDst++ = pDst[ -offset ]; in CXSecureUncompressLZ()
386 u32 offset = (u32)( ( (*treep & 0x3F) + 1 ) << 1); in CXiVerifyHuffmanTable_() local
387 u8* nodep = (u8*)( (((u32)treep >> 1) << 1) + offset ); in CXiVerifyHuffmanTable_()
401 u32 left = (idx & ~0x1) + offset; in CXiVerifyHuffmanTable_()
406 u32 right = (idx & ~0x1) + offset + 1; in CXiVerifyHuffmanTable_()
802 u32 offset = (u32)( ( (*treep & ofs_mask) + 1 ) << 1 ); in CXiLHVerifyTable() local
[all …]
DCXUncompression.c217 s32 offset; in CXUncompressLZ() local
244 offset = (*pSrc++ & 0x0f) << 8; in CXUncompressLZ()
245 offset = (offset | *pSrc++) + 1; in CXUncompressLZ()
254 *pDst++ = pDst[ -offset ]; in CXUncompressLZ()
514 u32 offset = (((*nodep & 0x7F) + 1U) << 1) + bit; in CXUncompressLH() local
519 val = *(nodep + offset); in CXUncompressLH()
525 nodep += offset; in CXUncompressLH()
542 u32 offset = (((*nodep & OFFSET_MASK) + 1U) << 1) + bit; in CXUncompressLH() local
547 val = *(nodep + offset); in CXUncompressLH()
553 nodep += offset; in CXUncompressLH()
DCXStreamingUncompression.c274 s32 offset; in CXReadUncompLZ() local
376 offset = (context->length & 0xF) << 8; in CXReadUncompLZ()
378 offset = (offset | *srcp++) + 1; in CXReadUncompLZ()
394 *context->destp = context->destp[ -offset ]; in CXReadUncompLZ()
841 u32 offset; in CXReadUncompLH() local
849 offset = (((*nodep & 0x7F) + 1U) << 1) + bit; in CXReadUncompLH()
854 length = *(nodep + offset); in CXReadUncompLH()
861 nodep += offset; in CXReadUncompLH()
887 u32 offset; in CXReadUncompLH() local
896 offset = (((*nodep & OFFSET_MASK) + 1U) << 1) + bit; in CXReadUncompLH()
[all …]
DCXCompression.c79 static u32 SearchLZ ( LZCompressInfo * info, const u8 *nextp, u32 remainSize, u16 *offset
230 static u32 SearchLZ( LZCompressInfo * info, const u8 *nextp, u32 remainSize, u16 *offset, u32 maxLe… in SearchLZ() argument
311 *offset = maxOffset; in SearchLZ()
340 s16 offset; in SlideByte() local
364 offset = LZEndTable[in_data]; in SlideByte()
365 if (offset == -1) in SlideByte()
371 LZOffsetTable[offset] = (s16)insert_offset; in SlideByte()
/RvlSDK-3.2.2/build/tools/darch/include/
Ddarch.h109 #define setData(addr, data, offset, nbytes) do { \ argument
113 *( (char*)(addr) + offset + ___i ) \
152 #define set4BData(eAddr, data, offset) \ argument
153 setData(eAddr, data, offset, 4)
/RvlSDK-3.2.2/include/revolution/mem/
Dlist.h51 u16 offset; // Offset for NNSFndLink type structure member member
85 u16 offset);
/RvlSDK-3.2.2/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-3.2.2/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-3.2.2/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-3.2.2/build/demos/thpdemo/src/THPSimple/
DTHPSimple.c221 s32 offset, i; in THPSimpleOpen() local
283 offset = (s32)SimpleControl.header.compInfoDataOffsets; in THPSimpleOpen()
286 if (DVDRead(&SimpleControl.fileInfo, WorkBuffer, 32, offset) < 0) in THPSimpleOpen()
297 offset += sizeof(THPFrameCompInfo); in THPSimpleOpen()
307 if (DVDRead(&SimpleControl.fileInfo, WorkBuffer, 32, offset) < 0) in THPSimpleOpen()
316 offset += sizeof(THPVideoInfo); in THPSimpleOpen()
319 if (DVDRead(&SimpleControl.fileInfo, WorkBuffer, 32, offset) < 0) in THPSimpleOpen()
329 offset += sizeof(THPAudioInfo); in THPSimpleOpen()
/RvlSDK-3.2.2/include/revolution/gx/
DGXBump.h57 extern void GXSetIndTexMtx (GXIndTexMtxID mtx_sel, const f32 offset[2][3], s8 scale_exp);
/RvlSDK-3.2.2/build/tools/dls1wt/src/
Dwt.h103 u32 offset; // offset in bytes from beginning of PCM file member

12