2018-12-03 03:38:47 +01:00
|
|
|
namespace Ryujinx.Graphics.Vic
|
|
|
|
{
|
|
|
|
struct SurfaceOutputConfig
|
|
|
|
{
|
|
|
|
public SurfacePixelFormat PixelFormat;
|
|
|
|
|
|
|
|
public int SurfaceWidth;
|
|
|
|
public int SurfaceHeight;
|
|
|
|
public int GobBlockHeight;
|
|
|
|
|
|
|
|
public long SurfaceLumaAddress;
|
|
|
|
public long SurfaceChromaUAddress;
|
|
|
|
public long SurfaceChromaVAddress;
|
|
|
|
|
|
|
|
public SurfaceOutputConfig(
|
2019-03-04 02:45:25 +01:00
|
|
|
SurfacePixelFormat pixelFormat,
|
|
|
|
int surfaceWidth,
|
|
|
|
int surfaceHeight,
|
|
|
|
int gobBlockHeight,
|
|
|
|
long outputSurfaceLumaAddress,
|
|
|
|
long outputSurfaceChromaUAddress,
|
|
|
|
long outputSurfaceChromaVAddress)
|
2018-12-03 03:38:47 +01:00
|
|
|
{
|
2019-03-04 02:45:25 +01:00
|
|
|
PixelFormat = pixelFormat;
|
|
|
|
SurfaceWidth = surfaceWidth;
|
|
|
|
SurfaceHeight = surfaceHeight;
|
|
|
|
GobBlockHeight = gobBlockHeight;
|
|
|
|
SurfaceLumaAddress = outputSurfaceLumaAddress;
|
|
|
|
SurfaceChromaUAddress = outputSurfaceChromaUAddress;
|
|
|
|
SurfaceChromaVAddress = outputSurfaceChromaVAddress;
|
2018-12-03 03:38:47 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|