コード例 #1
0
 // ks 1/1/10 - Added this to improve readability of the JpegFrameDecoder class.
 public JpegComponent(JpegScan parentScan, byte id, byte factorHorizontal, byte factorVertical, JpegQuantizationTable jpegQuantizationTable, byte colorMode)
 {
     parent            = parentScan;
     this.colorMode    = colorMode;
     componentId       = id;
     factorH           = factorHorizontal;
     factorV           = factorVertical;
     QuantizationTable = jpegQuantizationTable.Table;
 }
コード例 #2
0
 // ks 1/1/10 - Keeping this for backwards compatibility with the JpegDecoder class.
 public JpegComponent(JpegScan parentScan, byte id, byte factorHorizontal, byte factorVertical, byte quantizationId, byte colorMode)
 {
     parent         = parentScan;
     this.colorMode = colorMode;
     componentId    = id;
     factorH        = factorHorizontal;
     factorV        = factorVertical;
     quantId        = quantizationId;
 }