geotrellis.data.geotiff

LzwByteEncoder

class LzwByteEncoder extends LzwEncoder

Linear Supertypes
LzwEncoder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LzwByteEncoder
  2. LzwEncoder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LzwByteEncoder(encoder: Encoder)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addCode(str: String): Unit

    Add the given string to the string table.

    Add the given string to the string table.

    If the string table fills up, this method will write out omega (as a 12-bit code) and then reset the string table and omega.

    Definition Classes
    LzwEncoder
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. var buffer: Int

    Definition Classes
    LzwEncoder
  9. var bufpos: Int

    Definition Classes
    LzwEncoder
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. var codeBits: Int

    Definition Classes
    LzwEncoder
  12. val cols: Int

    Definition Classes
    LzwEncoder
  13. val data: Array[Int]

    Definition Classes
    LzwEncoder
  14. val dmg: DataOutputStream

    Definition Classes
    LzwEncoder
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def flushBuffer(): Unit

    Write out all remaining buffered data.

    Write out all remaining buffered data. This will have the effect of possibly padding the last value up to a byte boundary.

    Definition Classes
    LzwEncoder
  19. def flushByte(b: Byte): Unit

    Definition Classes
    LzwEncoder
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def getCode(s: String): Int

    Retrieve the given string from the string table.

    Retrieve the given string from the string table.

    This method will crash if the string can't be found.

    Definition Classes
    LzwEncoder
  22. def handleByte(k: Int): Unit

    Process a single byte of image data according to LZW.

    Process a single byte of image data according to LZW.

    This is the heart of the LZW algorithm.

    Definition Classes
    LzwEncoder
  23. def handleCell(i: Int): Unit

    Process a single cell of raster data according to LZW.

    Process a single cell of raster data according to LZW.

    This should encode the cell's value appropriately into bytes (taking into account NODATA, sign, etc) and then make one or more handleByte calls.

    Definition Classes
    LzwByteEncoderLzwEncoder
  24. def hasCode(s: String): Boolean

    Test if the given string is available in the table.

    Test if the given string is available in the table.

    Definition Classes
    LzwEncoder
  25. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  26. val imageStartOffset: Int

    Definition Classes
    LzwEncoder
  27. def initStringTable(): Unit

    Reinitializes all state related to the string table.

    Reinitializes all state related to the string table. After this happens codes will reset to 258 and being 9-bit.

    It's important to remember to flush the omega variable before calling this method, and also to call it while there is still room in the 12-bit string table (i.e. once 4094 has been added).

    Definition Classes
    LzwEncoder
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. val lengths: Array[Int]

    Definition Classes
    LzwEncoder
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. var nextCode: Int

    Definition Classes
    LzwEncoder
  32. var nextLimit: Int

    Definition Classes
    LzwEncoder
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. var offset: Int

    Definition Classes
    LzwEncoder
  36. val offsets: Array[Int]

    Definition Classes
    LzwEncoder
  37. var omega: String

    Definition Classes
    LzwEncoder
  38. def render(): (Array[Int], Array[Int])

    Definition Classes
    LzwEncoder
  39. val rows: Int

    Definition Classes
    LzwEncoder
  40. val rowsPerStrip: Int

    Definition Classes
    LzwEncoder
  41. def setOmega(s: String): Unit

    Definition Classes
    LzwEncoder
  42. var stringTable: Map[String, Int]

    Definition Classes
    LzwEncoder
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def writeCode(code: Int): Unit

    Write a 9-12 bit code to our output.

    Write a 9-12 bit code to our output.

    Due to byte-alignment issues we use a buffering strategy, writing out complete 2 byte "chunks" at a time.

    Definition Classes
    LzwEncoder
  49. def xyz(o: String): IndexedSeq[Int]

    Definition Classes
    LzwEncoder

Inherited from LzwEncoder

Inherited from AnyRef

Inherited from Any

Ungrouped