Home
last modified time | relevance | path

Searched refs:vecL (Results 1 – 12 of 12) sorted by relevance

/external/neven/Embedded/common/src/b_TensorEm/
DFlt16Vec2D.c150 struct bts_Flt16Vec2D vecL; in bts_Flt16Vec2D_create16() local
151 vecL.xE = xA; in bts_Flt16Vec2D_create16()
152 vecL.yE = yA; in bts_Flt16Vec2D_create16()
153 vecL.bbpE = bbpA; in bts_Flt16Vec2D_create16()
154 return vecL; in bts_Flt16Vec2D_create16()
161 struct bts_Flt16Vec2D vecL; in bts_Flt16Vec2D_createVec16() local
162 vecL.xE = vecA.xE; in bts_Flt16Vec2D_createVec16()
163 vecL.yE = vecA.yE; in bts_Flt16Vec2D_createVec16()
164 vecL.bbpE = bbpA; in bts_Flt16Vec2D_createVec16()
165 return vecL; in bts_Flt16Vec2D_createVec16()
[all …]
DFlt16Vec3D.c171 struct bts_Flt16Vec3D vecL; in bts_Flt16Vec3D_create16() local
172 vecL.xE = xA; in bts_Flt16Vec3D_create16()
173 vecL.yE = yA; in bts_Flt16Vec3D_create16()
174 vecL.zE = zA; in bts_Flt16Vec3D_create16()
175 vecL.bbpE = bbpA; in bts_Flt16Vec3D_create16()
176 return vecL; in bts_Flt16Vec3D_create16()
183 struct bts_Flt16Vec3D vecL; in bts_Flt16Vec3D_create32() local
186 vecL.xE = 0; in bts_Flt16Vec3D_create32()
187 vecL.yE = 0; in bts_Flt16Vec3D_create32()
188 vecL.zE = 0; in bts_Flt16Vec3D_create32()
[all …]
DInt32Mat.c245 int32* vecL = outVecA; in bts_Int32Mat_solve2() local
314 int32 tmpL = vecL[ jPivL ]; in bts_Int32Mat_solve2()
315 vecL[ jPivL ] = vecL[ iPivL ]; in bts_Int32Mat_solve2()
316 vecL[ iPivL ] = tmpL; in bts_Int32Mat_solve2()
342 ptrL = vecL; in bts_Int32Mat_solve2()
374 shiftL = 30 - bts_absIntLog2( vecL[ jPivL ] ); in bts_Int32Mat_solve2()
376 vecL[ jPivL ] = ( vecL[ jPivL ] << shiftL ) / maxL; in bts_Int32Mat_solve2()
379 bbs_int32ReduceToNBits( &( vecL[ jPivL ] ), &bbp_vecL, 15 ); in bts_Int32Mat_solve2()
412 vecL[ iL ] -= ( ( ( tmpL * vecL[ jPivL ] ) >> ( shiftL - 1 ) ) + 1 ) >> 1; in bts_Int32Mat_solve2()
416 vecL[ iL ] -= ( tmpL * vecL[ jPivL ] ) << -shiftL; in bts_Int32Mat_solve2()
[all …]
DFlt16Alt3D.c202 struct bts_Flt16Vec3D vecL = bts_Flt16Mat3D_mapFlt( &altPtrA->matE, vecPtrA ); in bts_Flt16Alt3D_mapFlt() local
203 int32 shiftL = altPtrA->vecE.bbpE - vecL.bbpE; in bts_Flt16Alt3D_mapFlt()
207 vecL.xE += ( ( altPtrA->vecE.xE >> sh1L ) + 1 ) >> 1; in bts_Flt16Alt3D_mapFlt()
208 vecL.yE += ( ( altPtrA->vecE.yE >> sh1L ) + 1 ) >> 1; in bts_Flt16Alt3D_mapFlt()
209 vecL.zE += ( ( altPtrA->vecE.zE >> sh1L ) + 1 ) >> 1; in bts_Flt16Alt3D_mapFlt()
213 vecL.xE += altPtrA->vecE.xE << -shiftL; in bts_Flt16Alt3D_mapFlt()
214 vecL.yE += altPtrA->vecE.yE << -shiftL; in bts_Flt16Alt3D_mapFlt()
215 vecL.zE += altPtrA->vecE.zE << -shiftL; in bts_Flt16Alt3D_mapFlt()
217 return vecL; in bts_Flt16Alt3D_mapFlt()
DRBFMap2D.c228 struct bts_Int16Vec2D vecL = srcPtrA->vecArrE[ jL ]; in bts_RBFMap2D_compute() local
229 vecL.xE -= vec0L.xE; in bts_RBFMap2D_compute()
230 vecL.yE -= vec0L.yE; in bts_RBFMap2D_compute()
231 normL = bts_Int16Vec2D_norm( &vecL ); in bts_RBFMap2D_compute()
500 struct bts_Int16Vec2D vecL = ptrA->srcClusterE.vecArrE[ iL ]; in bts_RBFMap2D_mapVector() local
502 vecL.xE -= xL; in bts_RBFMap2D_mapVector()
503 vecL.yE -= yL; in bts_RBFMap2D_mapVector()
504 normL = bts_Int16Vec2D_norm( &vecL ); in bts_RBFMap2D_mapVector()
573 struct bts_Int16Vec2D vecL = srcPtrA->vecArrE[ iL ]; in bts_RBFMap2D_mapCluster() local
574 struct bts_Flt16Vec2D srcVecL = bts_Flt16Vec2D_create16( vecL.xE, vecL.yE, bbpL ); in bts_RBFMap2D_mapCluster()
DFlt16Mat3D.c263 struct bts_Int16Vec3D vecL; in bts_Flt16Mat3D_map() local
272 vecL.xE = ( ( xL >> sh1L ) + 1 ) >> 1; in bts_Flt16Mat3D_map()
273 vecL.yE = ( ( yL >> sh1L ) + 1 ) >> 1; in bts_Flt16Mat3D_map()
274 vecL.zE = ( ( zL >> sh1L ) + 1 ) >> 1; in bts_Flt16Mat3D_map()
279 vecL.xE = xL << -matPtrA->bbpE; in bts_Flt16Mat3D_map()
280 vecL.yE = yL << -matPtrA->bbpE; in bts_Flt16Mat3D_map()
281 vecL.zE = zL << -matPtrA->bbpE; in bts_Flt16Mat3D_map()
284 return vecL; in bts_Flt16Mat3D_map()
DInt16Mat2D.c135 struct bts_Int16Vec2D vecL; in bts_Int16Mat2D_map() local
136vecL.xE = ( ( int32 ) matPtrA->xxE * vecPtrA->xE + ( int32 ) matPtrA->xyE * vecPtrA->yE ) >> matPt… in bts_Int16Mat2D_map()
137vecL.yE = ( ( int32 ) matPtrA->yxE * vecPtrA->xE + ( int32 ) matPtrA->yyE * vecPtrA->yE ) >> matPt… in bts_Int16Mat2D_map()
138 return vecL; in bts_Int16Mat2D_map()
DInt16Vec3D.c151 struct bts_Int16Vec3D vecL = *ptrA; in bts_Int16Vec3D_normalized() local
152 bts_Int16Vec3D_normalize( &vecL, bbpA ); in bts_Int16Vec3D_normalized()
153 return vecL; in bts_Int16Vec3D_normalized()
DCompactAlt.c198 const int16* vecL = ptrA->vecE.arrPtrE; in bts_CompactAlt_map() local
201 for( iL = 0; iL < sizeL; iL++ ) outVecA[ iL ] = ( ( int32 )outVecA[ iL ] + vecL[ iL ] + 1 ) >> 1; in bts_CompactAlt_map()
208 …for( iL = 0; iL < sizeL; iL++ ) outVecA[ iL ] = ( ( int32 )outVecA[ iL ] + ( ( ( int32 )vecL[ iL ]… in bts_CompactAlt_map()
215 …eL; iL++ ) outVecA[ iL ] = ( ( ( ( int32 )outVecA[ iL ] + addL ) >> shrL ) + vecL[ iL ] + 1 ) >> 1; in bts_CompactAlt_map()
DFlt16Mat2D.c299 struct bts_Int16Vec2D vecL; in bts_Flt16Mat2D_map() local
307 vecL.xE = ( ( xL >> sh1L ) + 1 ) >> 1; in bts_Flt16Mat2D_map()
308 vecL.yE = ( ( yL >> sh1L ) + 1 ) >> 1; in bts_Flt16Mat2D_map()
313 vecL.xE = xL << -matPtrA->bbpE; in bts_Flt16Mat2D_map()
314 vecL.yE = yL << -matPtrA->bbpE; in bts_Flt16Mat2D_map()
317 return vecL; in bts_Flt16Mat2D_map()
DInt16Vec2D.c164 struct bts_Int16Vec2D vecL = *ptrA; in bts_Int16Vec2D_normalized() local
165 bts_Int16Vec2D_normalize( &vecL, bbpA ); in bts_Int16Vec2D_normalized()
166 return vecL; in bts_Int16Vec2D_normalized()
/external/neven/Embedded/common/src/b_BitFeatureEm/
DLocalScanDetector.c646 …struct bts_Flt16Vec2D vecL = bts_Flt16Vec2D_create32( srcVecArrL[ iL ].xE, srcVecArrL[ iL ].yE, ve… in bbf_LocalScanDetector_process() local
648 vecL = bts_Flt16Alt2D_mapFlt( &localAltL, &vecL ); in bbf_LocalScanDetector_process()
649vecL = bts_Flt16Vec2D_sub( vecL, bts_Flt16Vec2D_create32( dstVecArrL[ iL ].xE, dstVecArrL[ iL ].yE… in bbf_LocalScanDetector_process()
650 dev2L = bbs_convertU32( bts_Flt16Vec2D_norm2( &vecL ), vecL.bbpE << 1, 16 ); in bbf_LocalScanDetector_process()