1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-29 15:26:03 +00:00
Ryujinx/Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs
gdkchan c86aacde76
NVDEC implementation using FFmpeg (#443)
* Initial nvdec implementation using FFmpeg

* Fix swapped channels on the video decoder and the G8R8 texture format

* Fix texture samplers not being set properly (regression)

* Rebased

* Remove unused code introduced on the rebase

* Add support for RGBA8 output format on the video image composer

* Correct spacing

* Some fixes for rebase and other tweaks

* Allow size mismatch on frame copy

* Get rid of GetHostAddress calls on VDec
2018-12-03 00:38:47 -02:00

39 lines
No EOL
1.2 KiB
C#

namespace Ryujinx.Graphics.Graphics3d
{
enum NvGpuEngine2dReg
{
DstFormat = 0x80,
DstLinear = 0x81,
DstBlockDimensions = 0x82,
DstDepth = 0x83,
DstLayer = 0x84,
DstPitch = 0x85,
DstWidth = 0x86,
DstHeight = 0x87,
DstAddress = 0x88,
SrcFormat = 0x8c,
SrcLinear = 0x8d,
SrcBlockDimensions = 0x8e,
SrcDepth = 0x8f,
SrcLayer = 0x90,
SrcPitch = 0x91,
SrcWidth = 0x92,
SrcHeight = 0x93,
SrcAddress = 0x94,
ClipEnable = 0xa4,
CopyOperation = 0xab,
BlitControl = 0x223,
BlitDstX = 0x22c,
BlitDstY = 0x22d,
BlitDstW = 0x22e,
BlitDstH = 0x22f,
BlitDuDxFract = 0x230,
BlitDuDxInt = 0x231,
BlitDvDyFract = 0x232,
BlitDvDyInt = 0x233,
BlitSrcXFract = 0x234,
BlitSrcXInt = 0x235,
BlitSrcYFract = 0x236,
BlitSrcYInt = 0x237
}
}