Home
last modified time | relevance | path

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

/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DNeuQuant.java27 protected static final int netsize = 256; /* number of colours used */ field in NeuQuant
55 protected static final int maxnetpos = (netsize - 1);
77 protected static final int initrad = (netsize >> 3); /*
127 protected int[] bias = new int[netsize];
130 protected int[] freq = new int[netsize];
149 network = new int[netsize][]; in NeuQuant()
150 for (i = 0; i < netsize; i++) { in NeuQuant()
153 p[0] = p[1] = p[2] = (i << (netbiasshift + 8)) / netsize; in NeuQuant()
154 freq[i] = intbias / netsize; /* 1/netsize */ in NeuQuant()
160 byte[] map = new byte[3 * netsize]; in colorMap()
[all …]
/external/dnsmasq/src/
Doption.c806 int netsize = atoi(slash); in parse_dhcp_opt() local
807 *op++ = netsize; in parse_dhcp_opt()
808 if (netsize > 0) *op++ = *p++; in parse_dhcp_opt()
809 if (netsize > 8) *op++ = *p++; in parse_dhcp_opt()
810 if (netsize > 16) *op++ = *p++; in parse_dhcp_opt()
811 if (netsize > 24) *op++ = *p++; in parse_dhcp_opt()