MacroBlockDPlane.cs 567 B

123456789101112131415161718192021
  1. using Ryujinx.Common.Memory;
  2. namespace Ryujinx.Graphics.Nvdec.Vp9.Types
  3. {
  4. internal struct MacroBlockDPlane
  5. {
  6. public ArrayPtr<int> DqCoeff;
  7. public int SubsamplingX;
  8. public int SubsamplingY;
  9. public Buf2D Dst;
  10. public Array2<Buf2D> Pre;
  11. public ArrayPtr<sbyte> AboveContext;
  12. public ArrayPtr<sbyte> LeftContext;
  13. public Array8<Array2<short>> SegDequant;
  14. // Number of 4x4s in current block
  15. public ushort N4W, N4H;
  16. // Log2 of N4W, N4H
  17. public byte N4Wl, N4Hl;
  18. }
  19. }