1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
using Ryujinx.Graphics.Nvdec.H264; using System; namespace Ryujinx.Graphics.Nvdec { class NvdecDecoderContext : IDisposable { private Decoder _decoder; public Decoder GetDecoder() { return _decoder ??= new Decoder(); } public void Dispose() { _decoder?.Dispose(); _decoder = null; } } }