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