// /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // Filename : Enums.cs // Author(s) : Natalia Portillo // // Component : Device structures decoders. // // --[ Description ] ---------------------------------------------------------- // // Contains various DVD enumerations. // // --[ License ] -------------------------------------------------------------- // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 2.1 of the // License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2018 Natalia Portillo // ****************************************************************************/ namespace DiscImageChef.Decoders.DVD { #region Public enumerations public enum DiskCategory : byte { /// /// DVD-ROM. Version 1 is ECMA-267 and ECMA-268. /// DVDROM = 0, /// /// DVD-RAM. Version 1 is ECMA-272. Version 6 is ECMA-330. /// DVDRAM = 1, /// /// DVD-R. Version 1 is ECMA-279. Version 5 is ECMA-359. Version 6 is ECMA-382. /// DVDR = 2, /// /// DVD-RW. Version 2 is ECMA-338. Version 3 is ECMA-384. /// DVDRW = 3, /// /// HD DVD-ROM /// HDDVDROM = 4, /// /// HD DVD-RAM /// HDDVDRAM = 5, /// /// HD DVD-R /// HDDVDR = 6, /// /// HD DVD-RW /// HDDVDRW = 7, /// /// UMD. Version 0 is ECMA-365. /// UMD = 8, /// /// DVD+RW. Version 1 is ECMA-274. Version 2 is ECMA-337. Version 3 is ECMA-371. /// DVDPRW = 9, /// /// DVD+R. Version 1 is ECMA-349. /// DVDPR = 10, /// /// DVD+RW DL. Version 1 is ECMA-374. /// DVDPRWDL = 13, /// /// DVD+R DL. Version 1 is ECMA-364. /// DVDPRDL = 14, /// /// According to standards this value is reserved. /// It's used by Nintendo GODs and WODs. /// Nintendo = 15 } public enum MaximumRateField : byte { /// /// 2.52 Mbps /// TwoMbps = 0x00, /// /// 5.04 Mbps /// FiveMbps = 0x01, /// /// 10.08 Mbps /// TenMbps = 0x02, /// /// 20.16 Mbps /// TwentyMbps = 0x03, /// /// 30.24 Mbps /// ThirtyMbps = 0x04, Unspecified = 0x0F } public enum LayerTypeFieldMask : byte { Embossed = 0x01, Recordable = 0x02, Rewritable = 0x04, Reserved = 0x08 } public enum LinearDensityField : byte { /// /// 0.267 μm/bit /// TwoSix = 0x00, /// /// 0.293 μm/bit /// TwoNine = 0x01, /// /// 0.409 to 0.435 μm/bit /// FourZero = 0x02, /// /// 0.280 to 0.291 μm/bit /// TwoEight = 0x04, /// /// 0.153 μm/bit /// OneFive = 0x05, /// /// 0.130 to 0.140 μm/bit /// OneThree = 0x06, /// /// 0.353 μm/bit /// ThreeFive = 0x08 } public enum TrackDensityField : byte { /// /// 0.74 μm/track /// Seven = 0x00, /// /// 0.80 μm/track /// Eight = 0x01, /// /// 0.615 μm/track /// Six = 0x02, /// /// 0.40 μm/track /// Four = 0x03, /// /// 0.34 μm/track /// Three = 0x04 } public enum CopyrightType : byte { /// /// There is no copy protection /// NoProtection = 0x00, /// /// Copy protection is CSS/CPPM /// CSS = 0x01, /// /// Copy protection is CPRM /// CPRM = 0x02, /// /// Copy protection is AACS /// AACS = 0x10 } public enum WPDiscTypes : byte { /// /// Should not write without a cartridge /// DoNotWrite = 0x00, /// /// Can write without a cartridge /// CanWrite = 0x01, Reserved1 = 0x02, Reserved2 = 0x03 } public enum DVDSize { /// /// 120 mm /// OneTwenty = 0, /// /// 80 mm /// Eighty = 1 } public enum DVDRAMDiscType { /// /// Shall not be recorded without a case /// Cased = 0, /// /// May be recorded without a case or within one /// Uncased = 1 } public enum DVDLayerStructure { Unspecified = 0, InvertedStack = 1, TwoP = 2, Reserved = 3 } public enum DVDRecordingSpeed { None = 0, Two = 0, Four = 0x10, Six = 0x20, Eight = 0x30, Ten = 0x40, Twelve = 0x50 } #endregion }