java.lang.Object
org.eclipse.swt.internal.image.JPEGSegment
org.eclipse.swt.internal.image.JPEGVariableSizeSegment
org.eclipse.swt.internal.image.JPEGQuantizationTable
- final class JPEGQuantizationTable
- extends JPEGVariableSizeSegment
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLuminanceQTable
public static byte[] DefaultLuminanceQTable
DefaultChrominanceQTable
public static byte[] DefaultChrominanceQTable
reference
public byte[] reference
JPEGQuantizationTable
public JPEGQuantizationTable(byte[] reference)
JPEGQuantizationTable
public JPEGQuantizationTable(LEDataInputStream byteStream)
defaultChrominanceTable
public static JPEGQuantizationTable defaultChrominanceTable()
defaultLuminanceTable
public static JPEGQuantizationTable defaultLuminanceTable()
getQuantizationTablesKeys
public int[] getQuantizationTablesKeys()
getQuantizationTablesValues
public int[][] getQuantizationTablesValues()
scaleBy
public void scaleBy(int qualityFactor)
signature
public int signature()
- Overrides:
signature in class JPEGSegment
verify
public boolean verify()
getSegmentMarker
public int getSegmentMarker()
setSegmentMarker
public void setSegmentMarker(int marker)
getSegmentLength
public int getSegmentLength()
setSegmentLength
public void setSegmentLength(int length)
writeToStream
public boolean writeToStream(LEDataOutputStream byteStream)