SurfaceOutputConfig.cs 1.1 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. PixelFormat = pixelFormat;
  22. SurfaceWidth = surfaceWidth;
  23. SurfaceHeight = surfaceHeight;
  24. GobBlockHeight = gobBlockHeight;
  25. SurfaceLumaAddress = outputSurfaceLumaAddress;
  26. SurfaceChromaUAddress = outputSurfaceChromaUAddress;
  27. SurfaceChromaVAddress = outputSurfaceChromaVAddress;
  28. }
  29. }
  30. }