Class AbstractNullPixelMask

java.lang.Object
nom.tam.image.compression.tile.mask.AbstractNullPixelMask
Direct Known Subclasses:
NullPixelMaskPreserver, NullPixelMaskRestorer

public class AbstractNullPixelMask extends Object
  • Field Details

    • EMPTY_BYTE_ARRAY

      private static final byte[] EMPTY_BYTE_ARRAY
    • NULL_INDICATOR

      protected static final byte NULL_INDICATOR
      See Also:
    • tileBuffer

      private final TileBuffer tileBuffer
    • tileIndex

      private final int tileIndex
    • nullValue

      private final long nullValue
    • mask

      private ByteBuffer mask
    • compressorControl

      private final ICompressorControl compressorControl
  • Constructor Details

    • AbstractNullPixelMask

      protected AbstractNullPixelMask(TileBuffer tileBuffer, int tileIndex, long nullValue, ICompressorControl compressorControl)
  • Method Details

    • getMaskBytes

      public byte[] getMaskBytes()
    • setMask

      public void setMask(ByteBuffer mask)
    • getCompressorControl

      protected ICompressorControl getCompressorControl()
    • getMask

      protected ByteBuffer getMask()
    • getNullValue

      protected long getNullValue()
    • getTileBuffer

      protected TileBuffer getTileBuffer()
    • getTileIndex

      protected int getTileIndex()
    • initializedMask

      protected ByteBuffer initializedMask(int remaining)