Searched refs:netsize (Results 1 – 2 of 2) sorted by relevance
27 protected static final int netsize = 256; /* number of colours used */ field in NeuQuant55 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 …]
861 int netsize = atoi(slash); in parse_dhcp_opt() local862 *op++ = netsize; in parse_dhcp_opt()863 if (netsize > 0) in parse_dhcp_opt()865 if (netsize > 8) in parse_dhcp_opt()867 if (netsize > 16) in parse_dhcp_opt()869 if (netsize > 24) in parse_dhcp_opt()