Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 14 of 14) sorted by relevance

/TwlSDK-5.1.0/build/libraries/fx/common/src/
Dfx_vec.c377 void VEC_MultAdd(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest) in VEC_MultAdd() argument
379 SDK_NULL_ASSERT(v1); in VEC_MultAdd()
383 pDest->x = v2->x + (fx32)(((fx64)a * v1->x) >> FX32_SHIFT); in VEC_MultAdd()
384 pDest->y = v2->y + (fx32)(((fx64)a * v1->y) >> FX32_SHIFT); in VEC_MultAdd()
385 pDest->z = v2->z + (fx32)(((fx64)a * v1->z) >> FX32_SHIFT); in VEC_MultAdd()
401 void VEC_MultSubtract(fx32 a, const VecFx32 *v1, const VecFx32 *v2, VecFx32 *pDest) in VEC_MultSubtract() argument
403 SDK_NULL_ASSERT(v1); in VEC_MultSubtract()
407 pDest->x = -v2->x + (fx32)(((fx64)a * v1->x) >> FX32_SHIFT); in VEC_MultSubtract()
408 pDest->y = -v2->y + (fx32)(((fx64)a * v1->y) >> FX32_SHIFT); in VEC_MultSubtract()
409 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.1.0/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.1.0/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.1.0/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.1.0/build/demos/fx/test/src/
Dfx_append_vec.c501 VecFx32 v1; in VEC_DotCrossProduct_test_() local
517 v1.x = FX_CosIdx(ang45); in VEC_DotCrossProduct_test_()
518 v1.y = FX_SinIdx(ang45); in VEC_DotCrossProduct_test_()
519 v1.z = 0x0; in VEC_DotCrossProduct_test_()
530 v1.x = FX_Mul(v1.x, FX32_ONE << j); in VEC_DotCrossProduct_test_()
531 v1.y = FX_Mul(v1.y, FX32_ONE << j); in VEC_DotCrossProduct_test_()
538 errDot = GetDotProductError_(&v1, &v2); in VEC_DotCrossProduct_test_()
539 errCross = GetCrossProductError_(&v1, &v3); in VEC_DotCrossProduct_test_()
561 printVecFx32Msg("v1 = ", &v1); in VEC_DotCrossProduct_test_()
/TwlSDK-5.1.0/build/libraries/os/common/src/
Dos_application_jump.c104 OSi_GetLauncherParam()->body.v1.prevTitleID = *(OSTitleId *)(HW_TWL_ROM_HEADER_BUF + 0x230); in OS_SetLauncherParamAndResetHardware()
105 OSi_GetLauncherParam()->body.v1.bootTitleID = id; in OS_SetLauncherParamAndResetHardware()
106 OSi_GetLauncherParam()->body.v1.flags = *flag; in OS_SetLauncherParamAndResetHardware()
112 …ArgEncoded() != TRUE || OS_GetTitleIdLastEncoded() != OSi_GetLauncherParam()->body.v1.prevTitleID ) in OS_SetLauncherParamAndResetHardware()
/TwlSDK-5.1.0/build/libraries/os/common/include/
Dapplication_jump_private.h79 }v1; member
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_CharBg_Direct/pictures/
Dpicture_256_256.ppm68 …gD2%{���������������������������������������������������������������ŵ_3b#o.y2w1{3|3v1d*_'
88 …%��ե��������������������������������������������������������ƶd9 g#j,s0z3�6}45{3}4v1k,`(
114 g' {3|3v1p/r/l-h+c)
122 …ɦ������������������������������������������������y�o]�c4լq�Έ�z��Q|=u. x1p/o.v1p.h+d*S" K
130 v1x2z3t0j,e*S# K
140 ~3{3v1n.b)
217 ��[�z��]7!! 5s0w2{3u1u1v1s0n.d*e*`(
239 A �6{35�6y2�5v1n-v1o.p.i,\&
247 …u��|�؊�ԇ�Ѕ�х��ָuΰp��h��Y��Q�nIcS;�mJ^E- �&�[;��}�À�}R0 $O �6�5v1x2|3w1l-g+q/p.…
276 o.d*o.w1v1x1r/w1p.v1}4o.d)\& P! O!
[all …]
/TwlSDK-5.1.0/build/libraries/mi/common/src/
Dmi_memory.c543 const u32 v1 = *p1; in MIi_CpuComp32() local
546 if( v1 != v2 ) in MIi_CpuComp32()
548 return (v1 < v2) ? -1: 1; in MIi_CpuComp32()
/TwlSDK-5.1.0/build/demos/gx/UnitTours/2D_BmpBg_MainRam/pictures/
Dpicture_256_192_c.ppm2190 …?C+ ��~���kcPD8'XMFC>3MM>'##G>*geN?@,d]K_YHohQxp^qngc\L~q_|vea[IhbE��v1+ QE/vu`PO:aWA������]…