SurfaceOutputConfig.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. namespace Ryujinx.Graphics.Vic
  2. {
  3. struct SurfaceOutputConfig
  4. {
  5. public SurfacePixelFormat PixelFormat;
  6. public int SurfaceWidth;
  7. public int SurfaceHeight;
  8. public int GobBlockHeight;
  9. public long SurfaceLumaAddress;
  10. public long SurfaceChromaUAddress;
  11. public long SurfaceChromaVAddress;
  12. public SurfaceOutputConfig(
  13. SurfacePixelFormat PixelFormat,
  14. int SurfaceWidth,
  15. int SurfaceHeight,
  16. int GobBlockHeight,
  17. long OutputSurfaceLumaAddress,
  18. long OutputSurfaceChromaUAddress,
  19. long OutputSurfaceChromaVAddress)
  20. {
  21. this.PixelFormat = PixelFormat;
  22. this.SurfaceWidth = SurfaceWidth;
  23. this.SurfaceHeight = SurfaceHeight;
  24. this.GobBlockHeight = GobBlockHeight;
  25. this.SurfaceLumaAddress = OutputSurfaceLumaAddress;
  26. this.SurfaceChromaUAddress = OutputSurfaceChromaUAddress;
  27. this.SurfaceChromaVAddress = OutputSurfaceChromaVAddress;
  28. }
  29. }
  30. }