/external/neven/Embedded/common/src/b_TensorEm/ |
H A D | Int32Mat.c | 37 int32 shiftL; local 51 shiftL = bts_absIntLog2( maxL ) + 1 - nBitsA; 53 if( shiftL > 0 ) 59 *ptrL = ( ( *ptrL >> ( shiftL - 1 ) ) + 1 ) >> 1; 63 *bbpPtrA -= shiftL; 264 int32 bbp_pivRowL, bbp_vecL, shiftL; local 374 shiftL = 30 - bts_absIntLog2( vecL[ jPivL ] ); 376 vecL[ jPivL ] = ( vecL[ jPivL ] << shiftL ) / maxL; 377 bbp_vecL = bbpL + shiftL - bbp_maxL; 393 shiftL 427 pivRowL[ jL ] <<= shiftL; local 442 vecL[ jPivL ] <<= shiftL; local 459 int32 iL, shiftL; local 481 for( iL = 0; iL < sizeL; iL++ ) vecL[ iL ] <<= shiftL; local [all...] |
H A D | Flt16Vec3D.c | 193 int32 shiftL = bts_maxAbsIntLog2Of3( xA, yA, zA ) - 13; local 195 if( shiftL > 0 ) 197 int32 sh1L = shiftL - 1; 204 vecL.xE = xA << -shiftL; 205 vecL.yE = yA << -shiftL; 206 vecL.zE = zA << -shiftL; 208 vecL.bbpE = bbpA - shiftL; 259 int32 shiftL = vec1A.bbpE - vec2A.bbpE; local 261 if( shiftL > 0 ) 263 xL = vec1A.xE + ( ( int32 ) vec2A.xE << shiftL ); 284 int32 shiftL = vec1A.bbpE - vec2A.bbpE; local [all...] |
H A D | Int16Mat2D.c | 120 uint32 shiftL = bts_maxAbsIntLog2Of4( xxL, xyL, yxL, yyL ) - 15; local 122 ptrA->xxE = xxL >> shiftL; 123 ptrA->xyE = xyL >> shiftL; 124 ptrA->yxE = yxL >> shiftL; 125 ptrA->yyE = yyL >> shiftL; 127 ptrA->bbpE += scaleA.bbpE - shiftL; 152 uint32 shiftL = bts_maxAbsIntLog2Of4( xxL, xyL, yxL, yyL ) - 15; local 154 matL.xxE = xxL >> shiftL; 155 matL.xyE = xyL >> shiftL; 156 matL.yxE = yxL >> shiftL; [all...] |
H A D | Flt16Vec2D.c | 181 int32 shiftL = bts_maxAbsIntLog2Of2( xA, yA ) - 13; local 183 if( shiftL > 0 ) 185 int32 sh1L = shiftL - 1; 191 vecL.xE = xA << -shiftL; 192 vecL.yE = yA << -shiftL; 194 vecL.bbpE = bbpA - shiftL; 262 int32 shiftL = vec1A.bbpE - vec2A.bbpE; local 264 if( shiftL > 0 ) 266 xL = ( ( int32 ) vec2A.xE << shiftL ) + vec1A.xE; 267 yL = ( ( int32 ) vec2A.yE << shiftL ) 285 int32 shiftL = vec1A.bbpE - vec2A.bbpE; local 317 int32 shiftL = vecA.bbpE - dstBbpA; local [all...] |
H A D | Cluster3D.c | 186 int32 shiftL = bbpA - ptrA->bbpE; local 197 if( shiftL >= 0 ) 199 return ( int32 ) ptrA->vecArrE[ indexA ].xE << shiftL; 203 return ( ( ( int32 ) ptrA->vecArrE[ indexA ].xE >> ( -shiftL - 1 ) ) + 1 ) >> 1; 214 int32 shiftL = bbpA - ptrA->bbpE; local 225 if( shiftL >= 0 ) 227 return ( int32 ) ptrA->vecArrE[ indexA ].yE << shiftL; 231 return ( ( ( int32 ) ptrA->vecArrE[ indexA ].yE >> ( -shiftL - 1 ) ) + 1 ) >> 1; 242 int32 shiftL = bbpA - ptrA->bbpE; local 253 if( shiftL > 332 int32 shiftL = altA.matE.bbpE + ptrA->bbpE - altA.vecE.bbpE; local 342 x0L <<= shiftL; local 343 y0L <<= shiftL; local 344 z0L <<= shiftL; local [all...] |
H A D | Flt16Alt3D.c | 203 int32 shiftL = altPtrA->vecE.bbpE - vecL.bbpE; local 204 if( shiftL > 0 ) 206 int32 sh1L = shiftL - 1; 213 vecL.xE += altPtrA->vecE.xE << -shiftL; 214 vecL.yE += altPtrA->vecE.yE << -shiftL; 215 vecL.zE += altPtrA->vecE.zE << -shiftL;
|
H A D | RBFMap2D.c | 274 int32 shiftL = srcPtrA->bbpE - ptrA->srcClusterE.bbpE + internalShiftL; local 275 if( shiftL >= 0 ) 277 for( iL = 0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( int32 )( dstVecL[ iL ].xE - altVecL[ iL ].xE ) << shiftL; 281 for( iL = 0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( ( ( int32 )( dstVecL[ iL ].xE - altVecL[ iL ].xE ) >> ( ( -shiftL ) - 1 ) ) + 1 ) >> 1; 308 if( shiftL >= 0 ) 310 for( iL = 0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( int32 )( dstVecL[ iL ].yE - altVecL[ iL ].yE ) << shiftL; 314 for( iL = 0; iL < sizeL; iL++ ) inPtrL[ iL ] = ( ( ( int32 )( dstVecL[ iL ].yE - altVecL[ iL ].yE ) >> ( ( -shiftL ) - 1 ) ) + 1 ) >> 1; 484 int32 shiftL = ptrA->srcClusterE.bbpE - vecA.bbpE; local 485 if( shiftL > 0 ) 487 xL <<= shiftL; local 488 yL <<= shiftL; local 523 xSumL <<= shiftL; local 524 ySumL <<= shiftL; local [all...] |
H A D | Flt16Mat3D.c | 206 int32 shiftL = bbs_max( bbs_max( xShiftL, yShiftL ), zShiftL ); local 208 if( shiftL > 0 ) 210 int32 sh1L = shiftL - 1; 223 matL.xxE = xxA << -shiftL; 224 matL.xyE = xyA << -shiftL; 225 matL.xzE = xzA << -shiftL; 226 matL.yxE = yxA << -shiftL; 227 matL.yyE = yyA << -shiftL; 228 matL.yzE = yzA << -shiftL; 229 matL.zxE = zxA << -shiftL; 247 int32 shiftL = scaleExpL - 14; local [all...] |
H A D | Cluster2D.c | 45 uint32 shiftL, quotientL; local 49 shiftL = 31 - bbs_intLog2( enumA ); 68 if( ( bbp_enumA + shiftL - bbp_denomL ) & 1 ) shiftL--; 70 quotientL = ( enumA << shiftL ) / denomA; 73 *bbp_scaleA = ( bbp_enumA + shiftL - bbp_denomL ) >> 1; 257 int32 shiftL = bbpA - ptrA->bbpE; local 259 if( shiftL >= 0 ) 261 xL <<= shiftL; local 265 xL = ( ( xL >> ( -shiftL 290 int32 shiftL = bbpA - ptrA->bbpE; local 294 yL <<= shiftL; local 675 uint32 scaleL, shiftL, quotientL, enumL, denomL, bitsTaken0L, bitsTaken1L; local 772 int32 shiftL = bitsTaken0L + bitsTaken1L - 29; local 773 cL >>= shiftL; local 774 rL >>= shiftL; local 845 int32 shiftL = dstBbpL - srcBbpL; local [all...] |
H A D | Flt16Mat2D.c | 250 int32 shiftL = bts_maxAbsIntLog2Of4( xxA, xyA, yxA, yyA ) - 13; local 252 if( shiftL > 0 ) 254 int32 sh1L = shiftL - 1; 262 matL.xxE = xxA << -shiftL; 263 matL.xyE = xyA << -shiftL; 264 matL.yxE = yxA << -shiftL; 265 matL.yyE = yyA << -shiftL; 268 matL.bbpE = bbpA - shiftL; 282 int32 shiftL = scaleExpL - 14; local 283 scaleA = ( ( scaleA >> ( shiftL [all...] |
/external/neven/Embedded/common/src/b_BasicEm/ |
H A D | Phase.c | 287 uint32 shiftL = bbs_intLog2( yL ) - 15; local 288 xL >>= shiftL; local 289 yL >>= shiftL; local 297 uint32 shiftL = bbs_intLog2( xL ) - 15; local 298 xL >>= shiftL; local 299 yL >>= shiftL; local
|
H A D | Math.c | 289 int32 shiftL = 16 - ( valA >> 27 ); local 291 if( shiftL == 32 ) return 1; 292 return ( 1 << ( 32 - shiftL ) ) + ( bbs_pow2M1( offsL ) >> shiftL ); 300 int32 shiftL; local 316 shiftL = 16 - ( adjustedL >> 27 ); 317 if( shiftL == 32 ) return 1; 319 return ( ( int32 ) 1 << ( 32 - shiftL ) ) + ( bbs_pow2M1( offsL ) >> shiftL ); 743 int32 shiftL local 756 int32 shiftL = posHighestBitL - nBitsA; local 770 uint32 shiftL = dstBbpA - srcBbpA; local 783 uint32 shiftL = srcBbpA - dstBbpA; local 803 uint32 shiftL = ( uint32 )( dstBbpA - srcBbpA ); local 821 uint32 shiftL = ( uint32 )( srcBbpA - dstBbpA ); local [all...] |
/external/neven/Embedded/common/src/b_ImageEm/ |
H A D | UInt16ByteImage.c | 352 int32 shiftL; local 383 shiftL = invAlt2DL.matE.bbpE - bbpL; 384 if( shiftL >= 0 ) 386 mxxL = ( int32 )invAlt2DL.matE.xxE >> shiftL; 387 mxyL = ( int32 )invAlt2DL.matE.xyE >> shiftL; 388 myxL = ( int32 )invAlt2DL.matE.yxE >> shiftL; 389 myyL = ( int32 )invAlt2DL.matE.yyE >> shiftL; 394 maxInt32Value8bbpL >>= -shiftL; 407 maxInt32Value8bbpL >> ( bbpL - ( -shiftL ) ) ); 411 mxxL = ( int32 )invAlt2DL.matE.xxE << -shiftL; 652 int32 shiftL; local [all...] |
H A D | UInt8Image.c | 538 int32 shiftL; local 569 shiftL = invAlt2DL.matE.bbpE - bbpL; 570 if( shiftL >= 0 ) 572 mxxL = invAlt2DL.matE.xxE >> shiftL; 573 mxyL = invAlt2DL.matE.xyE >> shiftL; 574 myxL = invAlt2DL.matE.yxE >> shiftL; 575 myyL = invAlt2DL.matE.yyE >> shiftL; 580 maxInt32Value8bbpL >>= -shiftL; 593 maxInt32Value8bbpL >> ( bbpL - ( -shiftL ) ) ); 597 mxxL = invAlt2DL.matE.xxE << -shiftL; [all...] |
/external/neven/Embedded/common/src/b_APIEm/ |
H A D | Functions.c | 65 int32 shiftL = 0; local 70 refSimL += ( refSimArrA[ iL ] + roundL ) >> shiftL; 74 shiftL++; 75 roundL = ( int32 )1 << ( shiftL - 1 ); 78 refSimL = ( refSimL / refSizeA ) << shiftL; 207 int32 shiftL = 0; local 212 refSimL += ( refSimArrA[ iL ] + roundL ) >> shiftL; 216 shiftL++; 217 roundL = ( int32 )1 << ( shiftL - 1 ); 220 refSimL = ( refSimL / refSizeA ) << shiftL; [all...] |