Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 31) sorted by relevance

12

/CTR-SDK-4.2.5/include/nn/math/ARMv6/inline/
Dmath_Quaternion.ipp57 pDst->w = q1->w * q2->w - q1->x * q2->x - q1->y * q2->y - q1->z * q2->z;
58 pDst->x = q1->w * q2->x + q1->x * q2->w + q1->y * q2->z - q1->z * q2->y;
59 pDst->y = q1->w * q2->y + q1->y * q2->w + q1->z * q2->x - q1->x * q2->z;
60 pDst->z = q1->w * q2->z + q1->z * q2->w + q1->x * q2->y - q1->y * q2->x;
72 register f32 x, y, z, w;
79 q1w = q1->w;
84 q2w = q2->w;
89 w = q1w * q2w - q1x * q2x - q1y * q2y - q1z * q2z;
94 pOut->w = w;
117 mag = (q->x * q->x) + (q->y * q->y) + (q->z * q->z) + (q->w * q->w);
[all …]
Dmath_Types.ipp119 pOut->w = s * 0.5f;
138 pOut->w = (m[k][j] - m[j][k]) * s;
163 f32 x, y, z, w, s;
165 w = s * 0.5f;
170 pOut->w = w;
177 f32 x, y, z, w, s;
198 w = (m[2][1] - m[1][2]) * s;
203 pOut->w = w;
217 w = (m[0][2] - m[2][0]) * s;
222 pOut->w = w;
[all …]
Dmath_Matrix44.ipp43 tmp.w = pM->f._30 * pV->x + pM->f._31 * pV->y + pM->f._32 * pV->z + pM->f._33;
48 pOut->w = tmp.w;
750 f32 w;
797 w = 1.0f / src[i][i];
800 src[i][j] *= w;
801 inv[i][j] *= w;
809 w = src[k][i];
812 src[k][j] -= src[i][j] * w;
813 inv[k][j] -= inv[i][j] * w;
/CTR-SDK-4.2.5/sources/libraries/rdt/CTR/
Drdt_ReceiveBuffer.cpp171 ReceiveBuffer w; in Test() local
177 w.Initialize(windowBuf, BUFSIZE); in Test()
178 w.SetInitialSequenceNumber(SEQ_NUM); in Test()
179 CU_ASSERT(w.GetRestSize()==BUFSIZE); in Test()
180 CU_ASSERT(w.GetLatestSequenceNumber()==SEQ_NUM); in Test()
183 CU_ASSERT(!w.Push(buf, sizeof(buf))); // Should fail because the data is too large to Push. in Test()
185 CU_ASSERT(w.Push("Hello", 5)); in Test()
186 CU_ASSERT(w.Read(buf, 5)==5); in Test()
188 CU_ASSERT(w.GetLatestSequenceNumber()==SEQ_NUM+5); in Test()
189 CU_ASSERT(w.GetRestSize()==BUFSIZE-5); in Test()
[all …]
Dtypes.h109 u32 w[3]; member
115 u32 w[4]; member
/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Vector4.ipp29 pOut->w = p1->w + p2->w;
44 return p1->x * p2->x + p1->y * p2->y + p1->z * p2->z + p1->w * p2->w;
50 return p->x == 0.f && p->y == 0.f && p->z == 0.f && p->w == 0.f;
56 return p->x == 0.f && p->y == 0.f && p->z == 0.f && p->w == 1.f;
69 return p->x * p->x + p->y * p->y + p->z * p->z + p->w * p->w;
80 pOut->w = p1->w + t * (p2->w - p1->w);
91 pOut->w = (p1->w > p2->w) ? p1->w : p2->w;
101 pOut->w = p1->w * p2->w;
139 pOut->w = (p1->w < p2->w) ? p1->w : p2->w;
150 pOut->w = scale * p->w;
[all …]
Dmath_Quaternion.ipp33 pOut->w = q1->w + q2->w;
59 return (q1->x * q2->x + q1->y * q2->y + q1->z * q2->z + q1->w * q2->w);
71 NN_ASSERT( q->w == 0.0F );
84 pOut->w = (f32)::std::cosf(theta);
99 pOut->w = t * ( q2->w - q1->w ) + q1->w;
115 theta = ::std::atan2f( scale, q->w );
125 pOut->w = 0.0F;
139 dot = q->x * qto->x + q->y * qto->y + q->z * qto->z + q->w * qto->w;
146 pOut->w = -q->w;
174 pOut->w = ch;
[all …]
Dmath_Types.ipp96 // Vec has a 4th implicit 'w' coordinate of 1
153 // Vec has a 4th implicit 'w' coordinate of 1
208 tmp.x = pM->f._00 * pV->x + pM->f._01 * pV->y + pM->f._02 * pV->z + pM->f._03 * pV->w;
209 tmp.y = pM->f._10 * pV->x + pM->f._11 * pV->y + pM->f._12 * pV->z + pM->f._13 * pV->w;
210 tmp.z = pM->f._20 * pV->x + pM->f._21 * pV->y + pM->f._22 * pV->z + pM->f._23 * pV->w;
211 tmp.w = pM->f._30 * pV->x + pM->f._31 * pV->y + pM->f._32 * pV->z + pM->f._33 * pV->w;
216 pOut->w = tmp.w;
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Vector4.h210 f32 w; // member
258 explicit VEC4(const f32* p) { x = p[0]; y = p[1]; z = p[2]; w = p[3]; } in VEC4()
260 VEC4(const VEC4_& v) { x = v.x; y = v.y; z = v.z; w = v.w; } in VEC4()
262 VEC4(f32 fx, f32 fy, f32 fz, f32 fw) { x = fx; y = fy; z = fz; w = fw; } in VEC4()
264 explicit VEC4(const VEC3& v) { x = v.x; y = v.y; z = v.z; w = 0.0f; } in VEC4()
303 self_type operator - () const { return self_type(-x, -y, -z, -w); }
396 void Set(f32 fx, f32 fy, f32 fz, f32 fw) { x = fx; y = fy; z = fz; w = fw; } in Set()
405 …or == (const self_type& rhs) const { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
408 …or != (const self_type& rhs) const { return x != rhs.x || y != rhs.y || z != rhs.z || w != rhs.w; }
Dmath_Quaternion.h224 f32 w; // member
243 explicit QUAT(const f32* p) { x = p[0]; y = p[1]; z = p[2]; w = p[3]; } in QUAT()
245 QUAT(const QUAT_& rhs) { x = rhs.x; y = rhs.y; z = rhs.z; w = rhs.w; } in QUAT()
247 QUAT(f32 fx, f32 fy, f32 fz, f32 fw) { x = fx; y = fy; z = fz; w = fw; } in QUAT()
286 self_type operator - () const { return self_type(-x, -y, -z, -w); }
301 …or == (const self_type& rhs) const { return x == rhs.x && y == rhs.y && z == rhs.z && w == rhs.w; }
304 …or != (const self_type& rhs) const { return x != rhs.x || y != rhs.y || z != rhs.z || w != rhs.w; }
Dmath_Matrix43.h249 column.w = this->m[3][index]; in GetColumn()
260 this->m[3][index] = column.w; in SetColumn()
/CTR-SDK-4.2.5/include/nn/config/compiler/
Dtypes_gcc.h118 u32 w[3]; member
124 u32 w[4]; member
/CTR-SDK-4.2.5/include/nn/
Dtypes.h150 u32 w[3]; member
156 u32 w[4]; member
/CTR-SDK-4.2.5/sources/libraries/math/
Dmath_Vector4.cpp48 NN_MATH_REPORT("<%f, %f, %f, %f>", x, y, z, w); in Report()
Dmath_Quaternion.cpp45 NN_MATH_REPORT("<%f, %f, %f, %f>", x, y, z, w); in Report()
/CTR-SDK-4.2.5/include/nn/gr/CTR/
Dgr_Utility.h246 *command++ = nn::math::F32AsU32( vec4.w ); in MakeUniformCommandVS()
278 *command++ = nn::math::F32AsU32( vec4[0].w ); in MakeUniformCommandVS()
286 *command++ = nn::math::F32AsU32( vec4[i].w ); in MakeUniformCommandVS()
370 *command++ = nn::math::F32AsU32( vec4.w ); // a in MakeUniformCommandGS()
398 *command++ = nn::math::F32AsU32( vec4[0].w ); in MakeUniformCommandGS()
406 *command++ = nn::math::F32AsU32( vec4[i].w ); in MakeUniformCommandGS()
/CTR-SDK-4.2.5/include/nn/gd/CTR/
Dgd_Memory.h195 Rect(s32 x, s32 y, s32 w, s32 h): m_PosX(x), m_PosY(y), m_Width(w), m_Height(h) {} in Rect() argument
/CTR-SDK-4.2.5/include/nn/font/CTR/
Dfont_RectDrawerCommand.h132 #define NN_FONT_CMD_SET_SCISSOR( x, y, w, h, cbSz ) \ argument
137 NN_FONT_CMD_SCISSOR_VAL( (x) + (w) - 1, (cbSz).width ) \
/CTR-SDK-4.2.5/include/nn/gx/CTR/
Dgx_MacroFragment.h127 #define PICA_CMD_DATA_FRAG_LIGHT_TYPE(w, twoSideDiffuse, geomFactor0, geomFactor1) \ argument
128 ( ((w) == 0) ? 1 : 0 | \
/CTR-SDK-4.2.5/include/nn/y2r/CTR/
Dy2r_Api.h75 void SetDitheringWeightParams( const DitheringWeightParams & w );
516 inline void SetDitheringWeightParams( const DitheringWeightParams & w ) in SetDitheringWeightParams() argument
518 detail::SetDitheringWeightParams(w); in SetDitheringWeightParams()
Dy2r_Y2r.h132 static nn::Result SetDitheringWeightParams( const nn::y2r::CTR::DitheringWeightParams& w );
/CTR-SDK-4.2.5/resources/specfiles/
DApplication.desc125 w+VVM55c3E07URENMXiWytcYWO4A6SjyaHbUV/5lsUtJP/amWErH/MS7YbxY
151 /g5kjtkjoZVOGfSvvfel9Smwy1yrFvKfi/yJsjATeNFjiEquV/w=
/CTR-SDK-4.2.5/include/nn/fslow/
Dfslow_IArchive.h46 bit32 w[ByteSize / sizeof(bit32)]; member
/CTR-SDK-4.2.5/tools/CommandLineTools/ctr_GxCommandAnalyzer/
Dabstruct.csv156 0x149,Light source number 0 coordinate setting (w)/enabling or disabling of other settings
167 0x159,Light source number 1 coordinate setting (w)/enabling or disabling of other settings
178 0x169,Light source number 2 coordinate setting (w)/enabling or disabling of other settings
189 0x179,Light source number 3 coordinate setting (w)/enabling or disabling of other settings
200 0x189,Light source number 4 coordinate setting (w)/enabling or disabling of other settings
211 0x199,Light source number 5 coordinate setting (w)/enabling or disabling of other settings
222 0x1a9,Light source number 6 coordinate setting (w)/enabling or disabling of other settings
233 0x1b9,Light source number 7 coordinate setting (w)/enabling or disabling of other settings
Ddetail.csv51 0x03: Vertex coordinate w
55 0x07: Quaternion w
64 0x10: Texture coordinate 0, w
76 0x03: Vertex coordinate w
80 0x07: Quaternion w
89 0x10: Texture coordinate 0, w
101 0x03: Vertex coordinate w
105 0x07: Quaternion w
114 0x10: Texture coordinate 0, w
122 0x50,[28:24],glUseProgram,"Attribute for the w-component of the first set of output data.
[all …]

12