Home
last modified time | relevance | path

Searched refs:f32 (Results 1 – 25 of 54) sorted by relevance

123

/CafeSDK-2.12.13/system/src/lib/mtx/headers/cafe/mtx/
DmtxGeoTypes.h30 f32 x; ///< X Component
31 f32 y; ///< Y Component
32 f32 z; ///< Z Component
38 f32 x; ///< X component
39 f32 y; ///< Y component
61 f32 x, y, z, w;
73 typedef f32 Mtx[3][4];
76 typedef f32 (*MtxPtr)[4];
82 typedef f32 ROMtx[4][3];
87 typedef f32 (*ROMtxPtr)[3];
[all …]
Dmtx44.h203 void C_MTX44Trans ( Mtx44 m, f32 xT, f32 yT, f32 zT );
223 void C_MTX44TransApply ( MTX_CONST Mtx44 src, Mtx44 dst, f32 xT, f32 yT, f32 zT );
239 void C_MTX44Scale ( Mtx44 m, f32 xS, f32 yS, f32 zS );
259 void C_MTX44ScaleApply ( MTX_CONST Mtx44 src, Mtx44 dst, f32 xS, f32 yS, f32 zS );
276 void C_MTX44RotRad ( Mtx44 m, char axis, f32 rad );
294 void C_MTX44RotTrig ( Mtx44 m, char axis, f32 sinA, f32 cosA );
311 void C_MTX44RotAxisRad ( Mtx44 m, const Vec *axis, f32 rad);
316 void PSMTX44Trans ( Mtx44 m, f32 xT, f32 yT, f32 zT );
317 void PSMTX44TransApply ( MTX_CONST Mtx44 src, Mtx44 dst, f32 xT, f32 yT, f32 zT );
318 void PSMTX44Scale ( Mtx44 m, f32 xS, f32 yS, f32 zS );
[all …]
DmatVec.h328 static inline void MAT34Trans ( Mat34 *m, f32 xT, f32 yT, f32 zT ) in MAT34Trans()
349 static inline void MAT34TransApply ( const Mat34 *src, Mat34 *dst, f32 xT, f32 yT, f32 zT ) in MAT34TransApply()
366 static inline void MAT34Scale ( Mat34 *m, f32 xS, f32 yS, f32 zS ) in MAT34Scale()
387 static inline void MAT34ScaleApply ( const Mat34 *src, Mat34 *dst, f32 xS, f32 yS, f32 zS ) in MAT34ScaleApply()
406 static inline void MAT34RotRad ( Mat34 *m, char axis, f32 rad ) in MAT34RotRad()
425 static inline void MAT34RotTrig ( Mat34 *m, char axis, f32 sinA, f32 cosA ) in MAT34RotTrig()
443 static inline void MAT34RotAxisRad ( Mat34 *m, const Vec *axis, f32 rad ) in MAT34RotAxisRad()
527 static inline void MAT44Frustum ( Mat44 *m, f32 t, f32 b, f32 l, f32 r, f32 n, f32 f ) in MAT44Frustum()
545 static inline void MAT44Perspective ( Mat44 *m, f32 fovY, f32 aspect, f32 n, f32 f ) in MAT44Perspective()
565 static inline void MAT44Ortho ( Mat44 *m, f32 t, f32 b, f32 l, f32 r, f32 n, f32 f ) in MAT44Ortho()
[all …]
DmtxVec.h513 void C_MTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT );
533 void C_MTXTransApply ( MTX_CONST Mtx src, Mtx dst, f32 xT, f32 yT, f32 zT );
549 void C_MTXScale ( Mtx m, f32 xS, f32 yS, f32 zS );
569 void C_MTXScaleApply ( MTX_CONST Mtx src, Mtx dst, f32 xS, f32 yS, f32 zS );
587 void C_MTXRotRad ( Mtx m, char axis, f32 rad );
605 void C_MTXRotTrig ( Mtx m, char axis, f32 sinA, f32 cosA );
622 void C_MTXRotAxisRad ( Mtx m, const Vec *axis, f32 rad );
630 void PSMTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT );
631 void PSMTXTransApply( Mtx src, Mtx dst, f32 xT, f32 yT, f32 zT );
632 void PSMTXScale ( Mtx m, f32 xS, f32 yS, f32 zS );
[all …]
Dmat44.h144 static inline void MAT44Trans ( Mat44 *m, f32 xT, f32 yT, f32 zT ) in MAT44Trans()
165 static inline void MAT44TransApply ( const Mat44 *src, Mat44 *dst, f32 xT, f32 yT, f32 zT ) in MAT44TransApply()
182 static inline void MAT44Scale ( Mat44 *m, f32 xS, f32 yS, f32 zS ) in MAT44Scale()
203 static inline void MAT44ScaleApply ( const Mat44 *src, Mat44 *dst, f32 xS, f32 yS, f32 zS ) in MAT44ScaleApply()
222 static inline void MAT44RotRad ( Mat44 *m, char axis, f32 rad ) in MAT44RotRad()
241 static inline void MAT44RotTrig ( Mat44 *m, char axis, f32 sinA, f32 cosA ) in MAT44RotTrig()
259 static inline void MAT44RotAxisRad ( Mat44 *m, const Vec *axis, f32 rad) in MAT44RotAxisRad()
/CafeSDK-2.12.13/system/include/cafe/mtx/
DmtxGeoTypes.h30 f32 x; ///< X Component
31 f32 y; ///< Y Component
32 f32 z; ///< Z Component
38 f32 x; ///< X component
39 f32 y; ///< Y component
61 f32 x, y, z, w;
73 typedef f32 Mtx[3][4];
76 typedef f32 (*MtxPtr)[4];
82 typedef f32 ROMtx[4][3];
87 typedef f32 (*ROMtxPtr)[3];
[all …]
Dmtx44.h203 void C_MTX44Trans ( Mtx44 m, f32 xT, f32 yT, f32 zT );
223 void C_MTX44TransApply ( MTX_CONST Mtx44 src, Mtx44 dst, f32 xT, f32 yT, f32 zT );
239 void C_MTX44Scale ( Mtx44 m, f32 xS, f32 yS, f32 zS );
259 void C_MTX44ScaleApply ( MTX_CONST Mtx44 src, Mtx44 dst, f32 xS, f32 yS, f32 zS );
276 void C_MTX44RotRad ( Mtx44 m, char axis, f32 rad );
294 void C_MTX44RotTrig ( Mtx44 m, char axis, f32 sinA, f32 cosA );
311 void C_MTX44RotAxisRad ( Mtx44 m, const Vec *axis, f32 rad);
316 void PSMTX44Trans ( Mtx44 m, f32 xT, f32 yT, f32 zT );
317 void PSMTX44TransApply ( MTX_CONST Mtx44 src, Mtx44 dst, f32 xT, f32 yT, f32 zT );
318 void PSMTX44Scale ( Mtx44 m, f32 xS, f32 yS, f32 zS );
[all …]
DmatVec.h328 static inline void MAT34Trans ( Mat34 *m, f32 xT, f32 yT, f32 zT ) in MAT34Trans()
349 static inline void MAT34TransApply ( const Mat34 *src, Mat34 *dst, f32 xT, f32 yT, f32 zT ) in MAT34TransApply()
366 static inline void MAT34Scale ( Mat34 *m, f32 xS, f32 yS, f32 zS ) in MAT34Scale()
387 static inline void MAT34ScaleApply ( const Mat34 *src, Mat34 *dst, f32 xS, f32 yS, f32 zS ) in MAT34ScaleApply()
406 static inline void MAT34RotRad ( Mat34 *m, char axis, f32 rad ) in MAT34RotRad()
425 static inline void MAT34RotTrig ( Mat34 *m, char axis, f32 sinA, f32 cosA ) in MAT34RotTrig()
443 static inline void MAT34RotAxisRad ( Mat34 *m, const Vec *axis, f32 rad ) in MAT34RotAxisRad()
527 static inline void MAT44Frustum ( Mat44 *m, f32 t, f32 b, f32 l, f32 r, f32 n, f32 f ) in MAT44Frustum()
545 static inline void MAT44Perspective ( Mat44 *m, f32 fovY, f32 aspect, f32 n, f32 f ) in MAT44Perspective()
565 static inline void MAT44Ortho ( Mat44 *m, f32 t, f32 b, f32 l, f32 r, f32 n, f32 f ) in MAT44Ortho()
[all …]
DmtxVec.h513 void C_MTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT );
533 void C_MTXTransApply ( MTX_CONST Mtx src, Mtx dst, f32 xT, f32 yT, f32 zT );
549 void C_MTXScale ( Mtx m, f32 xS, f32 yS, f32 zS );
569 void C_MTXScaleApply ( MTX_CONST Mtx src, Mtx dst, f32 xS, f32 yS, f32 zS );
587 void C_MTXRotRad ( Mtx m, char axis, f32 rad );
605 void C_MTXRotTrig ( Mtx m, char axis, f32 sinA, f32 cosA );
622 void C_MTXRotAxisRad ( Mtx m, const Vec *axis, f32 rad );
630 void PSMTXTrans ( Mtx m, f32 xT, f32 yT, f32 zT );
631 void PSMTXTransApply( Mtx src, Mtx dst, f32 xT, f32 yT, f32 zT );
632 void PSMTXScale ( Mtx m, f32 xS, f32 yS, f32 zS );
[all …]
Dmat44.h144 static inline void MAT44Trans ( Mat44 *m, f32 xT, f32 yT, f32 zT ) in MAT44Trans()
165 static inline void MAT44TransApply ( const Mat44 *src, Mat44 *dst, f32 xT, f32 yT, f32 zT ) in MAT44TransApply()
182 static inline void MAT44Scale ( Mat44 *m, f32 xS, f32 yS, f32 zS ) in MAT44Scale()
203 static inline void MAT44ScaleApply ( const Mat44 *src, Mat44 *dst, f32 xS, f32 yS, f32 zS ) in MAT44ScaleApply()
222 static inline void MAT44RotRad ( Mat44 *m, char axis, f32 rad ) in MAT44RotRad()
241 static inline void MAT44RotTrig ( Mat44 *m, char axis, f32 sinA, f32 cosA ) in MAT44RotTrig()
259 static inline void MAT44RotAxisRad ( Mat44 *m, const Vec *axis, f32 rad) in MAT44RotAxisRad()
/CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/
DdemoFont.h33 f32 *charMagScale;
36 f32 charMagScaleF[2]; // xxx should it be [4]?
39 f32 charMagScaleP[2]; // xxx should it be [4]?
42 f32 depth;
45 f32 color[4];
95 inline void DEMOFontSetViewport(f32 xOrig, f32 yOrig, f32 width, f32 height) in DEMOFontSetViewport()
128 void DEMOFontPrintf(f32 column, f32 line, const char* pFmt, ... );
137 void DEMOFontPuts(f32 column, f32 line, const char* pStr);
145 void DEMOFontSetColor(f32 r, f32 g, f32 b, f32 a);
151 void DEMOFontSetGridSize(f32 xGrid, f32 yGrid);
[all …]
/CafeSDK-2.12.13/system/include/cafe/demo/
DdemoFont.h33 f32 *charMagScale;
36 f32 charMagScaleF[2]; // xxx should it be [4]?
39 f32 charMagScaleP[2]; // xxx should it be [4]?
42 f32 depth;
45 f32 color[4];
95 inline void DEMOFontSetViewport(f32 xOrig, f32 yOrig, f32 width, f32 height) in DEMOFontSetViewport()
128 void DEMOFontPrintf(f32 column, f32 line, const char* pFmt, ... );
137 void DEMOFontPuts(f32 column, f32 line, const char* pStr);
145 void DEMOFontSetColor(f32 r, f32 g, f32 b, f32 a);
151 void DEMOFontSetGridSize(f32 xGrid, f32 yGrid);
[all …]
/CafeSDK-2.12.13/system/include/cafe/
Daxfx.h177 f32 *earlyLine[3];
181 f32 earlyCoef[3];
182 f32 *preDelayLine[3];
186 f32 *combLine[3][3];
190 f32 combCoef[3];
191 f32 *allpassLine[3][2];
195 f32 *lastAllpassLine[3];
199 f32 allpassCoef;
200 f32 lastLpfOut[3];
201 f32 lpfCoef;
[all …]
Daxart.h70 f32 *lfo; // lfo samples in RAM
72 f32 delta; // lfo delta per 5ms
75 f32 counter; // lfo counter
76 f32 sample1; // lfo last sample for interpolation
77 f32 sample; // lfo sample
78 f32 output; // lfo output
89 extern f32 AXARTSine[AXART_SINE_SAMPLES];
90 extern f32 AXARTSquare[AXART_SQUARE_SAMPLES];
91 extern f32 AXARTSaw[AXART_SAW_SAMPLES];
92 extern f32 AXARTReverseSaw[AXART_REVERSESAW_SAMPLES];
[all …]
/CafeSDK-2.12.13/system/include/cafe/vpad/
DvpadAPIs.h32 f32 play_radius, f32 sensitivity ) ;
34 f32 *play_radius, f32 *sensitivity ) ;
36 void VPADSetBtnRepeat ( s32 chan, f32 delay_sec, f32 pulse_sec ) ;
50 f32 rot_deg,
51 f32 xy_deg,
52 f32 radius );
54 f32 rot_deg,
55 f32 xy_deg,
56 f32 radius );
58 f32* rot_deg,
[all …]
/CafeSDK-2.12.13/system/include/cafe/pads/kpad/
Dkpad.h162 f32 left;
163 f32 top;
164 f32 right;
165 f32 bottom;
173 f32 acc_value ;
174 f32 acc_speed ;
189 f32 ltrigger ;
190 f32 rtrigger ;
239 f32 acc_value ;
240 f32 acc_speed ;
[all …]
/CafeSDK-2.12.13/system/include/cafe/gx2/
Dgx2RenderStateReg.h66 f32 f32All;
99 f32 f32All;
126 f32 f32All;
372 f32 ref);
386 f32 *pRef);
448 f32 frontOffset, f32 frontSlopeScale,
449 f32 backOffset, f32 backSlopeScale, f32 clamp);
464 f32 *pFrontOffset, f32 *pFrontSlopeScale,
465 f32 *pBackOffset, f32 *pBackSlopeScale, f32 *pClamp);
716 f32 red, f32 green, f32 blue, f32 alpha);
[all …]
Dgx2RenderState.h243 f32 ref);
279 void GX2API GX2SetPolygonOffset(f32 frontOffset, f32 frontSlopeScale,
280 f32 backOffset, f32 backSlopeScale, f32 clamp);
412 void GX2API GX2SetBlendConstantColor(f32 red, f32 green, f32 blue, f32 alpha);
430 void GX2API GX2SetPointSize(f32 width, f32 height);
448 void GX2API GX2SetPointLimits(f32 min, f32 max);
461 void GX2API GX2SetLineWidth(f32 width);
477 void GX2API GX2SetViewport(f32 xOrig, f32 yOrig, f32 wd, f32 ht, f32 nearZ, f32 farZ);
494 GX2_INLINE void GX2SetViewportHalfZ(f32 xOrig, f32 yOrig, f32 wd, f32 ht, f32 in GX2SetViewportHalfZ()
495 nearZ, f32 farZ) { in GX2SetViewportHalfZ()
Dgx2Draw.h58 f32 r, f32 g, f32 b, f32 a);
85 f32 depthValue,
127 f32 r, f32 g, f32 b, f32 a,
128 f32 depthValue,
203 f32 r, f32 g, f32 b, f32 a, in GX2ClearBuffers()
223 f32 depthValue, u8 stencilValue);
232 void GX2API GX2SetClearDepth(GX2DepthBuffer *depthBuffer, f32 depthValue);
Dgx2Texture.h369 f32 minLOD,
370 f32 maxLOD,
371 f32 LODBias);
431 f32 red, f32 green, f32 blue, f32 alpha);
450 f32 red, f32 green, f32 blue, f32 alpha);
469 f32 red, f32 green, f32 blue, f32 alpha);
491 f32 red, f32 green, f32 blue, f32 alpha);
531 f32 anisoBias,
/CafeSDK-2.12.13/system/include/cafe/gx2ut/
Dgx2utClear.h95 f32 r, f32 g, f32 b, f32 a, f32 depthClear, u8 stencilClear,
139 f32 r, f32 g, f32 b, f32 a, in GX2UTClearOp()
140 f32 depthClear, u8 stencilClear, in GX2UTClearOp()
222 f32 r, f32 g, f32 b, f32 a, in GX2UTClearSurfaceRect()
223 GX2DepthBuffer *depthBuffer, f32 depthClear, in GX2UTClearSurfaceRect()
311 void* dstAuxPtr, u32 dstAuxSize, f32 r, f32 g, f32 b, f32 a, in GX2UTSetAndClearSurfaceRect()
312 GX2DepthBuffer *depthBuffer, f32 depthClear, u8 stencilClear, in GX2UTSetAndClearSurfaceRect()
385 f32 r, f32 g, f32 b, f32 a, in GX2UTClearSurface()
387 f32 depthClear, u8 stencilClear, in GX2UTClearSurface()
454 f32 r, f32 g, f32 b, f32 a, in GX2UTClearBuffersEx()
[all …]
/CafeSDK-2.12.13/system/src/lib/gx2ut/headers/cafe/gx2ut/
Dgx2utClear.h95 f32 r, f32 g, f32 b, f32 a, f32 depthClear, u8 stencilClear,
139 f32 r, f32 g, f32 b, f32 a, in GX2UTClearOp()
140 f32 depthClear, u8 stencilClear, in GX2UTClearOp()
222 f32 r, f32 g, f32 b, f32 a, in GX2UTClearSurfaceRect()
223 GX2DepthBuffer *depthBuffer, f32 depthClear, in GX2UTClearSurfaceRect()
311 void* dstAuxPtr, u32 dstAuxSize, f32 r, f32 g, f32 b, f32 a, in GX2UTSetAndClearSurfaceRect()
312 GX2DepthBuffer *depthBuffer, f32 depthClear, u8 stencilClear, in GX2UTSetAndClearSurfaceRect()
385 f32 r, f32 g, f32 b, f32 a, in GX2UTClearSurface()
387 f32 depthClear, u8 stencilClear, in GX2UTClearSurface()
454 f32 r, f32 g, f32 b, f32 a, in GX2UTClearBuffersEx()
[all …]
/CafeSDK-2.12.13/system/include/cafe/os/
DOSFastCast.h144 static inline f32 OSu8tof32Value(const u8* in) in OSu8tof32Value()
150 static inline void OSu8tof32(const u8* in, volatile f32* out) in OSu8tof32()
155 static inline f32 OSu16tof32Value(const u16 * in) in OSu16tof32Value()
161 static inline void OSu16tof32(const u16* in, volatile f32* out) in OSu16tof32()
166 static inline f32 OSs8tof32Value(const s8 * in) in OSs8tof32Value()
172 static inline void OSs8tof32(const s8* in, volatile f32* out) in OSs8tof32()
177 static inline f32 OSs16tof32Value(const s16 * in) in OSs16tof32Value()
183 static inline void OSs16tof32(const s16* in, volatile f32* out) in OSs16tof32()
192 static inline void OSf32tou8(const f32* in, volatile u8* out) in OSf32tou8()
198 static inline u8 __OSf32tou8Value(const f32 in) in __OSf32tou8Value()
[all …]
/CafeSDK-2.12.13/system/src/lib/mtx/
Dmtx44.c70 void C_MTXFrustum ( Mtx44 m, f32 t, f32 b, f32 lf, f32 r, f32 n, f32 f ) in C_MTXFrustum()
72 f32 tmp; in C_MTXFrustum()
131 void C_MTXPerspective ( Mtx44 m, f32 fovY, f32 aspect, f32 n, f32 f ) in C_MTXPerspective()
133 f32 angle; in C_MTXPerspective()
134 f32 cot; in C_MTXPerspective()
135 f32 tmp; in C_MTXPerspective()
200 void C_MTXOrtho ( Mtx44 m, f32 t, f32 b, f32 lf, f32 r, f32 n, f32 f ) in C_MTXOrtho()
202 f32 tmp; in C_MTXOrtho()
875 #define SWAPF(a,b) { f32 tmp; tmp = (a); (a) = (b); (b)=tmp; }
881 f32 w; in C_MTX44Inverse()
[all …]
/CafeSDK-2.12.13/system/src/lib/demo/
DdemoFont.c59 f32 fontTextureWidth;
62 f32 fontTextureHeight;
68 f32 gridOffsetY;
71 f32 gridOffsetX;
102 static void UpdateScale(DEMOFontFontData* pFont, f32 scaleX, f32 scaleY);
184 void DEMOFontPrintf(f32 column, f32 line, const char* pFmt, ... ) in DEMOFontPrintf()
208 void DEMOFontPuts(f32 column, f32 line, const char* pStr) in DEMOFontPuts()
215 f32 basePos[3]; in DEMOFontPuts()
249 basePos[0] = (f32) offsetX; in DEMOFontPuts()
250 basePos[1] = (f32) offsetY; in DEMOFontPuts()
[all …]

123