Searched refs:VALUES_PER_BAND (Results 1 - 1 of 1) sorted by relevance

/external/skia/gm/rebaseline_server/
H A Dimagediffdb.py44 VALUES_PER_BAND = 256 variable
128 whitediff_image = (graydiff_image.point(lambda p: p > 0 and VALUES_PER_BAND)
173 whitediff_image.histogram()[VALUES_PER_BAND - 1])
291 assert(len(histogram) % VALUES_PER_BAND == 0)
292 num_bands = len(histogram) / VALUES_PER_BAND
294 # Assuming that VALUES_PER_BAND is 256...
298 min_index = band * VALUES_PER_BAND
299 index = min_index + VALUES_PER_BAND

Completed in 86 milliseconds