Home
last modified time | relevance | path

Searched refs:normL (Results 1 – 6 of 6) sorted by relevance

/external/neven/Embedded/common/src/b_TensorEm/
DInt16Vec3D.c135 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Int16Vec3D_normalize() local
139 int32 xL = ( ( int32 )ptrA->xE << 16 ) / normL; in bts_Int16Vec3D_normalize()
140 int32 yL = ( ( int32 )ptrA->yE << 16 ) / normL; in bts_Int16Vec3D_normalize()
141 int32 zL = ( ( int32 )ptrA->zE << 16 ) / normL; in bts_Int16Vec3D_normalize()
DFlt16Vec.c281 uint32 normL = bts_Flt16Vec_norm( cpA, ptrA ); in bts_Flt16Vec_normalize() local
283 if( normL == 0 ) in bts_Flt16Vec_normalize()
297 if( ( normL & 0xFFFE0000 ) != 0 ) in bts_Flt16Vec_normalize()
299 while( ( ( normL >> -expL ) & 0xFFFE0000 ) != 0 ) expL--; in bts_Flt16Vec_normalize()
300 normL >>= -expL; in bts_Flt16Vec_normalize()
304 while( ( ( normL << expL ) & 0xFFFF0000 ) == 0 ) expL++; in bts_Flt16Vec_normalize()
305 normL <<= expL; in bts_Flt16Vec_normalize()
309 fL = ( uint32 )0xFFFFFFFF / normL; in bts_Flt16Vec_normalize()
DInt16Vec2D.c153 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Int16Vec2D_normalize() local
154 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Int16Vec2D_normalize()
155 int32 yL = ( ( int32 ) ptrA->yE << 16 ) / normL; in bts_Int16Vec2D_normalize()
DRBFMap2D.c227 int32 normL = 0; in bts_RBFMap2D_compute() local
231 normL = bts_Int16Vec2D_norm( &vecL ); in bts_RBFMap2D_compute()
232 *ptrL++ = normL << internalShiftL; in bts_RBFMap2D_compute()
501 int32 normL = 0; in bts_RBFMap2D_mapVector() local
504 normL = bts_Int16Vec2D_norm( &vecL ); in bts_RBFMap2D_mapVector()
508 xSumL += ( normL * ptrA->rbfCoeffClusterE.vecArrE[ iL ].xE ) >> shiftL; in bts_RBFMap2D_mapVector()
509 ySumL += ( normL * ptrA->rbfCoeffClusterE.vecArrE[ iL ].yE ) >> shiftL; in bts_RBFMap2D_mapVector()
DFlt16Vec3D.c235 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + in bts_Flt16Vec3D_normalize() local
239 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Flt16Vec3D_normalize()
240 int32 yL = ( ( int32 ) ptrA->yE << 16 ) / normL; in bts_Flt16Vec3D_normalize()
241 int32 zL = ( ( int32 ) ptrA->zE << 16 ) / normL; in bts_Flt16Vec3D_normalize()
DFlt16Vec2D.c225 int32 normL = bbs_sqrt32( ( int32 ) ptrA->xE * ptrA->xE + ( int32 ) ptrA->yE * ptrA->yE ); in bts_Flt16Vec2D_normalize() local
226 int32 xL = ( ( int32 ) ptrA->xE << 16 ) / normL; in bts_Flt16Vec2D_normalize()
227 int32 yL = ( ( int32 ) ptrA->yE << 16 ) / normL; in bts_Flt16Vec2D_normalize()