mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9
This commit is contained in:
commit
0323705513
276 changed files with 5382 additions and 3666 deletions
|
@ -71,7 +71,7 @@ namespace GreenshotPlugin.Core {
|
|||
}
|
||||
|
||||
public class WuQuantizer : IDisposable {
|
||||
private static ILog LOG = LogManager.GetLogger(typeof(WuQuantizer));
|
||||
private static readonly ILog LOG = LogManager.GetLogger(typeof(WuQuantizer));
|
||||
|
||||
private const Int32 MAXCOLOR = 512;
|
||||
private const Int32 RED = 2;
|
||||
|
@ -82,23 +82,23 @@ namespace GreenshotPlugin.Core {
|
|||
private const Int32 MAXVOLUME = SIDESIZE * SIDESIZE * SIDESIZE;
|
||||
|
||||
// To count the colors
|
||||
private int colorCount = 0;
|
||||
private readonly int colorCount;
|
||||
|
||||
private Int32[] reds;
|
||||
private Int32[] greens;
|
||||
private Int32[] blues;
|
||||
private Int32[] sums;
|
||||
|
||||
private Int64[, ,] weights;
|
||||
private Int64[, ,] momentsRed;
|
||||
private Int64[, ,] momentsGreen;
|
||||
private Int64[, ,] momentsBlue;
|
||||
private Single[, ,] moments;
|
||||
private readonly Int64[, ,] weights;
|
||||
private readonly Int64[, ,] momentsRed;
|
||||
private readonly Int64[, ,] momentsGreen;
|
||||
private readonly Int64[, ,] momentsBlue;
|
||||
private readonly Single[, ,] moments;
|
||||
|
||||
private byte[] tag;
|
||||
|
||||
private WuColorCube[] cubes;
|
||||
private Bitmap sourceBitmap;
|
||||
private readonly WuColorCube[] cubes;
|
||||
private readonly Bitmap sourceBitmap;
|
||||
private Bitmap resultBitmap;
|
||||
|
||||
public void Dispose() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue