/external/chromium_org/tools/telemetry/telemetry/core/ |
bitmap_unittest.py | 28 hist1 = [] 31 ValueError, lambda: bitmap.HistogramDistance(hist1, hist2)) 33 hist1 = [0, 0, 0] 36 ValueError, lambda: bitmap.HistogramDistance(hist1, hist2)) 39 hist1 = [1] 42 ValueError, lambda: bitmap.HistogramDistance(hist1, hist2)) 45 hist1 = [2, 4, 1, 8, 0, -1] 47 self.assertEqual(bitmap.HistogramDistance(hist1, hist2), 0) 50 hist1 = [0, 0, 1, 0, 0] 52 self.assertEqual(bitmap.HistogramDistance(hist1, hist2), 2 [all...] |
bitmap.py | 25 def HistogramDistance(hist1, hist2): 35 if len(hist1) != len(hist2): 37 'of different sizes, %s != %s' % (len(hist1), len(hist2))) 39 n1 = sum(hist1) 48 for value1, value2 in zip(hist1, hist2): 68 hist1 = self[i] 74 hist1 = [0] * 256 75 hist1[self.default_color[i]] = 1 82 total += HistogramDistance(hist1, hist2)
|
/external/svox/pico/lib/ |
picokdt.h | 389 hist1 - hist2: previously predicted ACC values 409 const picoos_uint16 hist1,
|
picoacph.c | 789 picoos_uint16 hist1; local 825 hist1 = PICOKDT_HISTORY_ZERO; 882 hist2 = hist1; 883 hist1 = prevout; 901 hist1, hist2, nrwordspre, nrsyllspre, 908 hist1, hist2, nrwordspre, nrsyllspre, [all...] |
picokdt.c | [all...] |
/external/opencv/cv/src/ |
cvhistogram.cpp | 399 cvCompareHist( const CvHistogram* hist1, 413 if( !CV_IS_HIST(hist1) || !CV_IS_HIST(hist2) ) 416 if( CV_IS_SPARSE_MAT(hist1->bins) != CV_IS_SPARSE_MAT(hist2->bins)) 419 CV_CALL( dims1 = cvGetDims( hist1->bins, size1 )); 434 if( !CV_IS_SPARSE_MAT(hist1->bins)) 439 CV_CALL( cvGetRawData( hist1->bins, &v.ptr )); 513 CvSparseMat* mat1 = (CvSparseMat*)(hist1->bins); [all...] |
/external/opencv/cv/include/ |
cv.h | [all...] |