Home
last modified time | relevance | path

Searched refs:sumL (Results 1 – 20 of 20) sorted by relevance

/external/neven/Embedded/common/src/b_ImageEm/
DToneDownBGSupp.c97 uint32 sumL, ctrL; in bim_ToneDownBGSupp_BGGreyLevelOutside() local
126 sumL = 0; in bim_ToneDownBGSupp_BGGreyLevelOutside()
134 sumL += *imgPtrL; in bim_ToneDownBGSupp_BGGreyLevelOutside()
146 sumL += *imgPtrL; in bim_ToneDownBGSupp_BGGreyLevelOutside()
159 sumL += imgPtrL[ iL ]; in bim_ToneDownBGSupp_BGGreyLevelOutside()
169 sumL += imgPtrL[ iL ]; in bim_ToneDownBGSupp_BGGreyLevelOutside()
176 *meanBGGrayLevelA = ( sumL << 16 ) / ( uint32 ) ctrL; in bim_ToneDownBGSupp_BGGreyLevelOutside()
179 *meanBGGrayLevelA = sumL / ctrL; /* integer division */ in bim_ToneDownBGSupp_BGGreyLevelOutside()
180 sumL = sumL - *meanBGGrayLevelA * ctrL; /* result always greater than or equal to zero */ in bim_ToneDownBGSupp_BGGreyLevelOutside()
182 *meanBGGrayLevelA = *meanBGGrayLevelA + ( sumL << 16 ) / ctrL; /* add residue */ in bim_ToneDownBGSupp_BGGreyLevelOutside()
[all …]
DHistoEq16.c124 uint32 sumL = 0; in bim_equalize16() local
143 sumL += *histoArrPtrL++; in bim_equalize16()
144 mappingL[ kL ] = ( sumL * 255 ) / totalSumL; in bim_equalize16()
DHistoEq.c119 uint32 sumL = 0; in bim_equalize() local
138 sumL += *histoArrPtrL++; in bim_equalize()
139 mappingL[ kL ] = ( sumL * 255 ) / totalSumL; in bim_equalize()
DUInt32Image.c119 uint32 sumL =0 ; in bim_UInt32Image_checkSum() local
125 sumL += *ptrL++; in bim_UInt32Image_checkSum()
127 return sumL; in bim_UInt32Image_checkSum()
DComplexImage.c111 uint32 sumL =0 ; in bim_ComplexImage_checkSum() local
117 sumL += ptrL->imagE + ptrL->realE; in bim_ComplexImage_checkSum()
120 return sumL; in bim_ComplexImage_checkSum()
DUInt8Image.c130 uint32 sumL =0 ; in bim_UInt8Image_checkSum() local
136 sumL += *ptrL++; in bim_UInt8Image_checkSum()
138 return sumL; in bim_UInt8Image_checkSum()
DUInt16ByteImage.c110 uint32 sumL =0 ; in bim_UInt16ByteImage_checkSum() local
116 sumL += *ptrL++; in bim_UInt16ByteImage_checkSum()
118 return sumL; in bim_UInt16ByteImage_checkSum()
/external/neven/Embedded/common/src/b_TensorEm/
DFlt16Vec.c101 int32 sumL = 0; in bts_Flt16Vec_avg() local
105 sumL += srcL[ iL ]; in bts_Flt16Vec_avg()
107 return sumL / ( int32 )sizeL; in bts_Flt16Vec_avg()
400 int32 sumL; in bts_Flt16Vec_dotPtrd() local
408 sumL = 0; in bts_Flt16Vec_dotPtrd()
412 sumL += ( int32 )arr1L[ iL ] * ( int32 )arr2L[ iL ]; in bts_Flt16Vec_dotPtrd()
413 if( ( ( ( sumL > 0 ) ? sumL : -sumL ) & 0xC0000000 ) != 0 ) break; in bts_Flt16Vec_dotPtrd()
420 sumL = ( ( sumL >> 1 ) + 1 ) >> 1; in bts_Flt16Vec_dotPtrd()
425 sumL += ( int32 )( ( arr1L[ iL ] + 1 ) >> 1 ) * ( int32 )( ( arr2L[ iL ] + 1 ) >> 1 ); in bts_Flt16Vec_dotPtrd()
426 if( ( ( ( sumL > 0 ) ? sumL : -sumL ) & 0xC0000000 ) != 0 ) break; in bts_Flt16Vec_dotPtrd()
[all …]
DCompactMat.c61 int32 sumL = 0; in bts_CompactMat_fltDotPrdRow() local
69 for( iL = sizeL; iL > 0; iL-- ) sumL += ( ( int32 )*rowPtrL++ * ( int32 )*inPtrL++ ); in bts_CompactMat_fltDotPrdRow()
80 sumL += ( ( int8 ) dpL[ 0 ] * ( int32 )inPtrL[ 0 ] ); in bts_CompactMat_fltDotPrdRow()
81 sumL += ( ( int8 )( dpL[ 0 ] >> 8 ) * ( int32 )inPtrL[ 1 ] ); in bts_CompactMat_fltDotPrdRow()
82 sumL += ( ( int8 ) dpL[ 1 ] * ( int32 )inPtrL[ 2 ] ); in bts_CompactMat_fltDotPrdRow()
83 sumL += ( ( int8 )( dpL[ 1 ] >> 8 ) * ( int32 )inPtrL[ 3 ] ); in bts_CompactMat_fltDotPrdRow()
84 sumL += ( ( int8 ) dpL[ 2 ] * ( int32 )inPtrL[ 4 ] ); in bts_CompactMat_fltDotPrdRow()
85 sumL += ( ( int8 )( dpL[ 2 ] >> 8 ) * ( int32 )inPtrL[ 5 ] ); in bts_CompactMat_fltDotPrdRow()
86 sumL += ( ( int8 ) dpL[ 3 ] * ( int32 )inPtrL[ 6 ] ); in bts_CompactMat_fltDotPrdRow()
87 sumL += ( ( int8 )( dpL[ 3 ] >> 8 ) * ( int32 )inPtrL[ 7 ] ); in bts_CompactMat_fltDotPrdRow()
[all …]
DCluster2D.c200 int32 sumL = ptrA->bbpE; in bts_Cluster2D_checkSum() local
204 sumL += vecPtrL->xE; in bts_Cluster2D_checkSum()
205 sumL += vecPtrL->yE; in bts_Cluster2D_checkSum()
209 return (uint32)sumL; in bts_Cluster2D_checkSum()
/external/neven/Embedded/common/src/b_BasicEm/
DMath.c941 uint32 sumL = 0; in bbs_vecSqrNorm32() local
972 sumL = ( ( sumL >> ( shrL - 1 ) ) + 1 ) >> 1; in bbs_vecSqrNorm32()
976 sumL += prdL; in bbs_vecSqrNorm32()
978 if( sumL > 0x80000000 ) in bbs_vecSqrNorm32()
980 sumL = ( sumL + 1 ) >> 1; in bbs_vecSqrNorm32()
988 sumL = ( sumL + 1 ) >> 1; in bbs_vecSqrNorm32()
992 if( manPtrA != NULL ) *manPtrA = sumL; in bbs_vecSqrNorm32()
1000 uint32 sumL = 0; in bbs_vecSqrNorm16() local
1015 sumL += prdL; in bbs_vecSqrNorm16()
1017 if( sumL > 0x80000000 ) in bbs_vecSqrNorm16()
[all …]
DFunctions.c260 uint16 sumL = 0; in bbs_memCheckSum16() local
264 sumL += bbs_swapBytes( memPtrA[ iL ] ); in bbs_memCheckSum16()
266 sumL += memPtrA[ iL ]; in bbs_memCheckSum16()
270 return sumL; in bbs_memCheckSum16()
DUInt16Arr.c119 uint32 sumL = 0; in bbs_UInt16Arr_checkSum() local
123 sumL += *ptrL++; in bbs_UInt16Arr_checkSum()
125 return sumL; in bbs_UInt16Arr_checkSum()
/external/neven/Embedded/common/src/b_BitFeatureEm/
DI04Dns2x2Ftr.c199 int32 sumL = 0; in bbf_I04Dns2x2Ftr_activity() local
221 sumL += tableL[ ( vL ) & 0x0F ]; in bbf_I04Dns2x2Ftr_activity()
222 sumL += tableL[ 16 + ( ( vL >> 4 ) & 0x0F ) ]; in bbf_I04Dns2x2Ftr_activity()
223 sumL += tableL[ 32 + ( ( vL >> 8 ) & 0x0F ) ]; in bbf_I04Dns2x2Ftr_activity()
224 sumL += tableL[ 48 + ( ( vL >> 12 ) & 0x0F ) ]; in bbf_I04Dns2x2Ftr_activity()
225 sumL += tableL[ 64 + ( ( vL >> 16 ) & 0x0F ) ]; in bbf_I04Dns2x2Ftr_activity()
226 sumL += tableL[ 80 + ( ( vL >> 20 ) & 0x0F ) ]; in bbf_I04Dns2x2Ftr_activity()
227 sumL += tableL[ 96 + ( ( vL >> 24 ) & 0x0F ) ]; in bbf_I04Dns2x2Ftr_activity()
228 sumL += tableL[ 112 + ( ( vL >> 28 ) & 0x0F ) ]; in bbf_I04Dns2x2Ftr_activity()
247 sumL += tableL[ vL & 0x0F ]; in bbf_I04Dns2x2Ftr_activity()
[all …]
DI04Dns2x4Ftr.c204 int32 sumL = 0; in bbf_I04Dns2x4Ftr_activity() local
259 sumL += tableL[ ( vL ) & 0x0F ]; in bbf_I04Dns2x4Ftr_activity()
260 sumL += tableL[ 16 + ( ( vL >> 4 ) & 0x0F ) ]; in bbf_I04Dns2x4Ftr_activity()
261 sumL += tableL[ 32 + ( ( vL >> 8 ) & 0x0F ) ]; in bbf_I04Dns2x4Ftr_activity()
262 sumL += tableL[ 48 + ( ( vL >> 12 ) & 0x0F ) ]; in bbf_I04Dns2x4Ftr_activity()
263 sumL += tableL[ 64 + ( ( vL >> 16 ) & 0x0F ) ]; in bbf_I04Dns2x4Ftr_activity()
264 sumL += tableL[ 80 + ( ( vL >> 20 ) & 0x0F ) ]; in bbf_I04Dns2x4Ftr_activity()
265 sumL += tableL[ 96 + ( ( vL >> 24 ) & 0x0F ) ]; in bbf_I04Dns2x4Ftr_activity()
266 sumL += tableL[ 112 + ( ( vL >> 28 ) & 0x0F ) ]; in bbf_I04Dns2x4Ftr_activity()
274 sumL += tableL[ vL & 0x0F ]; in bbf_I04Dns2x4Ftr_activity()
[all …]
DI04Tld2x4Ftr.c199 int32 sumL = 0; in bbf_I04Tld2x4Ftr_activity() local
262 sumL += tableL[ ( vL ) & 0x0F ]; in bbf_I04Tld2x4Ftr_activity()
263 sumL += tableL[ 16 + ( ( vL >> 4 ) & 0x0F ) ]; in bbf_I04Tld2x4Ftr_activity()
264 sumL += tableL[ 32 + ( ( vL >> 8 ) & 0x0F ) ]; in bbf_I04Tld2x4Ftr_activity()
265 sumL += tableL[ 48 + ( ( vL >> 12 ) & 0x0F ) ]; in bbf_I04Tld2x4Ftr_activity()
266 sumL += tableL[ 64 + ( ( vL >> 16 ) & 0x0F ) ]; in bbf_I04Tld2x4Ftr_activity()
267 sumL += tableL[ 80 + ( ( vL >> 20 ) & 0x0F ) ]; in bbf_I04Tld2x4Ftr_activity()
268 sumL += tableL[ 96 + ( ( vL >> 24 ) & 0x0F ) ]; in bbf_I04Tld2x4Ftr_activity()
269 sumL += tableL[ 112 + ( ( vL >> 28 ) & 0x0F ) ]; in bbf_I04Tld2x4Ftr_activity()
276 …return sumL * ( ptrL->activityFactorE >> 8 ) + ( ( sumL * ( int32 )( ptrL->activityFactorE & 0x0FF… in bbf_I04Tld2x4Ftr_activity()
DLocalScanDetector.c88 int32 sumL = 0; in bbf_LocalScanDetector_pcaMap() local
92 sumL += matPtrL[ 0 ] * ( vecArrL[ jL ].xE - avgPtrL[ 0 ] ); in bbf_LocalScanDetector_pcaMap()
93 sumL += matPtrL[ 1 ] * ( vecArrL[ jL ].yE - avgPtrL[ 1 ] ); in bbf_LocalScanDetector_pcaMap()
97 prjVecL[ iL ] = ( sumL + 128 ) >> 8; in bbf_LocalScanDetector_pcaMap()
107 int32 sumL = 0; in bbf_LocalScanDetector_pcaMap() local
110 sumL += matPtrL[ iL * matWidthL + 0 ] * prjVecL[ iL ]; in bbf_LocalScanDetector_pcaMap()
113 vecArrL[ jL ].xE = ( ( sumL + 128 ) >> 8 ) + avgPtrL[ 0 ]; in bbf_LocalScanDetector_pcaMap()
115 sumL = 0; in bbf_LocalScanDetector_pcaMap()
118 sumL += matPtrL[ iL * matWidthL + 1 ] * prjVecL[ iL ]; in bbf_LocalScanDetector_pcaMap()
121 vecArrL[ jL ].yE = ( ( sumL + 128 ) >> 8 ) + avgPtrL[ 1 ]; in bbf_LocalScanDetector_pcaMap()
DL04Dns2x2Ftr.c201 int32 sumL = 0; in bbf_L04Dns2x2Ftr_activity() local
225 sumL += bbf_BIT_SUM_32( vL ); in bbf_L04Dns2x2Ftr_activity()
234 return actL * ptrL->activityFactorE + sumL * ptrL->wShiftE; in bbf_L04Dns2x2Ftr_activity()
/external/neven/Embedded/common/src/b_APIEm/
DFunctions.c293 uint16 sumL = 0; in bpi_memWriteCsa16() local
301 sumL += valL; in bpi_memWriteCsa16()
303 csaL = chkSumA - sumL; in bpi_memWriteCsa16()
/external/neven/FaceRecEm/common/src/b_FDSDK/
DSDK.c263 uint16 sumL = 0; in btk_SDK_paramConsistencyTest() local
289 sumL += valL; in btk_SDK_paramConsistencyTest()
292 if( sumL != 0xFFFF ) in btk_SDK_paramConsistencyTest()