Home
last modified time | relevance | path

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

/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DNeuQuant.java57 protected static final int netbiasshift = 4; /* bias for colour values */ field in NeuQuant
153 p[0] = p[1] = p[2] = (i << (netbiasshift + 8)) / netsize; in NeuQuant()
276 b = (p[pix + 0] & 0xff) << netbiasshift; in learn()
277 g = (p[pix + 1] & 0xff) << netbiasshift; in learn()
278 r = (p[pix + 2] & 0xff) << netbiasshift; in learn()
394 network[i][0] >>= netbiasshift; in unbiasnet() local
395 network[i][1] >>= netbiasshift; in unbiasnet() local
396 network[i][2] >>= netbiasshift; in unbiasnet() local
493 biasdist = dist - ((bias[i]) >> (intbiasshift - netbiasshift)); in contest()