2018-12-03 02:38:47 +00: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 01:45:25 +00:00
|
|
|
SurfacePixelFormat pixelFormat,
|
|
|
|
int surfaceWidth,
|
|
|
|
int surfaceHeight,
|
|
|
|
int gobBlockHeight,
|
|
|
|
long outputSurfaceLumaAddress,
|
|
|
|
long outputSurfaceChromaUAddress,
|
|
|
|
long outputSurfaceChromaVAddress)
|
2018-12-03 02:38:47 +00:00
|
|
|
{
|
2019-03-04 01:45:25 +00:00
|
|
|
PixelFormat = pixelFormat;
|
|
|
|
SurfaceWidth = surfaceWidth;
|
|
|
|
SurfaceHeight = surfaceHeight;
|
|
|
|
GobBlockHeight = gobBlockHeight;
|
|
|
|
SurfaceLumaAddress = outputSurfaceLumaAddress;
|
|
|
|
SurfaceChromaUAddress = outputSurfaceChromaUAddress;
|
|
|
|
SurfaceChromaVAddress = outputSurfaceChromaVAddress;
|
2018-12-03 02:38:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|