Home
last modified time | relevance | path

Searched refs:valL (Results 1 – 8 of 8) sorted by relevance

/external/neven/Embedded/common/src/b_BasicEm/
DFunctions.c50 uint32 valL = *( uint32* )ptrA; in bbs_memWrite32() local
53 *memPtrA++ = bbs_swapBytes( ( uint16 )( ( valL >> 0 ) & 0xFFFF ) ); in bbs_memWrite32()
54 *memPtrA++ = bbs_swapBytes( ( uint16 )( ( valL >> 16 ) & 0xFFFF ) ); in bbs_memWrite32()
56 *memPtrA++ = ( valL >> 0 ) & 0xFFFF; in bbs_memWrite32()
57 *memPtrA++ = ( valL >> 16 ) & 0xFFFF; in bbs_memWrite32()
69 uint32 valL = 0; in bbs_memRead32() local
72 valL |= ( ( uint32 )bbs_swapBytes( *memPtrA++ ) << 0 ); in bbs_memRead32()
73 valL |= ( ( uint32 )bbs_swapBytes( *memPtrA++ ) << 16 ); in bbs_memRead32()
75 valL |= ( ( uint32 )*memPtrA++ << 0 ); in bbs_memRead32()
76 valL |= ( ( uint32 )*memPtrA++ << 16 ); in bbs_memRead32()
[all …]
DString.c159 uint32 valL = ( valA < 0 ) ? -valA : valA; in bbs_cString() local
168 if( valL == 0 ) in bbs_cString()
174 while( valL > 0 ) in bbs_cString()
177 valL /= 10; in bbs_cString()
183 valL = ( valA < 0 ) ? -valA : valA; in bbs_cString()
185 if( valL == 0 ) in bbs_cString()
191 while( valL > 0 ) in bbs_cString()
193 if( iL < bufSizeA ) dstA[ --iL ] = '0' + ( valL % 10 ); in bbs_cString()
194 valL /= 10; in bbs_cString()
214 int valL = va_arg( argsA, int ); in bbs_vsnprintf() local
[all …]
DMath.c128 uint32 valL; in bbs_fastSqrt32() local
140 valL = ( ( valA << ( 30 - expL ) ) - 1073741824 ); /* ( 1 << 30 ) */ in bbs_fastSqrt32()
141 offsL = ( ( valL & 0x01FFFFFF ) + ( 1 << 12 ) ) >> 13; in bbs_fastSqrt32()
142 indexL = ( valL >> 24 ) & 0xFE; in bbs_fastSqrt32()
183 uint32 valL; in bbs_invSqrt32() local
195 valL = ( ( valA << ( 30 - expL ) ) - 1073741824 ); /* ( 1 << 30 ) */ in bbs_invSqrt32()
196 offsL = ( ( valL & 0x01FFFFFF ) + ( 1 << 9 ) ) >> 10; in bbs_invSqrt32()
197 indexL = ( valL >> 24 ) & 0xFE; in bbs_invSqrt32()
223 int32 valL = signL * valA; in bbs_inv32() local
227 if( valL <= ( int32 ) 1 ) return 0x40000000 * signL; in bbs_inv32()
[all …]
/external/neven/Embedded/common/src/b_ImageEm/
DUInt16ByteImage.c471 int32 valL; in bim_UInt16ByteImage_warp() local
510 valL = f1xL * ( srcL & 0x00FF ) + f2xL * ( srcL >> 8 ); in bim_UInt16ByteImage_warp()
514 valL = f1xL * ( *( ulPtrL + khL ) >> 8 ) + f2xL * ( *( ulPtrL + khL + 1 ) & 0x0FF ); in bim_UInt16ByteImage_warp()
516 dstPixelL = valL >> bbpLby2L; in bim_UInt16ByteImage_warp()
538 valL = f1xL * ( srcL & 0x00FF ) + f2xL * ( srcL >> 8 ); in bim_UInt16ByteImage_warp()
542 valL = f1xL * ( *( llPtrL + khL ) >> 8 ) + f2xL * ( *( llPtrL + khL + 1 ) & 0x0FF ); in bim_UInt16ByteImage_warp()
545 dstPixelL = valL >> bbpLby2L; in bim_UInt16ByteImage_warp()
559 valL = f1yL * ( *ptr1L & 0x0FF ) + f2yL * ( *ptr2L & 0x0FF ); in bim_UInt16ByteImage_warp()
560 dstPixelL = valL >> bbpLby2L; in bim_UInt16ByteImage_warp()
565 valL = f1yL * ( *( ptr1L + halfSrcWidthL - 1 ) >> 8 ) + in bim_UInt16ByteImage_warp()
[all …]
DUInt8Image.c660 int32 valL; in bim_UInt8Image_warpOffs() local
693 valL = *( ulPtrL + kL ) * f1xL + *( ulPtrL + kL + 1 ) * f2xL; in bim_UInt8Image_warpOffs()
694 *dstPtrL++ = valL >> bbpLby2L; in bim_UInt8Image_warpOffs()
713 valL = *( llPtrL + kL ) * f1xL + *( llPtrL + kL + 1 ) * f2xL; in bim_UInt8Image_warpOffs()
714 *dstPtrL++ = valL >> bbpLby2L; in bim_UInt8Image_warpOffs()
729 valL = *ptr1L * f1yL + *ptr2L * f2yL ; in bim_UInt8Image_warpOffs()
730 *dstPtrL++ = valL >> bbpLby2L; in bim_UInt8Image_warpOffs()
736 valL = *( ptr1L + srcWidthL - 1 ) * f1yL + *( ptr2L + srcWidthL - 1 ) * f2yL; in bim_UInt8Image_warpOffs()
737 *dstPtrL++ = valL >> bbpLby2L; in bim_UInt8Image_warpOffs()
754 valL = v1L * f1yL + v2L * f2yL + halfL; in bim_UInt8Image_warpOffs()
[all …]
/external/neven/Embedded/common/src/b_TensorEm/
DFlt16Vec.c337 int32 valL = valA; in bts_Flt16Vec_mul() local
340 if( valL == 0 ) in bts_Flt16Vec_mul()
352 uint32 absValL = valL > 0 ? valL : -valL; in bts_Flt16Vec_mul()
364 valL = ( ( valL >> ( shrL - 1 ) ) + 1 ) >> 1; in bts_Flt16Vec_mul()
366 if( valL >= 0x08000 ) valL = 0x07FFF; /* saturate */ in bts_Flt16Vec_mul()
378 valL <<= shlL; in bts_Flt16Vec_mul()
384 dstL[ iL ] = ( ( ( ( int32 )dstL[ iL ] * valL ) >> 15 ) + 1 ) >> 1; in bts_Flt16Vec_mul()
/external/neven/Embedded/common/src/b_APIEm/
DFunctions.c299 uint16 valL = 0; in bpi_memWriteCsa16() local
300 memPtrL += bbs_memRead16( &valL, memPtrL ); in bpi_memWriteCsa16()
301 sumL += valL; in bpi_memWriteCsa16()
/external/neven/FaceRecEm/common/src/b_FDSDK/
DSDK.c287 uint16 valL = 0; in btk_SDK_paramConsistencyTest() local
288 memPtrL += bbs_memRead16( &valL, memPtrL ); in btk_SDK_paramConsistencyTest()
289 sumL += valL; in btk_SDK_paramConsistencyTest()