Silence several build warnings (#1428)
* Silence several build warnings * Remove fixed buffers from NVDEC struct * Remove unused field and usings * Fix wrong name * Silence more warning on H264 PictureInfo
This commit is contained in:
parent
ee22517d92
commit
157ad3f54f
26 changed files with 177 additions and 12 deletions
|
@ -5,6 +5,7 @@ namespace Ryujinx.Graphics.Nvdec.Types.H264
|
|||
{
|
||||
struct PictureInfo
|
||||
{
|
||||
#pragma warning disable CS0169, CS0649
|
||||
Array18<uint> Unknown0;
|
||||
public uint BitstreamSize;
|
||||
public uint NumSlices;
|
||||
|
@ -47,6 +48,7 @@ namespace Ryujinx.Graphics.Nvdec.Types.H264
|
|||
public Array16<byte> MvcextViewRefMasksL1;
|
||||
public uint Flags2;
|
||||
public Array10<uint> Unknown2D4;
|
||||
#pragma warning restore CS0169, CS0649
|
||||
|
||||
public bool MbAdaptiveFrameFieldFlag => (Flags & (1 << 0)) != 0;
|
||||
public bool Direct8x8InferenceFlag => (Flags & (1 << 1)) != 0;
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
{
|
||||
struct ReferenceFrame
|
||||
{
|
||||
#pragma warning disable CS0649
|
||||
public uint Unknown0;
|
||||
public uint Unknown4;
|
||||
public uint Unknown8;
|
||||
public uint UnknownC;
|
||||
#pragma warning restore CS0649
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue