Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 22 of 22) sorted by relevance

/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Types.ipp53 VEC2 tmp;
57 tmp.x = pV->x;
58 tmp.y = pV->y;
59 pVec = &tmp;
132 VEC3 tmp;
133 tmp.x = pM->f._00 * pV->x + pM->f._01 * pV->y + pM->f._02 * pV->z;
134 tmp.y = pM->f._10 * pV->x + pM->f._11 * pV->y + pM->f._12 * pV->z;
135 tmp.z = pM->f._20 * pV->x + pM->f._21 * pV->y + pM->f._22 * pV->z;
137 pOut->x = tmp.x;
138 pOut->y = tmp.y;
[all …]
Dmath_Matrix44.ipp109 f32 tmp = m[0][0];
111 m[1][0] = sin * tmp;
113 tmp = m[0][1];
115 m[1][1] = sin * tmp;
117 tmp = m[0][2];
119 m[1][2] = sin * tmp;
121 tmp = m[0][3];
123 m[1][3] = sin * tmp;
156 f32 tmp;
157 tmp = a;
[all …]
Dmath_Matrix23.ipp115 MTX23 tmp;
120 pMtx = &tmp;
135 if (pMtx == &tmp)
137 MTX23Copy(pOut, &tmp);
151 VEC2 tmp;
152 VEC2Transform(&tmp, pM, pT);
154 pOut->f._02 = tmp.x;
155 pOut->f._12 = tmp.y;
Dmath_Matrix34.ipp39 MTX34 tmp;
40 u32 rval = MTX34InvTranspose(&tmp, p);
41 (void)MTX34ToMTX33(pOut, &tmp);
254 f32 tmp = -1.0f / (f - n);
257 mtx[2][2] = tmp;
258 mtx[2][3] = n * tmp;
Dmath_Vector4.ipp37 VEC4 tmp;
38 return VEC4LenSq(VEC4Sub(&tmp, p1, p2));
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Quaternion.h289 …type operator + (const self_type& rhs) const { QUAT tmp; (void)QUATAdd(&tmp, this, &rhs); return t… variable
292 …type operator - (const self_type& rhs) const { QUAT tmp; (void)QUATSub(&tmp, this, &rhs); return t… variable
295 self_type operator * (f32 f) const { QUAT tmp; (void)QUATScale(&tmp, this, f); return tmp; } variable
326 operator * (f32 f, const QUAT& rhs) { QUAT tmp; (void)QUATScale(&tmp, &rhs, f); return tmp; } variable
Dmath_Vector4.h306 …type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); return t… variable
309 …type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); return t… variable
312 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; } variable
435 operator * (f32 f, const VEC4& rhs) { VEC4 tmp; (void)VEC4Scale(&tmp, &rhs, f); return tmp; } variable
Dmath_Vector3.h305 …type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); return t… variable
308 …type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); return t… variable
311 self_type operator * (f32 f) const { VEC3 tmp; (void)VEC3Scale(&tmp, this, f); return tmp; } variable
521 operator * (f32 f, const VEC3& rhs) { VEC3 tmp; (void)VEC3Scale(&tmp, &rhs, f); return tmp; } variable
Dmath_Matrix23.h364 …self_type operator + (const self_type& rhs) const { MTX23 tmp; return *MTX23Add(&tmp, this, &rhs);… variable
367 …self_type operator - (const self_type& rhs) const { MTX23 tmp; return *MTX23Sub(&tmp, this, &rhs);… variable
370 self_type operator * (f32 f) const { MTX23 tmp; return *MTX23Mult(&tmp, this, f); } variable
Dmath_Matrix43.h297 …self_type operator + (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);… variable
300 …self_type operator - (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);… variable
303 self_type operator * (f32 f) const { MTX43 tmp; return *MTX43Mult(&tmp, this, f); } variable
Dmath_Matrix34.h709 …self_type operator + (const self_type& rhs) const { MTX34 tmp; return *MTX34Add(&tmp, this, &rhs);… variable
712 …self_type operator - (const self_type& rhs) const { MTX34 tmp; return *MTX34Sub(&tmp, this, &rhs);… variable
715 self_type operator * (f32 f) const { MTX34 tmp; return *MTX34Mult(&tmp, this, f); } variable
896 MTX34 tmp; variable
897 (void)MTX34Mult(&tmp, &rhs, f);
898 return tmp;
Dmath_Matrix44.h649 …self_type operator + (const self_type& rhs) const { MTX44 tmp; return *MTX44Add(&tmp, this, &rhs);… variable
652 …self_type operator - (const self_type& rhs) const { MTX44 tmp; return *MTX44Sub(&tmp, this, &rhs);… variable
655 self_type operator * (f32 f) const { MTX44 tmp; return *MTX44Mult(&tmp, this, f); } variable
Dmath_Vector2.h479 VEC2DistSq(const VEC2* p1, const VEC2* p2) { VEC2 tmp; return VEC2LenSq(VEC2Sub(&tmp, p1, p2)); } in VEC2DistSq() local
/CTR-SDK-4.2.5/include/nn/math/ARMv6/inline/
Dmath_Matrix44.ipp39 VEC4 tmp;
40 tmp.x = pM->f._00 * pV->x + pM->f._01 * pV->y + pM->f._02 * pV->z + pM->f._03;
41 tmp.y = pM->f._10 * pV->x + pM->f._11 * pV->y + pM->f._12 * pV->z + pM->f._13;
42 tmp.z = pM->f._20 * pV->x + pM->f._21 * pV->y + pM->f._22 * pV->z + pM->f._23;
43 tmp.w = pM->f._30 * pV->x + pM->f._31 * pV->y + pM->f._32 * pV->z + pM->f._33;
45 pOut->x = tmp.x;
46 pOut->y = tmp.y;
47 pOut->z = tmp.z;
48 pOut->w = tmp.w;
171 MTX44 tmp;
[all …]
Dmath_Quaternion.ipp42 QUAT tmp;
50 pDst = &tmp;
62 if ( pDst == &tmp )
64 *pOut = tmp;
Dmath_Matrix34.ipp401 VEC3 tmp;
402 VEC3Transform(&tmp, pM, pT);
404 pOut->f._03 = tmp.x;
405 pOut->f._13 = tmp.y;
406 pOut->f._23 = tmp.z;
/CTR-SDK-4.2.5/sources/libraries/cx/
Dcx_Compression.cpp720 u8 tmp; in HuffCountData() local
733 tmp = (u8)( (srcp[ i ] & 0xf0) >> 4 ); in HuffCountData()
734 table[ tmp ].Freq++; // Store from upper 4 bits first // Either is OK in HuffCountData()
735 tmp = (u8)( srcp[ i ] & 0x0f ); in HuffCountData()
736 table[ tmp ].Freq++; // The problem is the encoding in HuffCountData()
1023 u16 tmp = 0; in HuffMakeHuffTree() local
1027 tmp = info->huffTable[ info->huffTreeCtrl[i].leftNodeNo ].HWord; in HuffMakeHuffTree()
1031 if ( info->huffTable[info->huffTreeCtrl[i].rightNodeNo ].HWord > tmp ) in HuffMakeHuffTree()
1036 if ( (tmp != 0) || (tmpRightFlag) ) in HuffMakeHuffTree()
1273 u8 tmp; in HuffConvertData() local
[all …]
Dcx_Uncompression.cpp798 u32 tmp; in RCGetData_() local
799 tmp = state->range / info->total; in RCGetData_()
800 state->low += info->low_cnt[ val ] * tmp; in RCGetData_()
801 state->range = info->freq[ val ] * tmp; in RCGetData_()
944 u8 tmp = *(pSrc++); in UnfilterDiff() local
946 sum += tmp; in UnfilterDiff()
958 u16 tmp = internal::ConvertEndian16( *(u16*)pSrc ); in UnfilterDiff() local
961 sum += tmp; in UnfilterDiff()
Dcx_SecureUncompression.cpp709 u8 tmp = *(pSrc++); in SecureUnfilterDiff() local
715 sum += tmp; in SecureUnfilterDiff()
727 u16 tmp = internal::ConvertEndian16( *(u16*)pSrc ); in SecureUnfilterDiff() local
735 sum += tmp; in SecureUnfilterDiff()
1259 u32 tmp; in RCGetData_() local
1260 tmp = state->range / info->total; in RCGetData_()
1261 state->low += info->low_cnt[ val ] * tmp; in RCGetData_()
1262 state->range = info->freq[ val ] * tmp; in RCGetData_()
Dcx_StreamingUncompression.cpp1306 u32 tmp; in RCGetData_() local
1307 tmp = state->range / info->total; in RCGetData_()
1308 state->low += info->low_cnt[ val ] * tmp; in RCGetData_()
1309 state->range = info->freq[ val ] * tmp; in RCGetData_()
/CTR-SDK-4.2.5/sources/libraries/dbg/CTR/
Ddbg_ExceptionScreen.cpp218 nn::util::Color8 tmp = pdp->GetCharColor(); in ClearMessage() local
221 pdp->SetCharColor( tmp ); in ClearMessage()
/CTR-SDK-4.2.5/sources/libraries/gr/CTR/
Dgr_ShaderLite.cpp180 s32 tmp = m_GeoShaderIndex; in MakeShaderOutAttrCommandCache_() local
209 m_GeoShaderIndex = tmp; in MakeShaderOutAttrCommandCache_()