Пример #1
0
 public void Quantisize()
 {
     iChannelY  = Quantization.Quantisize(ChannelY, QTType.LUMINANCE);
     iChannelCb = Quantization.Quantisize(ChannelCb, QTType.CHROMINANCE);
     iChannelCr = Quantization.Quantisize(ChannelCr, QTType.CHROMINANCE);
 }
Пример #2
0
        /*
         *  Write "DQT"-Segment
         */

        private static void WriteDQTSegment(BitStream bitStream)
        {
            int[][] qtTables = Quantization.GetQantizationTables();
            WriteDQTSegmentWithTables(bitStream, qtTables);
        }