public void Quantisize() { iChannelY = Quantization.Quantisize(ChannelY, QTType.LUMINANCE); iChannelCb = Quantization.Quantisize(ChannelCb, QTType.CHROMINANCE); iChannelCr = Quantization.Quantisize(ChannelCr, QTType.CHROMINANCE); }
/* * Write "DQT"-Segment */ private static void WriteDQTSegment(BitStream bitStream) { int[][] qtTables = Quantization.GetQantizationTables(); WriteDQTSegmentWithTables(bitStream, qtTables); }