Home
last modified time | relevance | path

Searched refs:FX_FX32_TO_F32 (Results 1 – 7 of 7) sorted by relevance

/TwlSDK-5.4/build/demos/fx/test/src/
Dfx_append_vec.c48 #define FX2D( fx ) (double)FX_FX32_TO_F32( fx )
141 OutDetail("( %.5f, %.5f, %.5f )", FX_FX32_TO_F32(v->x), FX_FX32_TO_F32(v->y), in printVecFx32Msg()
142 FX_FX32_TO_F32(v->z)); in printVecFx32Msg()
167 dst->x = (double)FX_FX32_TO_F32(src->x); in VecFx32ToVecD_()
168 dst->y = (double)FX_FX32_TO_F32(src->y); in VecFx32ToVecD_()
169 dst->z = (double)FX_FX32_TO_F32(src->z); in VecFx32ToVecD_()
249 return (double)(FX_FX32_TO_F32(a)) * (double)(FX_FX32_TO_F32(b)); in FX_Mul_d_()
333 resFX = (double)(FX_FX32_TO_F32(VEC_DotProduct(a, b))); in GetDotProductError_()
365 resFX = (double)(FX_FX32_TO_F32(VEC_Mag(a))); in GetMagError_()
622 double vd1 = (double)FX_FX32_TO_F32(vf1); in Unary_operator_test_()
[all …]
Dfx_append_mtx.c158 md[i] = (double)(FX_FX32_TO_F32(mf[i])); in MtxFxToD_()
236 pDst->_00 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotY43D_()
238 pDst->_02 = (double)FX_FX32_TO_F32(-sinVal); in MTX_RotY43D_()
242 pDst->_20 = (double)FX_FX32_TO_F32(sinVal); in MTX_RotY43D_()
244 pDst->_22 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotY43D_()
255 pDst->_00 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotZ43D_()
256 pDst->_01 = (double)FX_FX32_TO_F32(sinVal); in MTX_RotZ43D_()
258 pDst->_10 = (double)FX_FX32_TO_F32(-sinVal); in MTX_RotZ43D_()
259 pDst->_11 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotZ43D_()
274 pDst->_30 = (double)FX_FX32_TO_F32(x); in MTX_Translate43D_()
[all …]
Dmain.c194 errorVal = fabs((double)lhs * (double)rhs - (FX_FX32_TO_F32(fxResult))); in getErrorBtweenFx32AnbF32_Multiple()
/TwlSDK-5.4/build/libraries/dsp/ARM9.TWL/src/
Ddsp_graphics.c387 …SDK_TASSERTMSG(CheckLimitation(FX_FX32_TO_F32(rx), FX_FX32_TO_F32(ry), mode, width), "DSP_Scaling:… in DSPi_ScalingFxCore()
/TwlSDK-5.4/build/libraries/math/common/src/
Dfft.c699 FX_FX32_TO_F32(tr), FX_FX32_TO_F32(ti), in MATHi_DFT()
700 FX_FX32_TO_F32(wr), FX_FX32_TO_F32(wi) ); in MATHi_DFT()
/TwlSDK-5.4/build/demos/math/fft-1/src/
Dmain.c466 OS_Printf("%f", FX_FX32_TO_F32(f)); in PrintFX32()
490 double dd = FX_FX32_TO_F32(d); in PrintError()
491 double od = FX_FX32_TO_F32(orig[i]); in PrintError()
501 e = FX_FX32_TO_F32(max_error); in PrintError()
/TwlSDK-5.4/include/nitro/fx/
Dfx.h55 #define FX_FX32_TO_F32(x) ((f32)((x) / (f32)(1 << FX32_SHIFT))) macro