mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-28 12:40:16 +00:00
33 lines
No EOL
1.1 KiB
C#
33 lines
No EOL
1.1 KiB
C#
namespace Ryujinx.Graphics.Vic
|
|
{
|
|
struct SurfaceOutputConfig
|
|
{
|
|
public SurfacePixelFormat PixelFormat;
|
|
|
|
public int SurfaceWidth;
|
|
public int SurfaceHeight;
|
|
public int GobBlockHeight;
|
|
|
|
public ulong SurfaceLumaAddress;
|
|
public ulong SurfaceChromaUAddress;
|
|
public ulong SurfaceChromaVAddress;
|
|
|
|
public SurfaceOutputConfig(
|
|
SurfacePixelFormat pixelFormat,
|
|
int surfaceWidth,
|
|
int surfaceHeight,
|
|
int gobBlockHeight,
|
|
ulong outputSurfaceLumaAddress,
|
|
ulong outputSurfaceChromaUAddress,
|
|
ulong outputSurfaceChromaVAddress)
|
|
{
|
|
PixelFormat = pixelFormat;
|
|
SurfaceWidth = surfaceWidth;
|
|
SurfaceHeight = surfaceHeight;
|
|
GobBlockHeight = gobBlockHeight;
|
|
SurfaceLumaAddress = outputSurfaceLumaAddress;
|
|
SurfaceChromaUAddress = outputSurfaceChromaUAddress;
|
|
SurfaceChromaVAddress = outputSurfaceChromaVAddress;
|
|
}
|
|
}
|
|
} |