Lines Matching refs:refSimL
50 int32 refSimL = 0; in bpi_normalizeSimilarities() local
67 refSimL = 0; in bpi_normalizeSimilarities()
70 refSimL += ( refSimArrA[ iL ] + roundL ) >> shiftL; in bpi_normalizeSimilarities()
71 if( refSimL > 0x40000000 ) in bpi_normalizeSimilarities()
73 refSimL = ( refSimL + 1 ) >> 1; in bpi_normalizeSimilarities()
78 refSimL = ( refSimL / refSizeA ) << shiftL; in bpi_normalizeSimilarities()
106 refSimL = ( refSimL > refSimArrA[ iL ] ) ? refSimL : refSimArrA[ iL ]; in bpi_normalizeSimilarities()
152 refSimL = 0; in bpi_normalizeSimilarities()
156 refSimL += maxSimArrL[ jL ]; in bpi_normalizeSimilarities()
161 refSimL /= jL; in bpi_normalizeSimilarities()
174 refSimL -= ( (uint32)1 << 24 ); in bpi_normalizeSimilarities()
178 *outPtrL++ = ( *rawPtrL++ - refSimL + 1 ) >> 1; in bpi_normalizeSimilarities()
194 int32 refSimL = 0; in bpi_normalizedSimilarity() local
209 refSimL = 0; in bpi_normalizedSimilarity()
212 refSimL += ( refSimArrA[ iL ] + roundL ) >> shiftL; in bpi_normalizedSimilarity()
213 if( refSimL > 0x40000000 ) in bpi_normalizedSimilarity()
215 refSimL = ( refSimL + 1 ) >> 1; in bpi_normalizedSimilarity()
220 refSimL = ( refSimL / refSizeA ) << shiftL; in bpi_normalizedSimilarity()
231 refSimL = ( refSimL > refSimArrA[ iL ] ) ? refSimL : refSimArrA[ iL ]; in bpi_normalizedSimilarity()
261 refSimL = 0; in bpi_normalizedSimilarity()
265 refSimL += maxSimArrL[ jL ]; in bpi_normalizedSimilarity()
270 refSimL /= jL; in bpi_normalizedSimilarity()
283 refSimL -= ( (uint32)1 << 24 ); in bpi_normalizedSimilarity()
284 return ( rawSimA - refSimL + 1 ) >> 1; in bpi_normalizedSimilarity()