Home
last modified time | relevance | path

Searched refs:pDst (Results 1 – 16 of 16) sorted by relevance

/TwlSDK-5.4/include/nitro/fx/
Dfx_mtx33.h37 SDK_DECL_INLINE void MTX_Identity33(MtxFx33 *pDst);
38 SDK_DECL_INLINE void MTX_Copy33(const MtxFx33 *pSrc, MtxFx33 *pDst);
39 SDK_DECL_INLINE void MTX_Copy33To43(const MtxFx33 *pSrc, MtxFx43 *pDst);
40 SDK_DECL_INLINE void MTX_Copy33To44(const MtxFx33 *pSrc, MtxFx44 *pDst);
41 SDK_DECL_INLINE void MTX_Transpose33(const MtxFx33 *pSrc, MtxFx33 *pDst);
42 SDK_DECL_INLINE void MTX_Scale33(MtxFx33 *pDst, fx32 x, fx32 y, fx32 z);
43 void MTX_ScaleApply33(const MtxFx33 *pSrc, MtxFx33 *pDst, fx32 x, fx32 y, fx32 z);
44 SDK_DECL_INLINE void MTX_RotX33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal);
45 SDK_DECL_INLINE void MTX_RotY33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal);
46 SDK_DECL_INLINE void MTX_RotZ33(MtxFx33 *pDst, fx32 sinVal, fx32 cosVal);
[all …]
Dfx_mtx43.h36 SDK_DECL_INLINE void MTX_Identity43(MtxFx43 *pDst);
37 SDK_DECL_INLINE void MTX_Copy43(const MtxFx43 *pSrc, MtxFx43 *pDst);
38 SDK_DECL_INLINE void MTX_Copy43To33(const MtxFx43 *pSrc, MtxFx33 *pDst);
39 SDK_DECL_INLINE void MTX_Copy43To44(const MtxFx43 *pSrc, MtxFx44 *pDst);
40 SDK_DECL_INLINE void MTX_Transpose43(const MtxFx43 *pSrc, MtxFx43 *pDst);
41 void MTX_TransApply43(const MtxFx43 *pSrc, MtxFx43 *pDst, fx32 x, fx32 y, fx32 z);
42 SDK_DECL_INLINE void MTX_Scale43(MtxFx43 *pDst, fx32 x, fx32 y, fx32 z);
43 void MTX_ScaleApply43(const MtxFx43 *pSrc, MtxFx43 *pDst, fx32 x, fx32 y, fx32 z);
44 SDK_DECL_INLINE void MTX_RotX43(MtxFx43 *pDst, fx32 sinVal, fx32 cosVal);
45 SDK_DECL_INLINE void MTX_RotY43(MtxFx43 *pDst, fx32 sinVal, fx32 cosVal);
[all …]
Dfx_mtx22.h36 SDK_DECL_INLINE void MTX_Identity22(MtxFx22 *pDst);
37 SDK_DECL_INLINE void MTX_Copy22(const MtxFx22 *pSrc, MtxFx22 *pDst);
38 SDK_DECL_INLINE void MTX_Transpose22(const MtxFx22 *pSrc, MtxFx22 *pDst);
39 SDK_DECL_INLINE void MTX_Rot22(MtxFx22 *pDst, fx32 sinVal, fx32 cosVal);
40 int MTX_Inverse22(const MtxFx22 *pSrc, MtxFx22 *pDst);
42 void MTX_ScaleApply22(const MtxFx22 *pSrc, MtxFx22 *pDst, fx32 x, fx32 y);
44 void MTX_Identity22_(register MtxFx22 *pDst);
45 void MTX_Transpose22_(const register MtxFx22 *pSrc, register MtxFx22 *pDst);
46 void MTX_Scale22_(register MtxFx22 *pDst, register fx32 x, register fx32 y);
47 void MTX_Rot22_(register MtxFx22 *pDst, register fx32 sinVal, register fx32 cosVal);
[all …]
Dfx_mtx44.h37 SDK_DECL_INLINE void MTX_Identity44(MtxFx44 *pDst);
38 SDK_DECL_INLINE void MTX_Copy44To33(const MtxFx44 *pSrc, MtxFx33 *pDst);
39 SDK_DECL_INLINE void MTX_Copy44To43(const MtxFx44 *pSrc, MtxFx43 *pDst);
40 SDK_DECL_INLINE void MTX_Transpose44(const MtxFx44 *pSrc, MtxFx44 *pDst);
41 void MTX_TransApply44(const MtxFx44 *pSrc, MtxFx44 *pDst, fx32 x, fx32 y, fx32 z);
42 SDK_DECL_INLINE void MTX_Scale44(MtxFx44 *pDst, fx32 x, fx32 y, fx32 z);
43 void MTX_ScaleApply44(const MtxFx44 *pSrc, MtxFx44 *pDst, fx32 x, fx32 y, fx32 z);
44 SDK_DECL_INLINE void MTX_RotX44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal);
45 SDK_DECL_INLINE void MTX_RotY44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal);
46 SDK_DECL_INLINE void MTX_RotZ44(MtxFx44 *pDst, fx32 sinVal, fx32 cosVal);
[all …]
Dfx_vec.h41 void VEC_Normalize(const VecFx32 *pSrc, VecFx32 *pDst);
52 void VEC_Fx16Normalize(const VecFx16 *pSrc, VecFx16 *pDst);
/TwlSDK-5.4/build/libraries/fx/common/src/
Dfx_mtx22.c29 asm void MTX_Identity22_(register MtxFx22* pDst) in MTX_Identity22_() argument
39 asm void MTX_Transpose22_(const register MtxFx22* pSrc, register MtxFx22* pDst) in MTX_Transpose22_() argument
52 asm void MTX_Scale22_(register MtxFx22* pDst, register fx32 x, register fx32 y) in MTX_Scale22_() argument
63 asm void MTX_Rot22_(register MtxFx22 * pDst, register fx32 sinVal, register fx32 cosVal) in MTX_Rot22_() argument
89 void MTX_ScaleApply22(const MtxFx22 *pSrc, MtxFx22 *pDst, fx32 x, fx32 y) in MTX_ScaleApply22() argument
94 SDK_NULL_ASSERT(pDst); in MTX_ScaleApply22()
97 pDst->_00 = mul64(v, pSrc->_00); in MTX_ScaleApply22()
98 pDst->_01 = mul64(v, pSrc->_01); in MTX_ScaleApply22()
101 pDst->_10 = mul64(v, pSrc->_10); in MTX_ScaleApply22()
102 pDst->_11 = mul64(v, pSrc->_11); in MTX_ScaleApply22()
[all …]
Dfx_mtx44.c30 asm void MTX_Identity44_(register MtxFx44* pDst) in MTX_Identity44_() argument
46 asm void MTX_Copy44To33_(register const MtxFx44* pSrc, register MtxFx33* pDst) in MTX_Copy44To33_() argument
63 asm void MTX_Copy44To43_(register const MtxFx44* pSrc, register MtxFx43* pDst) in MTX_Copy44To43_() argument
97 void MTX_TransApply44(const MtxFx44 *pSrc, MtxFx44 *pDst, fx32 x, fx32 y, fx32 z) in MTX_TransApply44() argument
100 SDK_NULL_ASSERT(pDst); in MTX_TransApply44()
102 if (pSrc != pDst) in MTX_TransApply44()
104 MI_Copy48B(pSrc, pDst); in MTX_TransApply44()
111 pDst->_30 = in MTX_TransApply44()
113 pDst->_31 = in MTX_TransApply44()
115 pDst->_32 = in MTX_TransApply44()
[all …]
Dfx_mtx33.c28 asm void MTX_Identity33_(register MtxFx33* pDst) in MTX_Identity33_() argument
41 asm void MTX_Copy33To43_(const register MtxFx33* pSrc, register MtxFx43* pDst) in MTX_Copy33To43_() argument
59 asm void MTX_Copy33To44_(const register MtxFx33* pSrc, register MtxFx44* pDst) in MTX_Copy33To44_() argument
82 asm void MTX_Transpose33_(const register MtxFx33* pSrc, register MtxFx33* pDst) in MTX_Transpose33_() argument
96 asm void MTX_Scale33_(register MtxFx33* pDst, register fx32 x, register fx32 y, register fx32 z) in MTX_Scale33_() argument
125 void MTX_ScaleApply33(const MtxFx33 *pSrc, MtxFx33 *pDst, fx32 x, fx32 y, fx32 z) in MTX_ScaleApply33() argument
130 SDK_NULL_ASSERT(pDst); in MTX_ScaleApply33()
133 pDst->_00 = mul64(v, pSrc->_00); in MTX_ScaleApply33()
134 pDst->_01 = mul64(v, pSrc->_01); in MTX_ScaleApply33()
135 pDst->_02 = mul64(v, pSrc->_02); in MTX_ScaleApply33()
[all …]
Dfx_mtx43.c26 asm void MTX_Identity43_(register MtxFx43* pDst) in MTX_Identity43_() argument
41 asm void MTX_Copy43To44_(register const MtxFx43* pSrc, register MtxFx44* pDst) in MTX_Copy43To44_() argument
61 asm void MTX_Transpose43_(register const MtxFx43* pSrc, register MtxFx43* pDst) in MTX_Transpose43_() argument
92 void MTX_TransApply43(const MtxFx43 *pSrc, MtxFx43 *pDst, fx32 x, fx32 y, fx32 z) in MTX_TransApply43() argument
95 SDK_NULL_ASSERT(pDst); in MTX_TransApply43()
97 if (pSrc != pDst) in MTX_TransApply43()
99 MI_Copy36B(pSrc, pDst); in MTX_TransApply43()
106 pDst->_30 = in MTX_TransApply43()
108 pDst->_31 = in MTX_TransApply43()
110 pDst->_32 = in MTX_TransApply43()
[all …]
Dfx_vec.c300 void VEC_Normalize(const VecFx32 *pSrc, VecFx32 *pDst) in VEC_Normalize() argument
306 SDK_NULL_ASSERT(pDst); in VEC_Normalize()
323 pDst->x = (fx32)((t * pSrc->x + (1LL << (32 + FX32_SHIFT))) >> (32 + FX32_SHIFT + 1)); in VEC_Normalize()
324 pDst->y = (fx32)((t * pSrc->y + (1LL << (32 + FX32_SHIFT))) >> (32 + FX32_SHIFT + 1)); in VEC_Normalize()
325 pDst->z = (fx32)((t * pSrc->z + (1LL << (32 + FX32_SHIFT))) >> (32 + FX32_SHIFT + 1)); in VEC_Normalize()
340 void VEC_Fx16Normalize(const VecFx16 *pSrc, VecFx16 *pDst) in VEC_Fx16Normalize() argument
346 SDK_NULL_ASSERT(pDst); in VEC_Fx16Normalize()
361 pDst->x = (fx16)((t * pSrc->x + (1LL << (32 + FX32_SHIFT))) >> (32 + FX32_SHIFT + 1)); in VEC_Fx16Normalize()
362 pDst->y = (fx16)((t * pSrc->y + (1LL << (32 + FX32_SHIFT))) >> (32 + FX32_SHIFT + 1)); in VEC_Fx16Normalize()
363 pDst->z = (fx16)((t * pSrc->z + (1LL << (32 + FX32_SHIFT))) >> (32 + FX32_SHIFT + 1)); in VEC_Fx16Normalize()
/TwlSDK-5.4/build/demos/fx/test/src/
Dfx_append_mtx.c100 static void MTX_RotY43D_(MtxD43 * pDst, fx32 sinVal, fx32 cosVal);
101 static void MTX_RotZ43D_(MtxD43 * pDst, fx32 sinVal, fx32 cosVal);
102 static void MTX_Translate43D_(MtxD43 * pDst, fx32 x, fx32 y, fx32 z);
232 static void MTX_RotY43D_(MtxD43 * pDst, fx32 sinVal, fx32 cosVal) in MTX_RotY43D_() argument
234 SDK_NULL_ASSERT(pDst); in MTX_RotY43D_()
236 pDst->_00 = (double)FX_FX32_TO_F32(cosVal); in MTX_RotY43D_()
237 pDst->_01 = 0; in MTX_RotY43D_()
238 pDst->_02 = (double)FX_FX32_TO_F32(-sinVal); in MTX_RotY43D_()
239 pDst->_10 = 0; in MTX_RotY43D_()
240 pDst->_11 = 1.0; in MTX_RotY43D_()
[all …]
Dfx_append_vec.c102 static void VEC_Normalize_d_(const VecFx32 *pSrc, VecD * pDst);
298 static void VEC_Normalize_d_(const VecFx32 *pSrc, VecD * pDst) in VEC_Normalize_d_() argument
304 SDK_NULL_ASSERT(pDst); in VEC_Normalize_d_()
314 pDst->x = t * pSrcD.x; in VEC_Normalize_d_()
315 pDst->y = t * pSrcD.y; in VEC_Normalize_d_()
316 pDst->z = t * pSrcD.z; in VEC_Normalize_d_()
/TwlSDK-5.4/build/libraries/rtc/ARM9/src/
Dexternal.c1239 RTCDate *pDst = (RTCDate *)(rtcWork.buffer[0]); in RtcCommonCallback() local
1242 pDst->year = RtcBCD2HEX(pSrc->year); in RtcCommonCallback()
1243 pDst->month = RtcBCD2HEX(pSrc->month); in RtcCommonCallback()
1244 pDst->day = RtcBCD2HEX(pSrc->day); in RtcCommonCallback()
1245 pDst->week = RTC_GetDayOfWeek(pDst); in RtcCommonCallback()
1251 RTCTime *pDst = (RTCTime *)(rtcWork.buffer[0]); in RtcCommonCallback() local
1254 pDst->hour = RtcBCD2HEX(pSrc->hour); in RtcCommonCallback()
1255 pDst->minute = RtcBCD2HEX(pSrc->minute); in RtcCommonCallback()
1256 pDst->second = RtcBCD2HEX(pSrc->second); in RtcCommonCallback()
1262 RTCDate *pDst = (RTCDate *)(rtcWork.buffer[0]); in RtcCommonCallback() local
[all …]
/TwlSDK-5.4/build/libraries/mi/common/src/
Dmi_secureuncompress.c97 u8 *pDst = destp; in MI_SecureUncompressRL() local
160 *pDst++ = *pSrc++; in MI_SecureUncompressRL()
182 *pDst++ = srcTmp; in MI_SecureUncompressRL()
228 u8* pDst = destp; in MI_SecureUncompressLZ() local
294 *pDst++ = *pSrc++; in MI_SecureUncompressLZ()
376 if ( &pDst[ -offset ] < destp ) in MI_SecureUncompressLZ()
384 *pDst = pDst[ -offset ]; in MI_SecureUncompressLZ()
385 pDst++; in MI_SecureUncompressLZ()
531 u32 *pDst = destp; in MI_SecureUncompressHuffman() local
617 *pDst++ = MI_HToLE32(destTmp); // Endian strategy in MI_SecureUncompressHuffman()
[all …]
/TwlSDK-5.4/build/libraries/rtc/ARM9.TWL/src/
Dexternal_ex.c262 u32* pDst = (u32*)(w->buffer[0]); in RTCEXi_CommonCallback() local
266 *pDst = (u32)(pSrc->bytes[0] | (pSrc->bytes[1] << 8) | (pSrc->bytes[2] << 16)); in RTCEXi_CommonCallback()
272 u16* pDst = (u16*)(w->buffer[0]); in RTCEXi_CommonCallback() local
275 *pDst = (u16)(pSrc->fout); in RTCEXi_CommonCallback()
/TwlSDK-5.4/include/twl/ssp/ARM9/
Djpegdec.h89 void* pDst; member