Ejemplo n.º 1
0
        public Atc(AtcFormat format)
        {
            var hasSecondBlock = HasSecondBlock(format);

            BitDepth = BitsPerValue = hasSecondBlock ? 128 : 64;

            FormatName = format.ToString().Replace("_", " ");
        }
Ejemplo n.º 2
0
        public Atc(AtcFormat format, ByteOrder byteOrder) : base(byteOrder)
        {
            _transcoder     = new AtcTranscoder(format);
            _hasSecondBlock = HasSecondBlock(format);

            BitDepth = BitsPerValue = _hasSecondBlock ? 128 : 64;

            FormatName = format.ToString();
        }