JpegScan constructor

JpegScan(
  1. InputBuffer input,
  2. JpegFrame frame,
  3. List<JpegComponent> components,
  4. int? resetInterval,
  5. int spectralStart,
  6. int spectralEnd,
  7. int successivePrev,
  8. int successive,
)

Implementation

JpegScan(
    this.input,
    this.frame,
    this.components,
    this.resetInterval,
    this.spectralStart,
    this.spectralEnd,
    this.successivePrev,
    this.successive) {
  precision = frame.precision;
  samplesPerLine = frame.samplesPerLine;
  scanLines = frame.scanLines;
  mcusPerLine = frame.mcusPerLine;
  progressive = frame.progressive;
  maxH = frame.maxHSamples;
  maxV = frame.maxVSamples;
}