예제 #1
0
파일: ATI.cs 프로젝트: my-test-hub/Kuriimu2
        public ATI(AtiFormat format)
        {
            BitDepth      = (format == AtiFormat.ATI1A || format == AtiFormat.ATI1A) ? 4 : 8;
            BlockBitDepth = (format == AtiFormat.ATI1L || format == AtiFormat.ATI1A) ? 64 : 128;

            _format    = format;
            FormatName = format.ToString();
        }
예제 #2
0
 public Decoder(AtiFormat format)
 {
     _queue  = new Queue <Color>();
     _format = format;
 }
예제 #3
0
 public Encoder(AtiFormat format)
 {
     _queue  = new List <Color>();
     _format = format;
 }