Skip to content
Snippets Groups Projects
Commit c609207d authored by Vojtěch Moravec's avatar Vojtěch Moravec
Browse files

Improved reporting in VQ compress

parent 38b82dde
Branches
Tags v2.0-beta10-worker3
No related merge requests found
...@@ -166,7 +166,7 @@ public class VQImageCompressor extends CompressorDecompressorBase implements IIm ...@@ -166,7 +166,7 @@ public class VQImageCompressor extends CompressorDecompressorBase implements IIm
assert (quantizer != null); assert (quantizer != null);
reportStatusToListeners("Compressing plane..."); reportProgressListeners(planeCounter, planeIndices.length, "Compressing plane %d", planeIndex);
final int[] indices = quantizer.quantizeIntoIndices(planeVectors, options.getWorkerCount()); final int[] indices = quantizer.quantizeIntoIndices(planeVectors, options.getWorkerCount());
planeDataSizes[planeCounter++] = writeHuffmanEncodedIndices(compressStream, huffman, indices); planeDataSizes[planeCounter++] = writeHuffmanEncodedIndices(compressStream, huffman, indices);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment