Class PCLGenerator.ColorEncoder

java.lang.Object
org.apache.fop.render.pcl.PCLGenerator.ColorEncoder
Enclosing class:
PCLGenerator

private class PCLGenerator.ColorEncoder extends Object
  • Field Details

    • imgw

      private int imgw
    • bytewidth

      private int bytewidth
    • ib

      private byte ib
    • currentIndex

      private int currentIndex
    • len

      private int len
    • shiftBit

      private int shiftBit
    • whiteLines

      private int whiteLines
    • zeros

      final byte[] zeros
    • buff1

      final byte[] buff1
    • buff2

      final byte[] buff2
    • encodedRun

      final byte[] encodedRun
    • encodedTagged

      final byte[] encodedTagged
    • encodedDelta

      final byte[] encodedDelta
    • seed

      byte[] seed
    • current

      byte[] current
    • compression

      int compression
    • seedLen

      int seedLen
  • Constructor Details

  • Method Details

    • runCompression

      private int runCompression(byte[] buff, int len)
    • deltaCompression

      private int deltaCompression(byte[] seed, byte[] buff, int len)
    • tiffCompression

      private int tiffCompression(byte[] encodedTagged, int len)
    • addBit

      public void addBit(boolean bit)
    • add8Bits

      public void add8Bits(byte b)
    • endLine

      public void endLine() throws IOException
      Throws:
      IOException