final class JPEGFrameHeader extends JPEGVariableSizeSegment
Modifier and Type | Field and Description |
---|---|
int[] |
componentIdentifiers |
int[][] |
componentParameters |
(package private) int |
maxHFactor |
(package private) int |
maxVFactor |
reference
Constructor and Description |
---|
JPEGFrameHeader(byte[] reference) |
JPEGFrameHeader(LEDataInputStream byteStream) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxHFactor() |
int |
getMaxVFactor() |
int |
getNumberOfImageComponents() |
int |
getNumberOfLines() |
int |
getSamplePrecision() |
int |
getSamplesPerLine() |
(package private) void |
initializeComponentParameters() |
void |
initializeContents() |
boolean |
isArithmeticCoding() |
boolean |
isProgressive() |
(package private) int |
roundUpToMultiple(int anInteger,
int mInteger) |
void |
setMaxHFactor(int anInteger) |
void |
setMaxVFactor(int anInteger) |
void |
setNumberOfImageComponents(int anInteger) |
void |
setNumberOfLines(int anInteger) |
void |
setSamplePrecision(int precision) |
void |
setSamplesPerLine(int samples) |
boolean |
verify() |
getSegmentLength, getSegmentMarker, setSegmentLength, setSegmentMarker, signature, writeToStream
int maxVFactor
int maxHFactor
public int[] componentIdentifiers
public int[][] componentParameters
public JPEGFrameHeader(byte[] reference)
public JPEGFrameHeader(LEDataInputStream byteStream)
public int getSamplePrecision()
public int getNumberOfLines()
public int getSamplesPerLine()
public int getNumberOfImageComponents()
public void setSamplePrecision(int precision)
public void setNumberOfLines(int anInteger)
public void setSamplesPerLine(int samples)
public void setNumberOfImageComponents(int anInteger)
public int getMaxHFactor()
public int getMaxVFactor()
public void setMaxHFactor(int anInteger)
public void setMaxVFactor(int anInteger)
void initializeComponentParameters()
public void initializeContents()
int roundUpToMultiple(int anInteger, int mInteger)
public boolean verify()
verify
in class JPEGSegment
public boolean isProgressive()
public boolean isArithmeticCoding()