Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.Graphics.Nvdec/Vic/SurfaceOutputConfig.cs

33 lines
1.1 KiB
C#
Raw Normal View History

2020-01-01 00:08:02 +00:00
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;
}
}
}