Home
last modified time | relevance | path

Searched refs:shiftL (Results 1 – 18 of 18) sorted by relevance

/external/neven/Embedded/common/src/b_TensorEm/
DInt32Mat.c37 int32 shiftL; in bts_Int32Mat_reduceToNBits() local
51 shiftL = bts_absIntLog2( maxL ) + 1 - nBitsA; in bts_Int32Mat_reduceToNBits()
53 if( shiftL > 0 ) in bts_Int32Mat_reduceToNBits()
59 *ptrL = ( ( *ptrL >> ( shiftL - 1 ) ) + 1 ) >> 1; in bts_Int32Mat_reduceToNBits()
63 *bbpPtrA -= shiftL; in bts_Int32Mat_reduceToNBits()
264 int32 bbp_pivRowL, bbp_vecL, shiftL; in bts_Int32Mat_solve2() local
374 shiftL = 30 - bts_absIntLog2( vecL[ jPivL ] ); in bts_Int32Mat_solve2()
376 vecL[ jPivL ] = ( vecL[ jPivL ] << shiftL ) / maxL; in bts_Int32Mat_solve2()
377 bbp_vecL = bbpL + shiftL - bbp_maxL; in bts_Int32Mat_solve2()
393 shiftL = bbp_tmpL + bbp_pivRowL - bbpL; in bts_Int32Mat_solve2()
[all …]
DFlt16Vec2D.c181 int32 shiftL = bts_maxAbsIntLog2Of2( xA, yA ) - 13; in bts_Flt16Vec2D_create32() local
183 if( shiftL > 0 ) in bts_Flt16Vec2D_create32()
185 int32 sh1L = shiftL - 1; in bts_Flt16Vec2D_create32()
191 vecL.xE = xA << -shiftL; in bts_Flt16Vec2D_create32()
192 vecL.yE = yA << -shiftL; in bts_Flt16Vec2D_create32()
194 vecL.bbpE = bbpA - shiftL; in bts_Flt16Vec2D_create32()
262 int32 shiftL = vec1A.bbpE - vec2A.bbpE; in bts_Flt16Vec2D_add() local
264 if( shiftL > 0 ) in bts_Flt16Vec2D_add()
266 xL = ( ( int32 ) vec2A.xE << shiftL ) + vec1A.xE; in bts_Flt16Vec2D_add()
267 yL = ( ( int32 ) vec2A.yE << shiftL ) + vec1A.yE; in bts_Flt16Vec2D_add()
[all …]
DFlt16Vec3D.c193 int32 shiftL = bts_maxAbsIntLog2Of3( xA, yA, zA ) - 13; in bts_Flt16Vec3D_create32() local
195 if( shiftL > 0 ) in bts_Flt16Vec3D_create32()
197 int32 sh1L = shiftL - 1; in bts_Flt16Vec3D_create32()
204 vecL.xE = xA << -shiftL; in bts_Flt16Vec3D_create32()
205 vecL.yE = yA << -shiftL; in bts_Flt16Vec3D_create32()
206 vecL.zE = zA << -shiftL; in bts_Flt16Vec3D_create32()
208 vecL.bbpE = bbpA - shiftL; in bts_Flt16Vec3D_create32()
259 int32 shiftL = vec1A.bbpE - vec2A.bbpE; in bts_Flt16Vec3D_add() local
261 if( shiftL > 0 ) in bts_Flt16Vec3D_add()
263 xL = vec1A.xE + ( ( int32 ) vec2A.xE << shiftL ); in bts_Flt16Vec3D_add()
[all …]
DInt16Mat2D.c120 uint32 shiftL = bts_maxAbsIntLog2Of4( xxL, xyL, yxL, yyL ) - 15; in bts_Int16Mat2D_scale() local
122 ptrA->xxE = xxL >> shiftL; in bts_Int16Mat2D_scale()
123 ptrA->xyE = xyL >> shiftL; in bts_Int16Mat2D_scale()
124 ptrA->yxE = yxL >> shiftL; in bts_Int16Mat2D_scale()
125 ptrA->yyE = yyL >> shiftL; in bts_Int16Mat2D_scale()
127 ptrA->bbpE += scaleA.bbpE - shiftL; in bts_Int16Mat2D_scale()
152 uint32 shiftL = bts_maxAbsIntLog2Of4( xxL, xyL, yxL, yyL ) - 15; in bts_Int16Mat2D_mul() local
154 matL.xxE = xxL >> shiftL; in bts_Int16Mat2D_mul()
155 matL.xyE = xyL >> shiftL; in bts_Int16Mat2D_mul()
156 matL.yxE = yxL >> shiftL; in bts_Int16Mat2D_mul()
[all …]
DCluster3D.c186 int32 shiftL = bbpA - ptrA->bbpE; in bts_Cluster3D_int32X() local
197 if( shiftL >= 0 ) in bts_Cluster3D_int32X()
199 return ( int32 ) ptrA->vecArrE[ indexA ].xE << shiftL; in bts_Cluster3D_int32X()
203 return ( ( ( int32 ) ptrA->vecArrE[ indexA ].xE >> ( -shiftL - 1 ) ) + 1 ) >> 1; in bts_Cluster3D_int32X()
214 int32 shiftL = bbpA - ptrA->bbpE; in bts_Cluster3D_int32Y() local
225 if( shiftL >= 0 ) in bts_Cluster3D_int32Y()
227 return ( int32 ) ptrA->vecArrE[ indexA ].yE << shiftL; in bts_Cluster3D_int32Y()
231 return ( ( ( int32 ) ptrA->vecArrE[ indexA ].yE >> ( -shiftL - 1 ) ) + 1 ) >> 1; in bts_Cluster3D_int32Y()
242 int32 shiftL = bbpA - ptrA->bbpE; in bts_Cluster3D_int32Z() local
253 if( shiftL >= 0 ) in bts_Cluster3D_int32Z()
[all …]
DRBFMap2D.c274 int32 shiftL = srcPtrA->bbpE - ptrA->srcClusterE.bbpE + internalShiftL; in bts_RBFMap2D_compute() local
275 if( shiftL >= 0 ) in bts_RBFMap2D_compute()
277 … = 0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( int32 )( dstVecL[ iL ].xE - altVecL[ iL ].xE ) << shiftL; in bts_RBFMap2D_compute()
281 …trL[ iL ] = ( ( ( int32 )( dstVecL[ iL ].xE - altVecL[ iL ].xE ) >> ( ( -shiftL ) - 1 ) ) + 1 ) >>… in bts_RBFMap2D_compute()
308 if( shiftL >= 0 ) in bts_RBFMap2D_compute()
310 … = 0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( int32 )( dstVecL[ iL ].yE - altVecL[ iL ].yE ) << shiftL; in bts_RBFMap2D_compute()
314 …trL[ iL ] = ( ( ( int32 )( dstVecL[ iL ].yE - altVecL[ iL ].yE ) >> ( ( -shiftL ) - 1 ) ) + 1 ) >>… in bts_RBFMap2D_compute()
484 int32 shiftL = ptrA->srcClusterE.bbpE - vecA.bbpE; in bts_RBFMap2D_mapVector() local
485 if( shiftL > 0 ) in bts_RBFMap2D_mapVector()
487 xL <<= shiftL; in bts_RBFMap2D_mapVector()
[all …]
DFlt16Mat3D.c206 int32 shiftL = bbs_max( bbs_max( xShiftL, yShiftL ), zShiftL ); in bts_Flt16Mat3D_create32() local
208 if( shiftL > 0 ) in bts_Flt16Mat3D_create32()
210 int32 sh1L = shiftL - 1; in bts_Flt16Mat3D_create32()
223 matL.xxE = xxA << -shiftL; in bts_Flt16Mat3D_create32()
224 matL.xyE = xyA << -shiftL; in bts_Flt16Mat3D_create32()
225 matL.xzE = xzA << -shiftL; in bts_Flt16Mat3D_create32()
226 matL.yxE = yxA << -shiftL; in bts_Flt16Mat3D_create32()
227 matL.yyE = yyA << -shiftL; in bts_Flt16Mat3D_create32()
228 matL.yzE = yzA << -shiftL; in bts_Flt16Mat3D_create32()
229 matL.zxE = zxA << -shiftL; in bts_Flt16Mat3D_create32()
[all …]
DCluster2D.c45 uint32 shiftL, quotientL; in bts_Cluster2D_computeScale() local
49 shiftL = 31 - bbs_intLog2( enumA ); in bts_Cluster2D_computeScale()
68 if( ( bbp_enumA + shiftL - bbp_denomL ) & 1 ) shiftL--; in bts_Cluster2D_computeScale()
70 quotientL = ( enumA << shiftL ) / denomA; in bts_Cluster2D_computeScale()
73 *bbp_scaleA = ( bbp_enumA + shiftL - bbp_denomL ) >> 1; in bts_Cluster2D_computeScale()
257 int32 shiftL = bbpA - ptrA->bbpE; in bts_Cluster2D_int32X() local
259 if( shiftL >= 0 ) in bts_Cluster2D_int32X()
261 xL <<= shiftL; in bts_Cluster2D_int32X()
265 xL = ( ( xL >> ( -shiftL - 1 ) ) + 1 ) >> 1; in bts_Cluster2D_int32X()
290 int32 shiftL = bbpA - ptrA->bbpE; in bts_Cluster2D_int32Y() local
[all …]
DFlt16Mat2D.c250 int32 shiftL = bts_maxAbsIntLog2Of4( xxA, xyA, yxA, yyA ) - 13; in bts_Flt16Mat2D_create32() local
252 if( shiftL > 0 ) in bts_Flt16Mat2D_create32()
254 int32 sh1L = shiftL - 1; in bts_Flt16Mat2D_create32()
262 matL.xxE = xxA << -shiftL; in bts_Flt16Mat2D_create32()
263 matL.xyE = xyA << -shiftL; in bts_Flt16Mat2D_create32()
264 matL.yxE = yxA << -shiftL; in bts_Flt16Mat2D_create32()
265 matL.yyE = yyA << -shiftL; in bts_Flt16Mat2D_create32()
268 matL.bbpE = bbpA - shiftL; in bts_Flt16Mat2D_create32()
282 int32 shiftL = scaleExpL - 14; in bts_Flt16Mat2D_scale() local
283 scaleA = ( ( scaleA >> ( shiftL - 1 ) ) + 1 ) >> 1; in bts_Flt16Mat2D_scale()
[all …]
DFlt16Alt3D.c203 int32 shiftL = altPtrA->vecE.bbpE - vecL.bbpE; in bts_Flt16Alt3D_mapFlt() local
204 if( shiftL > 0 ) in bts_Flt16Alt3D_mapFlt()
206 int32 sh1L = shiftL - 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()
/external/neven/Embedded/common/src/b_ImageEm/
DUInt16ByteImage.c352 int32 shiftL; in bim_UInt16ByteImage_warp() local
383 shiftL = invAlt2DL.matE.bbpE - bbpL; in bim_UInt16ByteImage_warp()
384 if( shiftL >= 0 ) in bim_UInt16ByteImage_warp()
386 mxxL = ( int32 )invAlt2DL.matE.xxE >> shiftL; in bim_UInt16ByteImage_warp()
387 mxyL = ( int32 )invAlt2DL.matE.xyE >> shiftL; in bim_UInt16ByteImage_warp()
388 myxL = ( int32 )invAlt2DL.matE.yxE >> shiftL; in bim_UInt16ByteImage_warp()
389 myyL = ( int32 )invAlt2DL.matE.yyE >> shiftL; in bim_UInt16ByteImage_warp()
394 maxInt32Value8bbpL >>= -shiftL; in bim_UInt16ByteImage_warp()
407 maxInt32Value8bbpL >> ( bbpL - ( -shiftL ) ) ); in bim_UInt16ByteImage_warp()
411 mxxL = ( int32 )invAlt2DL.matE.xxE << -shiftL; in bim_UInt16ByteImage_warp()
[all …]
DUInt8Image.c538 int32 shiftL; in bim_UInt8Image_warpOffs() local
569 shiftL = invAlt2DL.matE.bbpE - bbpL; in bim_UInt8Image_warpOffs()
570 if( shiftL >= 0 ) in bim_UInt8Image_warpOffs()
572 mxxL = invAlt2DL.matE.xxE >> shiftL; in bim_UInt8Image_warpOffs()
573 mxyL = invAlt2DL.matE.xyE >> shiftL; in bim_UInt8Image_warpOffs()
574 myxL = invAlt2DL.matE.yxE >> shiftL; in bim_UInt8Image_warpOffs()
575 myyL = invAlt2DL.matE.yyE >> shiftL; in bim_UInt8Image_warpOffs()
580 maxInt32Value8bbpL >>= -shiftL; in bim_UInt8Image_warpOffs()
593 maxInt32Value8bbpL >> ( bbpL - ( -shiftL ) ) ); in bim_UInt8Image_warpOffs()
597 mxxL = invAlt2DL.matE.xxE << -shiftL; in bim_UInt8Image_warpOffs()
[all …]
/external/neven/Embedded/common/src/b_BasicEm/
DMath.c289 int32 shiftL = 16 - ( valA >> 27 ); in bbs_pow2() local
291 if( shiftL == 32 ) return 1; in bbs_pow2()
292 return ( 1 << ( 32 - shiftL ) ) + ( bbs_pow2M1( offsL ) >> shiftL ); in bbs_pow2()
300 int32 shiftL; in bbs_exp() local
316 shiftL = 16 - ( adjustedL >> 27 ); in bbs_exp()
317 if( shiftL == 32 ) return 1; in bbs_exp()
319 return ( ( int32 ) 1 << ( 32 - shiftL ) ) + ( bbs_pow2M1( offsL ) >> shiftL ); in bbs_exp()
743 int32 shiftL = posHighestBitL - nBitsA; in bbs_uint32ReduceToNBits() local
744 if( shiftL > 0 ) in bbs_uint32ReduceToNBits()
746 ( *argPtrA ) >>= shiftL; in bbs_uint32ReduceToNBits()
[all …]
DPhase.c287 uint32 shiftL = bbs_intLog2( yL ) - 15; in bbs_phase16() local
288 xL >>= shiftL; in bbs_phase16()
289 yL >>= shiftL; in bbs_phase16()
297 uint32 shiftL = bbs_intLog2( xL ) - 15; in bbs_phase16() local
298 xL >>= shiftL; in bbs_phase16()
299 yL >>= shiftL; in bbs_phase16()
/external/neven/Embedded/common/src/b_APIEm/
DFunctions.c65 int32 shiftL = 0; in bpi_normalizeSimilarities() local
70 refSimL += ( refSimArrA[ iL ] + roundL ) >> shiftL; in bpi_normalizeSimilarities()
74 shiftL++; in bpi_normalizeSimilarities()
75 roundL = ( int32 )1 << ( shiftL - 1 ); in bpi_normalizeSimilarities()
78 refSimL = ( refSimL / refSizeA ) << shiftL; in bpi_normalizeSimilarities()
207 int32 shiftL = 0; in bpi_normalizedSimilarity() local
212 refSimL += ( refSimArrA[ iL ] + roundL ) >> shiftL; in bpi_normalizedSimilarity()
216 shiftL++; in bpi_normalizedSimilarity()
217 roundL = ( int32 )1 << ( shiftL - 1 ); in bpi_normalizedSimilarity()
220 refSimL = ( refSimL / refSizeA ) << shiftL; in bpi_normalizedSimilarity()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestKeyboardModifierSet.java117 modifierSet.contains(EnumSet.of(Modifier.cmd, Modifier.shiftL))); in testParseSet_multiple()
121 Modifier.shiftL, Modifier.shiftR))); in testParseSet_multiple()
/external/cldr/tools/java/org/unicode/cldr/draft/
DKeyboardModifierSet.java45 cmd, ctrlL, ctrlR, caps, altL, altR, optL, optR, shiftL, shiftR; enumConstant
251 Modifier.optL, Modifier.optR), shift(Modifier.shiftL, Modifier.shiftR);
DKeyboard.java56 cmd, ctrlL, ctrlR, caps, altL, altR, optL, optR, shiftL, shiftR; enumConstant