aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec/NvdecDecoderContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Nvdec/NvdecDecoderContext.cs')
-rw-r--r--Ryujinx.Graphics.Nvdec/NvdecDecoderContext.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/Ryujinx.Graphics.Nvdec/NvdecDecoderContext.cs b/Ryujinx.Graphics.Nvdec/NvdecDecoderContext.cs
deleted file mode 100644
index 54934bc5..00000000
--- a/Ryujinx.Graphics.Nvdec/NvdecDecoderContext.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-
-namespace Ryujinx.Graphics.Nvdec
-{
- class NvdecDecoderContext : IDisposable
- {
- private FFmpeg.H264.Decoder _h264Decoder;
- private FFmpeg.Vp8.Decoder _vp8Decoder;
-
- public FFmpeg.H264.Decoder GetH264Decoder()
- {
- return _h264Decoder ??= new FFmpeg.H264.Decoder();
- }
-
- public FFmpeg.Vp8.Decoder GetVp8Decoder()
- {
- return _vp8Decoder ??= new FFmpeg.Vp8.Decoder();
- }
-
- public void Dispose()
- {
- _h264Decoder?.Dispose();
- _h264Decoder = null;
-
- _vp8Decoder?.Dispose();
- _vp8Decoder = null;
- }
- }
-} \ No newline at end of file