Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 53) sorted by relevance

123

/RvlSDK-3.1/build/libraries/tc/src/
DTCScriptFile.cpp106 static void TCProcessSiKey ( u32 index, char* pathName, char* fileName );
107 static void TCProcessImKey ( u32 index, char* attList );
108 static void TCProcessPlKey ( u32 index, char* attList );
109 static void TCProcessTxKey ( u32 index, char* attList );
186 u32 index; in TCProcessKeyName() local
219 TCGetKeyNum( (leftSide + strlen("FILE")), &index ); in TCProcessKeyName()
220 TCProcessSiKey( index, PathPtr, rightSide ); in TCProcessKeyName()
225 TCGetKeyNum( (leftSide + strlen("IMAGE")), &index ); in TCProcessKeyName()
226 TCProcessImKey(index, rightSide); in TCProcessKeyName()
230 TCGetKeyNum( (leftSide + strlen("PALETTE")), &index ); in TCProcessKeyName()
[all …]
DTCSrcImageList.cpp128 if( nextSi->index < thisSi->index ) in TCSortSrcImageByIndex()
148 siTmp.index = src->index; in TCSwapSrcImage()
151 src->index = dst->index; in TCSwapSrcImage()
154 dst->index = siTmp.index; in TCSwapSrcImage()
158 TCSrcImage* TCFindSrcImageByIndex ( u32 index ) in TCFindSrcImageByIndex() argument
163 if( index == TC_UNUSED ) in TCFindSrcImageByIndex()
169 if( siTmp->index == index ) in TCFindSrcImageByIndex()
176 … TCErrorMsg( "TCFindSrcImageByIndex: source image %d is not part of source image list\n", index ); in TCFindSrcImageByIndex()
185 void TCSetSrcImageFromFile ( TCSrcImage* newSi, char* fileName, u32 index ) in TCSetSrcImageFromFile() argument
194 newSi->index = index; in TCSetSrcImageFromFile()
DTCPaletteList.cpp100 void TCSetPalTableValue ( TCPalTable* ptPtr, u32 index, u8 r, u8 g, u8 b, u8 a ) in TCSetPalTableValue() argument
105 rgbaPtr = (u8*)( (u8*)(ptPtr->rgba) + (index * 4) ); in TCSetPalTableValue()
114 void TCGetPalTableValue ( TCPalTable* ptPtr, u32 index, u8* rPtr, in TCGetPalTableValue() argument
120 rgbaPtr = (u8*)( (u8*)(ptPtr->rgba) + (index * 4) ); in TCGetPalTableValue()
198 void TCSetPaletteIndex ( TCPalette* pl, u32 index ) in TCSetPaletteIndex() argument
202 pl->index = index; in TCSetPaletteIndex()
232 TCErrorMsg( "TCSetPaletteEntryFormat: palette %d; unknown output format\n", pl->index ); in TCSetPaletteEntryFormat()
255 if( nextPal->index < thisPal->index ) in TCSortPaletteByIndex()
274 tmpPl.index = thisPal->index; in TCSwapPalette()
281 thisPal->index = thatPal->index; in TCSwapPalette()
[all …]
DTCImageList.cpp123 …->lyAlpha != NULL), "ImNew: no alpha layer in file %s for image %d\n", dfPtr->name, imPtr->index ); in TCSetImageValues()
170 void TCSetImageIndex ( TCImage* im, u32 index ) in TCSetImageIndex() argument
173 TCAssertMsg( (index != TC_UNUSED), "TCSetImageIndex: invalid image index %d\n", index ); in TCSetImageIndex()
174 TCAssertMsg( (im != NULL), "TCSetImageIndex: NULL image ptr for image %d\n", index ); in TCSetImageIndex()
176 im->index = index; in TCSetImageIndex()
190 …= TC_UNUSED), "TCSetImageLayerAtt: invalid color layer %d for image %d\n", colorLayer, im->index ); in TCSetImageLayerAtt()
236 …TCErrorMsg( "TCSetImageTexelFormat: invalid texel format %d for image %d\n", texelFmt, im->index ); in TCSetImageTexelFormat()
256 TCErrorMsg( "TCSetImageMipMap: invalid LOD range for image %d\n", im->index ); in TCSetImageMipMap()
261 TCErrorMsg( "TCSetImageMipMap: invalid LOD range for image %d\n", im->index ); in TCSetImageMipMap()
267 TCErrorMsg( "TCSetImageMipMap: invalid LOD range for image %d\n", im->index ); in TCSetImageMipMap()
[all …]
DTCTextureList.cpp90 void TCSetTextureAttributes ( TCTexture* tx, u32 index, u32 image, in TCSetTextureAttributes() argument
95 tx->index = index; in TCSetTextureAttributes()
120 if( nextTex->index < thisTex->index ) in TCSortTextureByIndex()
141 tmpTx.index = thisTex->index; in TCSwapTexture()
147 thisTex->index = thatTex->index; in TCSwapTexture()
153 thatTex->index = tmpTx.index; in TCSwapTexture()
DTCVerify.cpp93 TCErrorMsg( "TCVerifyLists: no matching source image for image %d color layer\n", imPtr->index ); in TCVerifyLists()
102 … TCErrorMsg( "TCVerifyLists: no matching source image for image %d alpha layer\n", imPtr->index ); in TCVerifyLists()
118 TCErrorMsg( "TCVerifyLists: no matching source image for palette %d srcImage\n", plPtr->index); in TCVerifyLists()
133 TCErrorMsg( "TCVerifyLists: no matching image for texture %d\n", txPtr->index); in TCVerifyLists()
142 TCErrorMsg( "TCVerifyLists: no matching palette for texture %d\n", txPtr->index); in TCVerifyLists()
DTCMipmap.cpp240 TCErrorMsg( "TCCreateMipMaps: unknown texel format for image %d\n", thisImage->index ); in TCWriteTplImageMipMaps()
416 …sertMsg( (check),"TCCheckMipMapConvParams: minLOD out of range for image %d\n", thisImage->index ); in TCCheckMipMapConvParams()
419 …sertMsg( (check),"TCCheckMipMapConvParams: maxLOD out of range for image %d\n", thisImage->index ); in TCCheckMipMapConvParams()
422 …rtMsg( (check),"TCCheckMipMapConvParams: remapLOD out of range for image %d\n", thisImage->index ); in TCCheckMipMapConvParams()
427 TCErrorMsg( "TCCheckMipMapConvParams: image %d has (minLOD > maxLOD)\n", thisImage->index ); in TCCheckMipMapConvParams()
434 …Msg( "TCCheckMipMapConvParams: image %d remaps LODs beyond max pyramid size\n", thisImage->index ); in TCCheckMipMapConvParams()
439 …sg( (check),"TCCheckMipMapConvParams: image %d is not power of 2 dimensions\n", thisImage->index ); in TCCheckMipMapConvParams()
443 …"TCCheckMipMapConvParams: numLOD is greater than image %d minimum dimension\n", thisImage->index ); in TCCheckMipMapConvParams()
447 …ck),"TCCheckMipMapConvParams: image %d invalid output format for mipmapping\n", thisImage->index ); in TCCheckMipMapConvParams()
/RvlSDK-3.1/build/demos/dvddemo/src/
Dselectfile.c183 u32 index; in __create_dir_menu() local
186 index = 0; in __create_dir_menu()
190 strcpy(dir_entry_name[index], "../"); in __create_dir_menu()
192 dir_entry[index].name = &dir_entry_name[index][0]; in __create_dir_menu()
193 dir_entry[index].flags = DEMOWIN_ITM_EOF; in __create_dir_menu()
194 dir_entry[index].function = MNU_change_dir_up; in __create_dir_menu()
195 dir_entry[index].link = NULL; in __create_dir_menu()
197 index++; in __create_dir_menu()
202 while ( (DVDReadDir(&dir, &dirent)) && (index < MAX_DIR_ENTRIES)) in __create_dir_menu()
205 strcpy(dir_entry_name[index], dirent.name); in __create_dir_menu()
[all …]
/RvlSDK-3.1/build/demos/gddemo/src/
Dgd-tev-host.c90 u32 index; in main() local
99 index = 0; in main()
108 dlists[index].ptr = (void*)ptr; in main()
110 plists[index].ptr = (u32*)ptr; in main()
113 (*CreateShdDLFunc[i])(dlists[index].ptr, &dlists[index].byteLength, in main()
114 plists[index].ptr, &plists[index].byteLength); in main()
116 index++; in main()
120 dlists[index].ptr = (void*)ptr; in main()
123 CreateModelDL(dlists[index].ptr, &dlists[index].byteLength); in main()
Dgd-indtex-host.c88 u32 index; in main() local
95 index = 0; in main()
104 dlists[index].ptr = (void*)ptr; in main()
107 dlists[index].byteLength = (*CreateEffectDLFunc[i])(dlists[index].ptr); in main()
109 index++; in main()
/RvlSDK-3.1/build/demos/wpaddemo/src/
Ddummy_checker.c698 u32 index; in renderAimings() local
718 index = ((latest - 1) + SMPBUF_SIZE) % SMPBUF_SIZE; in renderAimings()
722 if (WPAD_ERR_NONE == co_ptr[index].err) in renderAimings()
724 …s16 x=(s16)(SCREEN_WIDTH -(co_ptr[index].obj[0].x+co_ptr[index].obj[1].x)/2*SCREEN_WIDTH /WPAD_DPD… in renderAimings()
725 …s16 y=(s16)(SCREEN_HEIGHT-(co_ptr[index].obj[0].y+co_ptr[index].obj[1].y)/2*SCREEN_HEIGHT/WPAD_DPD… in renderAimings()
728 index = ((index - 1) + SMPBUF_SIZE) % SMPBUF_SIZE; in renderAimings()
739 index = ((latest - 1) + SMPBUF_SIZE) % SMPBUF_SIZE; in renderAimings()
743 if (WPAD_ERR_NONE == fs_ptr[index].err || WPAD_ERR_CORRUPTED == fs_ptr[index].err) in renderAimings()
745 …s16 x=(s16)(SCREEN_WIDTH -(fs_ptr[index].obj[0].x+fs_ptr[index].obj[1].x)/2*SCREEN_WIDTH /WPAD_DPD… in renderAimings()
746 …s16 y=(s16)(SCREEN_HEIGHT-(fs_ptr[index].obj[0].y+fs_ptr[index].obj[1].y)/2*SCREEN_HEIGHT/WPAD_DPD… in renderAimings()
[all …]
/RvlSDK-3.1/include/revolution/gd/
DGDBase.h142 static inline void GDWriteXFIndxACmd(u16 addr, u8 len, u16 index);
143 static inline void GDWriteXFIndxBCmd(u16 addr, u8 len, u16 index);
144 static inline void GDWriteXFIndxCCmd(u16 addr, u8 len, u16 index);
145 static inline void GDWriteXFIndxDCmd(u16 addr, u8 len, u16 index);
377 static inline void GDWriteXFIndxACmd(u16 addr, u8 len, u16 index) in GDWriteXFIndxACmd() argument
380 GDWrite_u16(index); in GDWriteXFIndxACmd()
384 static inline void GDWriteXFIndxBCmd(u16 addr, u8 len, u16 index) in GDWriteXFIndxBCmd() argument
387 GDWrite_u16(index); in GDWriteXFIndxBCmd()
391 static inline void GDWriteXFIndxCCmd(u16 addr, u8 len, u16 index) in GDWriteXFIndxCCmd() argument
394 GDWrite_u16(index); in GDWriteXFIndxCCmd()
[all …]
/RvlSDK-3.1/build/demos/axdemo/src/
Dseqdemo.c408 u32 index; in __create_dir_menu() local
411 index = 0; in __create_dir_menu()
415 strcpy(dir_entry_name[index], "../"); in __create_dir_menu()
417 dir_entry[index].name = &dir_entry_name[index][0]; in __create_dir_menu()
418 dir_entry[index].flags = DEMOWIN_ITM_EOF; in __create_dir_menu()
419 dir_entry[index].function = MNU_change_dir_up; in __create_dir_menu()
420 dir_entry[index].link = NULL; in __create_dir_menu()
422 index++; in __create_dir_menu()
427 while ( (DVDReadDir(&dir, &dirent)) && (index < MAX_DIR_ENTRIES)) in __create_dir_menu()
430 strcpy(dir_entry_name[index], dirent.name); in __create_dir_menu()
[all …]
Dcompressor.c717 u32 index = 0; in do_test() local
804 index = start_index; in do_test()
808 if ((__left_channel[index] > 32766) || (__right_channel[index] < -32766)) in do_test()
814 if ((__right_channel[index] > 32766) || (__right_channel[index] < -32766)) in do_test()
820 index = (index + 1) % AVX_BUFFER_SIZE_WORDS; in do_test()
/RvlSDK-3.1/build/libraries/tc/include/
DTCSrcImageList.h60 u32 index; // source file's index (1 to n) from script file member
73 TCSrcImage* TCFindSrcImageByIndex ( u32 index );
76 u32 index );
DTCPaletteList.h63 u32 index; // index from script file. This is also the .tpl bank location member
92 void TCSetPaletteIndex ( TCPalette* pl, u32 index );
97 TCPalette* TCFindPaletteByIndex( u32 index );
DTCImageList.h71 u32 index; // image index from script file. This is also the .tpl bank location member
106 TCImage* TCFindImageByIndex ( u32 index );
107 void TCSetImageIndex ( TCImage* im, u32 index );
DTCTextureList.h54 u32 index; // .tpl Texture Descriptor index member
74 void TCSetTextureAttributes( TCTexture* tx, u32 index, u32 image, u32 palette );
/RvlSDK-3.1/build/libraries/mix/src/
Dmix.c593 c = &__MIXChannel[axvpb->index]; in MIXInitChannel()
777 __MIXRmtResetChannel((s32)axvpb->index); in MIXInitChannel()
837 __MIXChannel[axvpb->index].axvpb = NULL; in MIXReleaseChannel()
853 __MIXResetChannel(&__MIXChannel[p->index]); in MIXResetControls()
854 __MIXRmtResetChannel((s32)p->index); in MIXResetControls()
871 MIXChannel *channel = &__MIXChannel[p->index]; in MIXSetInput()
890 MIXChannel *channel = &__MIXChannel[p->index]; in MIXAdjustInput()
907 MIXChannel *channel = &__MIXChannel[p->index]; in MIXGetInput()
924 MIXChannel *channel = &__MIXChannel[p->index]; in MIXAuxAPostFader()
942 MIXChannel *channel = &__MIXChannel[p->index]; in MIXAuxAPreFader()
[all …]
Dremote.c85 channel = &__MIXRmtChannel[axvpb->index]; in MIXRmtSetVolumes()
119 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtAuxPostFader()
141 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtAuxPreFader()
163 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtAuxIsPostFader()
190 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtSetAux()
228 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtAdjustAux()
265 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtGetAux()
299 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtSetFader()
336 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtAdjustFader()
372 MIXRmtChannel *channel = &__MIXRmtChannel[p->index]; in MIXRmtGetFader()
/RvlSDK-3.1/include/revolution/
DRSOLink.h41 BOOL RSOIsImportSymbolResolved ( const RSOObjectHeader* rso, int index );
44 const char* RSOGetImportSymbolName ( const RSOSymbolHeader* imp, int index );
54 const char* RSOGetExportSymbolName ( const RSOSymbolHeader* exp, int index );
55 const void* RSOGetExportSymbolAddr ( const RSOObjectHeader* rso, int index );
/RvlSDK-3.1/build/libraries/demo/src/
DDEMOWin.c512 u16 index = 0; in DEMOWinLogPrintf() local
536index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
537 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinLogPrintf()
542index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
543 handle->buffer[index] = (u8)buffer[i]; in DEMOWinLogPrintf()
554index = (u16)(handle->curr_output_line * handle->char_width + handle->curr_output_col); in DEMOWinLogPrintf()
555 memset((void *)(&handle->buffer[index]), 0x20, sizeof(u8) * handle->char_width); in DEMOWinLogPrintf()
584 u16 index; in DEMOWinPrintfXY() local
608 index = (u16)(buffer_row * handle->char_width + col); in DEMOWinPrintfXY()
612 handle->buffer[index+i] = (u8)string[i]; in DEMOWinPrintfXY()
[all …]
/RvlSDK-3.1/include/charPipeline/tc/
DTCPalTable.h45 void TCSetPalTableValue ( TCPalTable* ptPtr, u32 index, u8 r,
48 void TCGetPalTableValue ( TCPalTable* ptPtr, u32 index, u8* rPtr,
/RvlSDK-3.1/build/demos/gxdemo/src/Lighting/
Dlit-dist-atn.c83 static void StatusMessage ( u32 index );
469 static void StatusMessage( u32 index ) in StatusMessage() argument
471 OSReport(" k0 = %f ", LightAttnSamples[index].k0); in StatusMessage()
472 OSReport(" k1 = %f ", LightAttnSamples[index].k1); in StatusMessage()
473 OSReport(" k2 = %f ", LightAttnSamples[index].k2); in StatusMessage()
/RvlSDK-3.1/build/demos/thpdemo/src/THPPlayerStrmAX/
DTHPPlayer.c1629 s32 index; in StreamReInit() local
1683 index = StreamInfo.top; in StreamReInit()
1685 while (index != StreamInfo.bottom) in StreamReInit()
1687 tmp = StreamInfo.boundary[index] % bufferSampleNum; in StreamReInit()
1689 StreamInfo.boundary[index] = tmp - offset1; in StreamReInit()
1691 index++; in StreamReInit()
1692 if (index >= BOUNDARY_NUM) in StreamReInit()
1694 index = 0; in StreamReInit()
1748 index = StreamInfo.top; in StreamReInit()
1750 while (index != StreamInfo.bottom) in StreamReInit()
[all …]

123