Lines Matching refs:sum1
145 unsigned int sum1 = 0; in calcPartialHistogram() local
153 sum1 += s_Hist1[bin + i * HISTOGRAM_BIN_COUNT] & TAG_MASK; in calcPartialHistogram()
157 sum1 += s_Hist1[bin + i * HISTOGRAM_BIN_COUNT]; in calcPartialHistogram()
163 partialBuf1[blockIdx.x * HISTOGRAM_BIN_COUNT + bin] = sum1; in calcPartialHistogram()
171 unsigned int sum1 = 0; in mergeHistogram() local
178 sum1 += partialBuf1[blockIdx.x + i * HISTOGRAM_BIN_COUNT]; in mergeHistogram()
187 …reduce<MERGE_THREADBLOCK_SIZE>(smem_tuple(data0, data1, data2), thrust::tie(sum0, sum1, sum2), thr… in mergeHistogram()
192 hist1[blockIdx.x] = sum1; in mergeHistogram()
544 float sum1 = 0.0f; in updateBackgroundModel() local
554 sum1 += PV_CC; in updateBackgroundModel()
558 if (sum1 > T) in updateBackgroundModel()
561 float diff = sum1 - Pbcc * sum2; in updateBackgroundModel()
691 float sum1 = 0.0f; in updateBackgroundModel() local
699 sum1 += PV_C; in updateBackgroundModel()
703 if (sum1 > T) in updateBackgroundModel()
706 float diff = sum1 - Pbc * sum2; in updateBackgroundModel()