Home
last modified time | relevance | path

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

12

/TwlSDK-5.4/build/libraries/gx/ARM9/src/
Dg3imm.c42 GX_SendFifo64B(&m->_00, (void *)&reg_G3X_GXFIFO); in G3_LoadMtx44()
44 reg_G3_MTX_LOAD_4x4 = (u32)m->_00; in G3_LoadMtx44()
81 GX_SendFifo48B(&m->_00, (void *)&reg_G3X_GXFIFO); in G3_LoadMtx43()
83 reg_G3_MTX_LOAD_4x3 = (u32)m->_00; in G3_LoadMtx43()
116 GX_SendFifo64B(&m->_00, (void *)&reg_G3X_GXFIFO); in G3_MultMtx44()
118 reg_G3_MTX_MULT_4x4 = (u32)m->_00; in G3_MultMtx44()
155 GX_SendFifo48B(&m->_00, (void *)&reg_G3X_GXFIFO); in G3_MultMtx43()
157 reg_G3_MTX_MULT_4x3 = (u32)m->_00; in G3_MultMtx43()
190 GX_SendFifo36B(&m->_00, (void *)&reg_G3X_GXFIFO); in G3_MultMtx33()
192 reg_G3_MTX_MULT_3x3 = (u32)m->_00; in G3_MultMtx33()
[all …]
Dg2.c36 SDK_MINMAX_ASSERT(mtx->_00, -128 * FX32_ONE, 128 * FX32_ONE - 1); in G2x_SetBGyAffine_()
42 *((vu32 *)addr + 0) = (u32)((u16)(s16)(mtx->_00 >> 4) | (u16)(s16)(mtx->_01 >> 4) << 16); in G2x_SetBGyAffine_()
52 x2 = mtx->_00 * dx + mtx->_01 * dy + (centerX << FX32_SHIFT); in G2x_SetBGyAffine_()
Dg3b.c81 MI_Copy64B(&m->_00, (void *)info->curr_param); in G3BS_LoadMtx44()
83 *(info->curr_param + 0) = (u32)m->_00; in G3BS_LoadMtx44()
126 MI_Copy48B(&m->_00, (void *)info->curr_param); in G3BS_LoadMtx43()
128 *(info->curr_param + 0) = (u32)m->_00; in G3BS_LoadMtx43()
167 MI_Copy64B(&m->_00, (void *)info->curr_param); in G3BS_MultMtx44()
169 *(info->curr_param + 0) = (u32)m->_00; in G3BS_MultMtx44()
212 MI_Copy48B(&m->_00, (void *)info->curr_param); in G3BS_MultMtx43()
214 *(info->curr_param + 0) = (u32)m->_00; in G3BS_MultMtx43()
253 MI_Copy36B(&m->_00, (void *)info->curr_param); in G3BS_MultMtx33()
255 *(info->curr_param + 0) = (u32)m->_00; in G3BS_MultMtx33()
[all …]
Dg3c.c193 MI_Copy64B(&m->_00, (void *)info->curr_param); in G3CS_LoadMtx44()
195 *(info->curr_param + 0) = (u32)m->_00; in G3CS_LoadMtx44()
240 MI_Copy48B(&m->_00, (void *)info->curr_param); in G3CS_LoadMtx43()
242 *(info->curr_param + 0) = (u32)m->_00; in G3CS_LoadMtx43()
283 MI_Copy64B(&m->_00, (void *)info->curr_param); in G3CS_MultMtx44()
285 *(info->curr_param + 0) = (u32)m->_00; in G3CS_MultMtx44()
330 MI_Copy48B(&m->_00, (void *)info->curr_param); in G3CS_MultMtx43()
332 *(info->curr_param + 0) = (u32)m->_00; in G3CS_MultMtx43()
373 MI_Copy36B(&m->_00, (void *)info->curr_param); in G3CS_MultMtx33()
375 *(info->curr_param + 0) = (u32)m->_00; in G3CS_MultMtx33()
[all …]
Dg3_util.c274 *p = mtx->_00; in G3_LoadTexMtxTexCoord()
296 MI_Copy32B(&mtx->_00, (void *)(param + 2)); in G3xx_LoadTexMtxTexCoord_()
298 *(param + 2) = (u32)(mtx->_00); in G3xx_LoadTexMtxTexCoord_()
403 *p = mtx->_00 << 4; in G3_LoadTexMtxEnv()
443 *(info->curr_param + 2) = (u32)(mtx->_00 << 4); in G3BS_LoadTexMtxEnv()
500 *(info->curr_param + 2) = (u32)(mtx->_00 << 4); in G3CS_LoadTexMtxEnv()
Dg3x.c342 MI_Copy64B((void *)REG_CLIPMTX_RESULT_0_ADDR, &m->_00); in G3X_GetClipMtx()
344 m->_00 = *((fx32 *)REG_CLIPMTX_RESULT_0_ADDR + 0); in G3X_GetClipMtx()
390 MI_Copy36B((void *)(REG_VECMTX_RESULT_0_ADDR), &m->_00); in G3X_GetVectorMtx()
392 m->_00 = *((fx32 *)REG_VECMTX_RESULT_0_ADDR + 0); in G3X_GetVectorMtx()
/TwlSDK-5.4/build/libraries/fx/common/src/
Dfx_mtx22.c97 pDst->_00 = mul64(v, pSrc->_00); in MTX_ScaleApply22()
136 det = (fx32)(((fx64)pSrc->_00 * pSrc->_11 - in MTX_Inverse22()
148 p->_00 = (fx32)(((fx64)det * pSrc->_11) >> FX32_SHIFT); in MTX_Inverse22()
152 p->_11 = (fx32)(((fx64)det * pSrc->_00) >> FX32_SHIFT); in MTX_Inverse22()
198 x = a->_00; in MTX_Concat22()
201 p->_00 = (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10) >> FX32_SHIFT); in MTX_Concat22()
207 p->_10 = (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10) >> FX32_SHIFT); in MTX_Concat22()
Dfx_mtx33.c133 pDst->_00 = mul64(v, pSrc->_00); in MTX_ScaleApply33()
238 pDst->_00 = t01 + cosVal; in MTX_RotAxis33()
304 det = (fx32)(((fx64)pSrc->_00 * det00 - in MTX_Inverse33()
316 tmp11 = (fx32)(((fx64)pSrc->_00 * pSrc->_22 - (fx64)pSrc->_20 * pSrc->_02) >> FX32_SHIFT); in MTX_Inverse33()
317 tmp12 = (fx32)(((fx64)pSrc->_00 * pSrc->_12 - (fx64)pSrc->_10 * pSrc->_02) >> FX32_SHIFT); in MTX_Inverse33()
320 p->_00 = (fx32)(((fx64)det * det00) >> FX32_SHIFT); in MTX_Inverse33()
330 tmp21 = (fx32)(((fx64)pSrc->_00 * pSrc->_21 - (fx64)pSrc->_20 * pSrc->_01) >> FX32_SHIFT); in MTX_Inverse33()
333 tmp22 = (fx32)(((fx64)pSrc->_00 * pSrc->_11 - (fx64)pSrc->_10 * pSrc->_01) >> FX32_SHIFT); in MTX_Inverse33()
381 x = a->_00; in MTX_Concat33()
385 p->_00 = (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10 + (fx64)z * b->_20) >> FX32_SHIFT); in MTX_Concat33()
[all …]
Dfx_mtx43.c107 pSrc->_30 + (fx32)((xx * pSrc->_00 + yy * pSrc->_10 + zz * pSrc->_20) >> FX32_SHIFT); in MTX_TransApply43()
285 det = (fx32)(((fx64)pSrc->_00 * det00 - in MTX_Inverse43()
297 tmp11 = (fx32)(((fx64)pSrc->_00 * pSrc->_22 - (fx64)pSrc->_20 * pSrc->_02) >> FX32_SHIFT); in MTX_Inverse43()
298 tmp12 = (fx32)(((fx64)pSrc->_00 * pSrc->_12 - (fx64)pSrc->_10 * pSrc->_02) >> FX32_SHIFT); in MTX_Inverse43()
301 p->_00 = (fx32)(((fx64)det * det00) >> FX32_SHIFT); in MTX_Inverse43()
311 tmp21 = (fx32)(((fx64)pSrc->_00 * pSrc->_21 - (fx64)pSrc->_20 * pSrc->_01) >> FX32_SHIFT); in MTX_Inverse43()
314 tmp22 = (fx32)(((fx64)pSrc->_00 * pSrc->_11 - (fx64)pSrc->_10 * pSrc->_01) >> FX32_SHIFT); in MTX_Inverse43()
318 p->_30 = -(fx32)(((fx64)p->_00 * pSrc->_30 + in MTX_Inverse43()
372 x = a->_00; in MTX_Concat43()
376 p->_00 = (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10 + (fx64)z * b->_20) >> FX32_SHIFT); in MTX_Concat43()
[all …]
Dfx_mtx44.c112 pSrc->_30 + (fx32)((xx * pSrc->_00 + yy * pSrc->_10 + zz * pSrc->_20) >> FX32_SHIFT); in MTX_TransApply44()
190 pDst->_00 = mul64(v, pSrc->_00); in MTX_ScaleApply44()
333 pDst->_00 = t01 + cosVal; in MTX_RotAxis44()
398 x = a->_00; in MTX_Concat44()
403 p->_00 = in MTX_Concat44()
404 (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10 + (fx64)z * b->_20 + in MTX_Concat44()
434 xx = b->_00; in MTX_Concat44()
473 (fx32)(((fx64)x * b->_00 + (fx64)y * b->_10 + (fx64)z * b->_20 + in MTX_Concat44()
536 mtx->_00 = FX_Mul32x64c(dblN, inv1); in MTX_FrustumW()
615 mtx->_00 = FX_GetDivResult(); in MTX_PerspectiveW()
[all …]
/TwlSDK-5.4/include/nitro/fx/
Dfx.h163 fx32 _00, _01, _02, _03; member
174 fx32 _00, _01, _02, _03; member
191 fx32 _00, _01, _02; member
202 fx32 _00, _01, _02; member
219 fx32 _00, _01, _02; member
229 fx32 _00, _01, _02; member
245 fx32 _00, _01; member
254 fx32 _00, _01; member
/TwlSDK-5.4/build/demos/fx/test/src/
Dfx_append_mtx.c54 double _00, _01, _02, _03; member
75 double _00, _01, _02; member
180 x = a._00; in MTX_Concat43D_()
184 ab->_00 = x * b._00 + y * b._10 + z * b._20; in MTX_Concat43D_()
201 xx = b._00; in MTX_Concat43D_()
227 ab->_30 = x * b._00 + y * b._10 + z * b._20 + b._30; in MTX_Concat43D_()
236 pDst->_00 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotY43D_()
255 pDst->_00 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotZ43D_()
302 x = a._00; in MTX_Concat44D_()
307 ab->_00 = x * b._00 + y * b._10 + z * b._20 + w * b._30; in MTX_Concat44D_()
[all …]
Dfx_test_common.c76 OutDetail("%f %f %f\n", m->_00 / 4096.0, m->_01 / 4096.0, m->_02 / 4096.0); in print_mtx43()
Dmain.c249 OS_Printf("%f %f %f\n", m->_00 / 4096.0, m->_01 / 4096.0, m->_02 / 4096.0); in print_mtx33()
257 return (a->_00 == b->_00 && in equal_mtx33()
267 return (a->_00 == b->_00 && in equal_mtx43()
285 OS_Printf("%f %f %f %f\n", m->_00 / 4096.0, m->_01 / 4096.0, m->_02 / 4096.0, m->_03 / 4096.0); in print_mtx44()
294 return (a->_00 == b->_00 && in equal_mtx44()
/TwlSDK-5.4/build/demos/gx/UnitTours/CurrentMtx/src/
Dmain.c265 OS_Printf("mssg%d:%d, %d, %d, %d\n", count++, m._00, m._01, m._02, m._03); in TwlMain()
271 EXT_CompPrint("5321, 0, 0, 0", "%d, %d, %d, %d", m._00, m._01, m._02, m._03); in TwlMain()
296 OS_Printf("mssg%d:%d, %d, %d\n", count++, m._00, m._01, m._02); in TwlMain()
301 EXT_CompPrint("4096, 0, 0", "%d, %d, %d", m._00, m._01, m._02); in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/Sub_Oam_3/src/
Dmain.c98 mtx._00 = revScale; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_Oam_3/src/
Dmain.c97 mtx._00 = revScale; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/Sub_Oam_2/src/
Dmain.c105 mtx._00 = cosVal; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_Oam_2/src/
Dmain.c104 mtx._00 = cosVal; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/Sub_CharBg_3/src/
Dmain.c118 mtx._00 = rScale; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/Sub_CharBg_2/src/
Dmain.c117 mtx._00 = (fx32)cosVal; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_CharBg_3/src/
Dmain.c128 mtx._00 = rScale; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_CharBg_2/src/
Dmain.c117 mtx._00 = (fx32)cosVal; in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_CharBg_256_16/src/
Dmain.c248 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()
/TwlSDK-5.4/build/demos/gx/UnitTours/2D_CharBg_256BMP/src/
Dmain.c233 mtx._00 = (fx32)((cosVal * rScale) >> FX32_SHIFT); in TwlMain()

12