Top Fields Constructors Methods
jogamp.opengl.util.pngj

pack-priv Class PngDeinterlacer

extends Object
Class Inheritance
Imports
java.util.Random

Field Summary

Modifier and TypeField and Description
private int
private int
private int
private int
private int
private int
private byte[][]
private int[][]
private short[][]
private final ImageInfo
private int
private int
private int
private final int
private final int
private final int
private int
private int

Constructor Summary

AccessConstructor and Description
pack-priv
PngDeinterlacer(final ImageInfo iminfo)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
deinterlaceByte(final byte[] src, final byte[] dst, final boolean readInPackedFormat)

pack-priv void
deinterlaceInt(final int[] src, final int[] dst, final boolean readInPackedFormat)

private void
deinterlaceIntPacked(final int[] src, final int[] dst)

private void
deinterlacePackedByte(final byte[] src, final byte[] dst)

pack-priv int
getCols()

How many columns (pixels) are there in the current row

pack-priv int
getCurrRowReal()

current row number inside the "real image"

pack-priv int
getCurrRowSubimg()

current row number inside the "sub image"

pack-priv byte[][]
pack-priv int[][]
pack-priv short[][]
pack-priv int
getPass()

current pass number (1-7)

public int
pack-priv int
getRows()

How many rows has the current pass?

pack-priv boolean
isAtLastRow()

Is current row the last row for the lass pass??

public static void
main(final String[] args)

pack-priv void
setImageByte(final byte[][] imageByte)

pack-priv void
setImageInt(final int[][] imageInt)

pack-priv void
setImageShort(final short[][] imageShort)

pack-priv void
setPass(final int p)

pack-priv void
setRow(final int n)

this refers to the row currRowSubimg

pack-priv static void
test()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

colsback to summary
private int cols
currRowRealback to summary
private int currRowReal
currRowSubimgback to summary
private int currRowSubimg
dXback to summary
private int dX
dXsamplesback to summary
private int dXsamples
dYback to summary
private int dY
imageByteback to summary
private byte[][] imageByte
imageIntback to summary
private int[][] imageInt
imageShortback to summary
private short[][] imageShort
imiback to summary
private final ImageInfo imi
oXback to summary
private int oX
oXsamplesback to summary
private int oXsamples
oYback to summary
private int oY
packedMaskback to summary
private final int packedMask
packedShiftback to summary
private final int packedShift
packedValsPerPixelback to summary
private final int packedValsPerPixel
passback to summary
private int pass
rowsback to summary
private int rows

Constructor Detail

PngDeinterlacerback to summary
pack-priv PngDeinterlacer(final ImageInfo iminfo)

Method Detail

deinterlaceByteback to summary
pack-priv void deinterlaceByte(final byte[] src, final byte[] dst, final boolean readInPackedFormat)
deinterlaceIntback to summary
pack-priv void deinterlaceInt(final int[] src, final int[] dst, final boolean readInPackedFormat)
deinterlaceIntPackedback to summary
private void deinterlaceIntPacked(final int[] src, final int[] dst)
deinterlacePackedByteback to summary
private void deinterlacePackedByte(final byte[] src, final byte[] dst)
getColsback to summary
pack-priv int getCols()

How many columns (pixels) are there in the current row

getCurrRowRealback to summary
pack-priv int getCurrRowReal()

current row number inside the "real image"

getCurrRowSubimgback to summary
pack-priv int getCurrRowSubimg()

current row number inside the "sub image"

getImageByteback to summary
pack-priv byte[][] getImageByte()
getImageIntback to summary
pack-priv int[][] getImageInt()
getImageShortback to summary
pack-priv short[][] getImageShort()
getPassback to summary
pack-priv int getPass()

current pass number (1-7)

getPixelsToReadback to summary
public int getPixelsToRead()
getRowsback to summary
pack-priv int getRows()

How many rows has the current pass?

isAtLastRowback to summary
pack-priv boolean isAtLastRow()

Is current row the last row for the lass pass??

mainback to summary
public static void main(final String[] args)
setImageByteback to summary
pack-priv void setImageByte(final byte[][] imageByte)
setImageIntback to summary
pack-priv void setImageInt(final int[][] imageInt)
setImageShortback to summary
pack-priv void setImageShort(final short[][] imageShort)
setPassback to summary
pack-priv void setPass(final int p)
setRowback to summary
pack-priv void setRow(final int n)

this refers to the row currRowSubimg

testback to summary
pack-priv static void test()