Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: polymer_0.5.0/bower_components/gif.js/src/NeuQuant.js

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* NeuQuant Neural-Net Quantization Algorithm 1 /* NeuQuant Neural-Net Quantization Algorithm
2 * ------------------------------------------ 2 * ------------------------------------------
3 * 3 *
4 * Copyright (c) 1994 Anthony Dekker 4 * Copyright (c) 1994 Anthony Dekker
5 * 5 *
6 * NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994. 6 * NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994.
7 * See "Kohonen neural networks for optimal colour quantization" 7 * See "Kohonen neural networks for optimal colour quantization"
8 * in "Network: Computation in Neural Systems" Vol. 5 (1994) pp 351-367. 8 * in "Network: Computation in Neural Systems" Vol. 5 (1994) pp 351-367.
9 * for a discussion of the algorithm. 9 * for a discussion of the algorithm.
10 * See also http://members.ozemail.com.au/~dekker/NEUQUANT.HTML 10 * See also http://members.ozemail.com.au/~dekker/NEUQUANT.HTML
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 /* 425 /*
426 Method: lookupRGB 426 Method: lookupRGB
427 427
428 looks for the closest *r*, *g*, *b* color in the map and 428 looks for the closest *r*, *g*, *b* color in the map and
429 returns its index 429 returns its index
430 */ 430 */
431 this.lookupRGB = inxsearch; 431 this.lookupRGB = inxsearch;
432 } 432 }
433 433
434 module.exports = NeuQuant; 434 module.exports = NeuQuant;
OLDNEW
« no previous file with comments | « polymer_0.5.0/bower_components/gif.js/src/LZWEncoder.js ('k') | polymer_0.5.0/bower_components/gif.js/src/TypedNeuQuant.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698