aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec.Vp9/Types/PredictionMode.cs
blob: bbb9be9ad9387fe83bd6c2d4a42b537de4a4eecc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
namespace Ryujinx.Graphics.Nvdec.Vp9.Types
{
    internal enum PredictionMode
    {
        DcPred = 0,    // Average of above and left pixels
        VPred = 1,     // Vertical
        HPred = 2,     // Horizontal
        D45Pred = 3,   // Directional 45  deg = round(arctan(1 / 1) * 180 / pi)
        D135Pred = 4,  // Directional 135 deg = 180 - 45
        D117Pred = 5,  // Directional 117 deg = 180 - 63
        D153Pred = 6,  // Directional 153 deg = 180 - 27
        D207Pred = 7,  // Directional 207 deg = 180 + 27
        D63Pred = 8,   // Directional 63  deg = round(arctan(2 / 1) * 180 / pi)
        TmPred = 9,    // True-motion
        NearestMv = 10,
        NearMv = 11,
        ZeroMv = 12,
        NewMv = 13,
        MbModeCount = 14
    }
}