| /RvlSDK-3.3/include/demo/ |
| D | DEMOPuts.h | 56 extern void DEMOPuts ( s16, s16, s16, char* ); 57 extern void DEMOPrintf ( s16, s16, s16, char*, ... ); 61 extern void DEMOSetROMFontSize ( s16 size, s16 space ); 62 extern void DEMOGetROMFontSize ( s16* size, s16* space ); 66 extern int DEMORFPuts ( s16 x, s16 y, s16 z, char* string ); 67 extern int DEMORFPutsEx ( s16 x, s16 y, s16 z, char* string, s16 maxWidth, int … 68 extern int DEMORFPrintf ( s16 x, s16 y, s16 z, char* fmt, ... );
|
| /RvlSDK-3.3/build/libraries/demo/src/ |
| D | DEMOPuts.c | 342 void DEMOPuts( s16 x, s16 y, s16 z, char* string ) in DEMOPuts() 377 GXPosition3s16( (s16)(i*8+x ), (s16)(y ), z ); in DEMOPuts() 378 GXTexCoord2s16( (s16)(s ), (s16)(t ) ); in DEMOPuts() 379 GXPosition3s16( (s16)(i*8+x+8), (s16)(y ), z ); in DEMOPuts() 380 GXTexCoord2s16( (s16)(s+16 ), (s16)(t ) ); in DEMOPuts() 381 GXPosition3s16( (s16)(i*8+x+8), (s16)(y+8 ), z ); in DEMOPuts() 382 GXTexCoord2s16( (s16)(s+16 ), (s16)(t+16) ); in DEMOPuts() 383 GXPosition3s16( (s16)(i*8+x ), (s16)(y+8 ), z ); in DEMOPuts() 384 GXTexCoord2s16( (s16)(s ), (s16)(t+16) ); in DEMOPuts() 408 void DEMOPrintf( s16 x, s16 y, s16 z, char* fmt, ... ) in DEMOPrintf() [all …]
|
| D | DEMOAVX.c | 47 static s16 __AVX_internal_buffer[AVX_FRAME_SIZE_WORDS*AVX_INTERNAL_NUM_FRAMES] ATTRIBUTE_ALIGN(32); 57 static s16 *__AVX_left_buffer; // pointer to caller's left-channel sample buffer 58 static s16 *__AVX_right_buffer; // pointer to caller's right-channel sample buffer 195 … __AVX_left_buffer [__AVX_write_ptr] = (s16)(__AVX_buffer[curr_frame * AVX_FRAME_SIZE_WORDS + j]); in DEMOAVXRefreshBuffer() 196 …__AVX_right_buffer[__AVX_write_ptr] = (s16)(__AVX_buffer[curr_frame * AVX_FRAME_SIZE_WORDS + j + 1… in DEMOAVXRefreshBuffer() 227 void DEMOAVXInit(s16 *left, s16 *right, u32 size) in DEMOAVXInit()
|
| /RvlSDK-3.3/build/libraries/wpad/src/ |
| D | WPADClamp.c | 41 static void __ClampStickOctagon ( void *px, void *py, s16 max, s16 xy, s16 min, u8 type ); 42 static void __ClampStickCircle ( void *px, void *py, s16 radius, s16 min, u8 type ); 44 static void __ClampCube ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max ); 45 static void __ClampSphere ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max ); 51 s16 minStick; // the play of the control stick 52 s16 maxStick; 53 s16 xyStick; // max on x = y 54 s16 radStick; // max radius of the control stick 344 static void __ClampStickOctagon(void* px, void* py, s16 max, s16 xy, s16 min, u8 type) in __ClampStickOctagon() 359 x = *((s16*)px); in __ClampStickOctagon() [all …]
|
| /RvlSDK-3.3/include/revolution/ |
| D | wpad.h | 545 s16 x; // 0 <= x < WPAD_DPD_IMG_RESO_WX 546 s16 y; // 0 <= y < WPAD_DPD_IMG_RESO_WY 560 s16 range_x1; 561 s16 range_y1; 562 s16 range_x2; 563 s16 range_y2; 575 s16 accX; // -WPAD_ACC_RESO/2 <= accX < WPAD_ACC_RESO/2 576 s16 accY; // -WPAD_ACC_RESO/2 <= accY < WPAD_ACC_RESO/2 577 s16 accZ; // -WPAD_ACC_RESO/2 <= accZ < WPAD_ACC_RESO/2 587 s16 accX; // -WPAD_ACC_RESO/2 <= accX < WPAD_ACC_RESO/2 [all …]
|
| D | ax.h | 320 s16 aL; 321 s16 aAuxAL; 322 s16 aAuxBL; 323 s16 aAuxCL; 325 s16 aR; 326 s16 aAuxAR; 327 s16 aAuxBR; 328 s16 aAuxCR; 330 s16 aS; 331 s16 aAuxAS; [all …]
|
| /RvlSDK-3.3/build/demos/gxdemo/src/Tev/ |
| D | tev-ztex.c | 55 s16 xpos; // left 56 s16 ypos; // bottom 57 s16 zpos; 58 s16 width; 59 s16 height; 60 s16 s0; 61 s16 s1; 62 s16 t0; 63 s16 t1; 74 s16 waterLv; [all …]
|
| D | tev-complex.c | 125 s16* posArray; 126 s16* nrmArray; 127 s16* tcdArray; 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() 526 mo->tcdArray[cnt_t++] = (s16)(i * SCALE_Q / mo->numDiv0); in CreateModel() 527 mo->tcdArray[cnt_t++] = (s16)(j * SCALE_Q / mo->numDiv1); in CreateModel() 537 mo->posArray[cnt_p++] = (s16)(fr * cosf(ft) * SCALE_Q); in CreateModel() 538 mo->posArray[cnt_p++] = (s16)(fr * sinf(ft) * SCALE_Q); in CreateModel() [all …]
|
| D | tev-multi.c | 90 static s16 ModelVertices[8] ATTRIBUTE_ALIGN(32) = 227 GXSetArray(GX_VA_POS, ModelVertices, 2 * sizeof(s16)); in DrawInit() 497 GXPosition2s16((s16)(ALI_COL(i)+32), ALI_ROW(0)); in DrawLines() 498 GXPosition2s16((s16)(ALI_COL(i)+32), ALI_ROW(3)); in DrawLines() 500 GXPosition2s16((s16)(ALI_COL(i)+64), (s16)(ALI_ROW(3)+30)); in DrawLines() 501 GXPosition2s16((s16)(ALI_COL(i)+67), (s16)(ALI_ROW(3)+32)); in DrawLines() 503 GXPosition2s16((s16)(ALI_COL(i)+64), (s16)(ALI_ROW(3)+34)); in DrawLines() 504 GXPosition2s16((s16)(ALI_COL(i)+67), (s16)(ALI_ROW(3)+32)); in DrawLines() 654 s16 x; in DrawCaption() 660 x = (s16)ALI_COL(i); in DrawCaption() [all …]
|
| /RvlSDK-3.3/build/demos/wpaddemo/src/ |
| D | wpadsample.c | 1111 s16 x = X_START; in renderScreen() 1112 s16 y = Y_START; in renderScreen() 1113 s16 i; in renderScreen() 1121 DEMOPrintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH), y, 0, "Ch%d", i); in renderScreen() 1169 x = (s16)(X_START + 335 + row * 48); in renderScreen() 1170 y = (s16)(Y_START + FONT_HEIGHT * (26 + col)); in renderScreen() 1202 s16 x; in renderStatus() 1203 s16 y; in renderStatus() 1217 …DEMOPrintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH), y+=FONT_HEIGHT, 0, "%02x%02x:%02x%02x:%02x%02x… in renderStatus() 1220 …DEMOPrintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH), y+=FONT_HEIGHT, 0, "%s", getErrName((s8)stat)); in renderStatus() [all …]
|
| D | mplus.c | 445 DEMORFPrintf((s16)x, (s16)y, (s16)z, "%s", string); in myPrint() 449 DEMOPrintf((s16)x, (s16)y, (s16)z, "%s", string); in myPrint() 606 s16 x = X0_START; in renderStatus() 607 s16 y = Y0_START; in renderStatus() 654 x = (s16)(X1_START + COL_WIDTH * (i)); in renderStatus() 655 y = (s16)(Y0_START + FONT_HEIGHT); in renderStatus() 681 myPrint(x, y, 0, " %4d", (s16)(ptr->obj[0].x)); in renderStatus() 682 myPrint(x+35, y, 0, " %4d", (s16)(ptr->obj[0].y)); y+= FONT_HEIGHT; in renderStatus() 683 myPrint(x, y, 0, " %4d", (s16)(ptr->obj[1].x)); in renderStatus() 684 myPrint(x+35, y, 0, " %4d", (s16)(ptr->obj[1].y)); y+= FONT_HEIGHT; in renderStatus() [all …]
|
| /RvlSDK-3.3/build/demos/pmicdemo/src/ |
| D | audio.c | 72 s16* buffer; // <- mono 92 static s16* aiBuff[2]; 96 static s16* isoBuff; 103 static s16* srcBuff; 104 static s16 srcCoef[2][SRC_TAPS] = 142 static s32 fillVoice ( s16* buffer, s32 samples); 207 srcBuff = MEMAllocFromExpHeapEx(*heap, SRC_BUFF_SAMPLES * sizeof(s16), 32); in AUDIOInit() 208 memset(srcBuff, 0, SRC_BUFF_SAMPLES * sizeof(s16)); in AUDIOInit() 213 procInfo.buffer = MEMAllocFromExpHeapEx(*heap, PROC_BUFF_SAMPLES * sizeof(s16), 32); in AUDIOInit() 238 isoBuff = MEMAllocFromExpHeapEx(*heap, (AUDIO_SAMPLES_PER_FRAME / 2) * sizeof(s16) * 2, 32); in AUDIOInit() [all …]
|
| /RvlSDK-3.3/include/revolution/gx/ |
| D | GXEmVert.h | 44 void EmGXParam1s16( s16 x ); 55 void EmGXPosition3s16 ( s16 x, s16 y, s16 z ); 60 void EmGXPosition2s16 ( s16 x, s16 y ); 68 void EmGXNormal3s16 ( s16 x, s16 y, s16 z ); 83 void EmGXTexCoord2s16 ( s16 s, s16 t ); 88 void EmGXTexCoord1s16 ( s16 s );
|
| /RvlSDK-3.3/build/demos/osdemo/src/ |
| D | fontdemo1.c | 39 s16 posLeft = (s16) x; in DrawCell() 40 s16 posRight = (s16) (posLeft + FontData->cellWidth); in DrawCell() 41 s16 posTop = (s16) y; in DrawCell() 42 s16 posBottom = (s16) (posTop + FontData->cellHeight); in DrawCell() 44 s16 texLeft = (s16) xChar; in DrawCell() 45 s16 texRight = (s16) (xChar + FontData->cellWidth); in DrawCell() 46 s16 texTop = (s16) yChar; in DrawCell() 47 s16 texBottom = (s16) (yChar + FontData->cellHeight); in DrawCell()
|
| /RvlSDK-3.3/build/tools/sndconv/src/ |
| D | soundformat.c | 26 typedef void (*FUNCTION1)(s16*, s8*, ADPCMINFO*, u32); 42 s16 sample; in soundStereoCombine8Bit() 58 void soundStereoCombine16Bit(s16 *dest, s16 *source, u32 samples) in soundStereoCombine16Bit() 98 void soundStereoLeft16Bit(s16 *dest, s16 *source, u32 samples) in soundStereoLeft16Bit() 136 void soundStereoRight16Bit(s16 *dest, s16 *source, u32 samples) in soundStereoRight16Bit() 155 void soundConvert8to16Bit(s16 *dest, s8 *source, u32 samples) in soundConvert8to16Bit() 161 *dest = (s16)(*source << 8); in soundConvert8to16Bit() 172 void soundConvert16to8Bit(s8 *dest, s16 *source, u32 samples) in soundConvert16to8Bit() 189 void soundConvert16BitToAdpcm(void *dest, s16 *source, ADPCMINFO *adpcminfo, in soundConvert16BitToAdpcm() 199 void soundConvert16BitToAdpcmLoop(void *dest, s16 *source, ADPCMINFO *adpcminfo, in soundConvert16BitToAdpcmLoop()
|
| D | soundconv.h | 132 void soundStereoCombine16Bit (s16 *dest, s16 *source, u32 samples); 134 void soundStereoLeft16Bit (s16 *dest, s16 *source, u32 samples); 136 void soundStereoRight16Bit (s16 *dest, s16 *source, u32 samples); 137 void soundConvert8to16Bit (s16 *dest, s8 *source, u32 samples); 138 void soundConvert16to8Bit (s8 *dest, s16 *source, u32 samples); 139 void soundConvert16BitToAdpcm (void *, s16 *, ADPCMINFO *, u32 samples); 140 void soundConvert16BitToAdpcmLoop(void *, s16 *, ADPCMINFO *, u32 samples, u32 loopStart);
|
| /RvlSDK-3.3/build/demos/thpdemo/include/ |
| D | THPDraw.h | 38 s16 x, 39 s16 y, 40 s16 textureWidth, 41 s16 textureHeight, 42 s16 polygonWidth, 43 s16 polygonHeight );
|
| /RvlSDK-3.3/build/demos/gddemo/src/ |
| D | gd-light-gc.c | 84 static s16* VtxPosArray = NULL; 85 static s16* VtxNrmArray = NULL; 148 VtxPosArray = (s16*)OSAlloc(size * sizeof(s16)); in CreateModelVtxArray() 149 VtxNrmArray = (s16*)OSAlloc(size * sizeof(s16)); in CreateModelVtxArray() 162 VtxPosArray[cnt_p++] = (s16)(fr * cosf(ft) * SCALE_Q); in CreateModelVtxArray() 163 VtxPosArray[cnt_p++] = (s16)(fr * sinf(ft) * SCALE_Q); in CreateModelVtxArray() 164 VtxPosArray[cnt_p++] = (s16)(MODEL_R * sinf(fs) * SCALE_Q); in CreateModelVtxArray() 167 VtxNrmArray[cnt_n++] = (s16)(cosf(ft) * cosf(fs) * SCALE_Q); in CreateModelVtxArray() 168 VtxNrmArray[cnt_n++] = (s16)(sinf(ft) * cosf(fs) * SCALE_Q); in CreateModelVtxArray() 169 VtxNrmArray[cnt_n++] = (s16)(sinf(fs) * SCALE_Q); in CreateModelVtxArray() [all …]
|
| D | gd-tev-gc.c | 106 s16* posArray; 107 s16* nrmArray; 108 s16* tcdArray; 621 mo->posArray = (s16*)OSAlloc(size_p * sizeof(s16)); in CreateModelVtxArray() 622 mo->nrmArray = (s16*)OSAlloc(size_n * sizeof(s16)); in CreateModelVtxArray() 623 mo->tcdArray = (s16*)OSAlloc(size_t * sizeof(s16)); in CreateModelVtxArray() 645 mo->posArray[cnt_p++] = (s16)(((f32)j*2 / MODEL_MESHX - 1.0F) * QSCALE); in CreateModelVtxArray() 646 mo->posArray[cnt_p++] = (s16)(((f32)i*2 / MODEL_MESHY - 1.0F) * QSCALE); in CreateModelVtxArray() 647 mo->posArray[cnt_p++] = (s16)(MODEL_ZSCALE * ct * cp * QSCALE); in CreateModelVtxArray() 650 mo->nrmArray[cnt_n++] = (s16)(nn * -dzdt * QSCALE); in CreateModelVtxArray() [all …]
|
| /RvlSDK-3.3/include/win32/ |
| D | dsptool.h | 54 s16 coef[16]; 57 s16 yn1; 58 s16 yn2; 62 s16 loop_yn1; 63 s16 loop_yn2; 82 s16 *src, // location of source samples (16bit PCM signed little endian) 91 s16 *dst, // location of destination buffer (16 bits / sample)
|
| D | thpaudio.h | 73 #define THPGetDecDataPtr(x, y) (s16 *)((u32)(x) + (y) * 2) 109 s16* leftDecodedPtr; 110 s16* rightDecodedPtr; 116 s16 leftSampleBuffer [THP_SAMPLE_BUFFER_SIZE]; 117 s16 rightSampleBuffer [THP_SAMPLE_BUFFER_SIZE]; 118 s16 leftDecodedBuffer [THP_SAMPLE_BUFFER_SIZE]; 119 s16 rightDecodedBuffer[THP_SAMPLE_BUFFER_SIZE];
|
| /RvlSDK-3.3/build/demos/gxdemo/src/PixelProc/ |
| D | cmn-model.c | 125 GXPosition2s16( (s16)(i*STEP+ORGX), (s16)( ORGY) ); in cmModel0_Draw() 126 GXPosition2s16( (s16)(i*STEP+ORGX), (s16)((GRIDY-1)*STEP+ORGY) ); in cmModel0_Draw() 132 GXPosition2s16( (s16)( ORGX), (s16)(i*STEP+ORGY) ); in cmModel0_Draw() 133 GXPosition2s16( (s16)((GRIDX-1)*STEP+ORGX), (s16)(i*STEP+ORGY) ); in cmModel0_Draw() 315 static s16 obj2_height[11][12] = { 0 }; 349 obj2_height[i][obj2_ybase] = (s16)h; in cmModel2_Anim() 450 GXPosition3s16( (s16)(sx), (s16)(sy), in cmModel2_Draw() 451 (s16)obj2_height[i][y0] ); in cmModel2_Draw() 453 GXPosition3s16( (s16)(sx), (s16)(sy+MESHSTEP), in cmModel2_Draw() 454 (s16)obj2_height[i][y1] ); in cmModel2_Draw() [all …]
|
| /RvlSDK-3.3/build/tools/dls1wt/src/ |
| D | dspadpcm.h | 37 s16 coef[16]; 40 s16 yn1; 41 s16 yn2; 45 s16 loop_yn1; 46 s16 loop_yn2;
|
| /RvlSDK-3.3/build/tools/dspadpcm/src/ |
| D | dspadpcm.h | 47 s16 coef[16]; 50 s16 yn1; 51 s16 yn2; 55 s16 loop_yn1; 56 s16 loop_yn2;
|
| /RvlSDK-3.3/build/libraries/G2D/src/ |
| D | G2D.c | 168 s32 *nScanLine, s32 nEvent, s16 *nIdx, in FillSection() 175 s16 nMaterial; in FillSection() 176 s16 *pAddr; in FillSection() 195 pAddr = (s16 *)&layer->matDesc[nMaterial].nReserved; in FillSection() 201 *((s16 *)&aSortBuffer[*pAddr]) = (s16)(*pAddr - *nIdx); in FillSection() 252 pAddr = (s16 *)&layer->matDesc[nMaterial].nReserved; in FillSection() 258 *((s16 *)&aSortBuffer[*pAddr]) = (s16)(*pAddr - *nIdx); in FillSection() 290 pAddr = (s16 *)&layer->matDesc[nMaterial].nReserved; in FillSection() 296 *((s16 *)&aSortBuffer[*pAddr]) = (s16)(*pAddr - *nIdx); in FillSection() 347 pAddr = (s16 *)&layer->matDesc[nMaterial].nReserved; in FillSection() [all …]
|