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