﻿/******************************************************************************
 * NSynth - A Managed Multimedia API - http://nsynth.gearedstudios.com/       *
 * Copyright © 2009-2011 William 'cathode' Shelley. All Rights Reserved.      *
 * This software is released under the terms and conditions of the MIT/X11    *
 * license; see the included 'license.txt' file for the full text.            *
 *****************************************************************************/

namespace NSynth
{
    /// <summary>
    /// Enumerates kinds of frame pictures within a GOP (Group-of-Pictures).
    /// </summary>
    public enum PictureKind
    {
        /// <summary>
        /// Indicates an intra-coded picture, which can be decoded independantly of any previous frames.
        /// </summary>
        IFrame,

        /// <summary>
        /// Indicates a predictive-coded picture, which requires preceeding frames to decode.
        /// </summary>
        PFrame,

        /// <summary>
        /// Indicates a bidirectionally-predictive-coded picture, which requires preceeding and following frames to decode.
        /// </summary>
        BFrame,

        /// <summary>
        /// Indicates a direct-coded picture. Only used by MPEG-1.
        /// </summary>
        DFrame,
    }
}
