Class Scanline.ByteBGRScanline

java.lang.Object
org.apache.pdfbox.jbig2.image.Scanline
org.apache.pdfbox.jbig2.image.Scanline.ByteBGRScanline
Enclosing class:
Scanline

protected static final class Scanline.ByteBGRScanline extends Scanline
A Scanline for pixel interleaved byte data with three components. Although its name contains "BGR" it doesn't really matter how the components are organized, als long as there are three of them.
  • Field Details

    • srcRaster

      private final Raster srcRaster
    • dstRaster

      private final WritableRaster dstRaster
    • data

      private final int[] data
  • Constructor Details

  • Method Details

    • accumulate

      protected void accumulate(int weight, Scanline dst)
      Specified by:
      accumulate in class Scanline
    • clear

      protected void clear()
      Specified by:
      clear in class Scanline
    • fetch

      protected void fetch(int x, int y)
      Specified by:
      fetch in class Scanline
    • filter

      protected void filter(int[] preShift, int[] postShift, Weighttab[] tabs, Scanline dst)
      Specified by:
      filter in class Scanline
    • shift

      protected void shift(int[] shift)
      Specified by:
      shift in class Scanline
    • store

      protected void store(int x, int y)
      Specified by:
      store in class Scanline