/*
    Copyright (c) 2010 flixmonk. (http://DVDSwarm.codeplex.com)
    All Rights Reserved.
        
    Redistribution and use in source and binary forms, with or without modification,
    are permitted provided that the following conditions are met:
        
    * Redistributions of source code must retain the above copyright notice, this list
      of conditions and the following disclaimer.
        
    * Redistributions in binary form must reproduce the above copyright notice, this
    list of conditions and the following disclaimer in the documentation and/or other
    materials provided with the distribution. 
        
    * Neither the name of The Flixmonk nor the names of its contributors may be used to
    endorse or promote products derived from this software without specific prior written
    permission.
        
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
    EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
    OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
    SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
    TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
namespace DVDSwarm
{
    #region Enumerations

    /// <summary>
    /// Audio format enumerations. The numeric value of the enumerations correspond to the
    /// index of an AudioFormatExtension string.
    /// </summary>
    public enum AudioFormat
    {
        /// <summary>
        /// An unknown audio format.
        /// </summary>
        Unknown = 0,
        /// <summary>
        /// AAC audio stored in raw format.
        /// </summary>
        Aac = 1,
        /// <summary>
        /// AC3 audio format.
        /// </summary>
        Ac3 = 2,
        /// <summary>
        /// DTS audio format.
        /// </summary>
        Dts = 3,
        /// <summary>
        /// FLAC audio stored in the Ogg format.
        /// </summary>
        Flac = 4,
        /// <summary>
        /// Vorbis audio stored in the Ogg format.
        /// </summary>
        Vorbis = 5,
        /// <summary>
        /// Uncompressed audio stored in the WAV format.
        /// </summary>
        Wav = 6
    }

    /// <summary>
    /// Cropping mode enumerations. The numeric value of the enumerations correspond to the
    /// index of a CropModeName string.
    /// </summary>
    public enum CropMode
    {
        /// <summary>
        /// Use the external AutoCrop filter to remove all borders. Overcropping can occur.
        /// </summary>
        Auto = 0,
        /// <summary>
        /// Use the internal method to crop based on aspect ratio. Some borders may
        /// remain, but no overcropping occurs.
        /// </summary>
        Aspect = 1,
        /// <summary>
        /// Use manual crop values.
        /// </summary>
        Manual = 2
    }

    /// <summary>
    /// DVD media enumerations used to identify TreeView node types.
    /// </summary>
    public enum DvdMediaNode
    {
        /// <summary>
        /// A non-media node such as a title set or program chain node.
        /// </summary>
        NonMedia = 0,
        /// <summary>
        /// An audio node.
        /// </summary>
        Audio = 1,
        /// <summary>
        /// A subtitle node.
        /// </summary>
        Subtitle = 2,
        /// <summary>
        /// A video node.
        /// </summary>
        Video = 3
    }

    /// <summary>
    /// Job run mode enumerations.
    /// </summary>
    public enum JobRunMode
    {
        /// <summary>
        ///  Conversion and encoding of video and audio for multiple jobs to the selected output format.
        /// </summary>
        MultiJobRun = 0,
        /// <summary>
        ///  Conversion and encoding of video and audio for a single job to the selected output format.
        /// </summary>
        SingleJobRun = 1,
        /// <summary>
        /// The job run has ended.
        /// </summary>
        Ended = 2
    }

    /// <summary>
    /// Output container format enumerations. The numeric value of the enumerations correspond to the
    /// index of an OutputContainerFormatExtension string and an OutputContainerFormatName string.
    /// </summary>
    public enum OutputContainerFormat
    {
        /// <summary>
        /// No output container.
        /// </summary>
        None = 0,
        /// <summary>
        /// Output files are stored in a Matroska (mkv) container.
        /// </summary>
        Matroska = 1,
        /// <summary>
        /// Output files are stored in an MPEG-4 (mp4) container.
        /// </summary>
        Mpeg4 = 2
    }

    #endregion
}