Re-add NVDEC project (not integrated)
This commit is contained in:
parent
6e092c0558
commit
0dbfe3c23e
31 changed files with 2547 additions and 18 deletions
17
Ryujinx.Graphics.Nvdec/VDec/DecoderHelper.cs
Normal file
17
Ryujinx.Graphics.Nvdec/VDec/DecoderHelper.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.Graphics.VDec
|
||||
{
|
||||
static class DecoderHelper
|
||||
{
|
||||
public static byte[] Combine(byte[] arr0, byte[] arr1)
|
||||
{
|
||||
byte[] output = new byte[arr0.Length + arr1.Length];
|
||||
|
||||
Buffer.BlockCopy(arr0, 0, output, 0, arr0.Length);
|
||||
Buffer.BlockCopy(arr1, 0, output, arr0.Length, arr1.Length);
|
||||
|
||||
return output;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue