aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-12-03 00:38:47 -0200
committerGitHub <noreply@github.com>2018-12-03 00:38:47 -0200
commitc86aacde76b5f8e503e2b412385c8491ecc86b3b (patch)
tree8e4737422fba15199c1a6ce7c6345996c0e907b5 /Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs
parentad00fd02442cf9c0f00c4562635738042b521efa (diff)
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
Diffstat (limited to 'Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs')
-rw-r--r--Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs b/Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs
new file mode 100644
index 00000000..c1c0dba2
--- /dev/null
+++ b/Ryujinx.Graphics/Graphics3d/NvGpuEngine2dReg.cs
@@ -0,0 +1,39 @@
+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
+ }
+} \ No newline at end of file