Home
last modified time | relevance | path

Searched refs:v2 (Results 1 – 11 of 11) sorted by relevance

/TwlSDK-5.4/build/libraries/fx/common/src/
Dfx_vec.c379 void VEC_MultAdd(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest) in VEC_MultAdd() argument
382 SDK_NULL_ASSERT(v2); in VEC_MultAdd()
385 pDest->x = v2->x + (fx32)(((fx64)a * v1->x) >> FX32_SHIFT); in VEC_MultAdd()
386 pDest->y = v2->y + (fx32)(((fx64)a * v1->y) >> FX32_SHIFT); in VEC_MultAdd()
387 pDest->z = v2->z + (fx32)(((fx64)a * v1->z) >> FX32_SHIFT); in VEC_MultAdd()
403 void VEC_MultSubtract(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest) in VEC_MultSubtract() argument
406 SDK_NULL_ASSERT(v2); in VEC_MultSubtract()
409 pDest->x = -v2->x + (fx32)(((fx64)a * v1->x) >> FX32_SHIFT); in VEC_MultSubtract()
410 pDest->y = -v2->y + (fx32)(((fx64)a * v1->y) >> FX32_SHIFT); in VEC_MultSubtract()
411 pDest->z = -v2->z + (fx32)(((fx64)a * v1->z) >> FX32_SHIFT); in VEC_MultSubtract()
[all …]
Dfx.c138 fx32 FX_MulFunc(fx32 v1, fx32 v2) in FX_MulFunc() argument
140 return FX32_CAST(((s64)(v1) * v2 + 0x800LL) >> FX32_SHIFT); in FX_MulFunc()
/TwlSDK-5.4/include/nitro/fx/
Dfx.h52 #define FX_MUL(v1, v2) FX32_CAST(((fx64)(v1) * (v2) + 0x800LL) >> FX32_SHIFT) argument
53 #define FX_MUL32x64C(v1, v2) FX32_CAST(((v2) * (v1) + 0x80000000LL) >> 32) argument
335 fx32 FX_MulFunc(fx32 v1, fx32 v2);
336 SDK_DECL_INLINE fx32 FX_MulInline(fx32 v1, fx32 v2);
338 SDK_INLINE fx32 FX_MulInline(fx32 v1, fx32 v2) in FX_MulInline() argument
340 return FX32_CAST(((s64)(v1) * v2 + 0x800LL) >> FX32_SHIFT); in FX_MulInline()
345 #define FX_Mul(v1, v2) FX_MulInline(v1, v2) argument
347 #define FX_Mul(v1, v2) FX_MulFunc(v1, v2) argument
Dfx_vec.h40 fx32 VEC_Distance(const VecFx32 *v1, const VecFx32 *v2);
42 void VEC_MultAdd(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest);
43 void VEC_MultSubtract(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest);
51 fx32 VEC_Fx16Distance(const VecFx16 *v1, const VecFx16 *v2);
/TwlSDK-5.4/include/nitro/
Dcode32.h40 #define FX_Mul(v1, v2) FX_MulInline(v1, v2) argument
Dcode16.h37 #define FX_Mul(v1, v2) FX_MulFunc(v1, v2) argument
/TwlSDK-5.4/include/twl/
Dcode16.h37 #define FX_Mul(v1, v2) FX_MulFunc(v1, v2) argument
Dcode32.h40 #define FX_Mul(v1, v2) FX_MulInline(v1, v2) argument
/TwlSDK-5.4/build/demos/fx/test/src/
Dfx_append_vec.c502 VecFx32 v2; in VEC_DotCrossProduct_test_() local
520 v2.x = FX_CosIdx(ang45 + angD * i); in VEC_DotCrossProduct_test_()
521 v2.y = -FX_SinIdx(ang45 + angD * i); in VEC_DotCrossProduct_test_()
522 v2.z = 0x0; // Orthogonal in VEC_DotCrossProduct_test_()
532 v2.x = FX_Mul(v2.x, FX32_ONE << j); in VEC_DotCrossProduct_test_()
533 v2.y = FX_Mul(v2.y, FX32_ONE << j); in VEC_DotCrossProduct_test_()
538 errDot = GetDotProductError_(&v1, &v2); in VEC_DotCrossProduct_test_()
562 printVecFx32Msg("v2(perpendicular to v1) = ", &v2); in VEC_DotCrossProduct_test_()
/TwlSDK-5.4/build/libraries/mi/common/src/
Dmi_memory.c544 const u32 v2 = *p2; in MIi_CpuComp32() local
546 if( v1 != v2 ) in MIi_CpuComp32()
548 return (v1 < v2) ? -1: 1; in MIi_CpuComp32()
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_CharBg_Direct/pictures/
Dpicture_256_256.ppm326 D =B :1" W$ w1v2�kD��aۧo�u�y��~��ł�ƃ�ȃ�ȃ�ǃ�ł�����~�{�x�u�rܩoӣkɜg��a��[��T�xO�pJ�gDrY…
980 k- v2