Skip to content
Snippets Groups Projects
Commit 48a98ca8 authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Notes.

parent d48cd88c
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,15 @@ public class CellHandler extends ContextHandler
@SuppressWarnings( "unchecked" )
final short[] data = ( ( VolatileCell< VolatileShortArray > ) cell ).getData().getCurrentStorageArray();
/*
* NOTE(Moravec): This is possible place, where to compress data. Image data are inside data array, but we access only part of the image.
* if (compressionEnabled)
* {
* data = compress(data);
* }
* */
final byte[] buf = new byte[ 2 * data.length ];
for ( int i = 0, j = 0; i < data.length; i++ )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment