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
|
@ -2,8 +2,10 @@
|
|||
{
|
||||
struct PipeConfig
|
||||
{
|
||||
#pragma warning disable CS0169, CS0649
|
||||
private long _word0;
|
||||
private long _word1;
|
||||
#pragma warning restore CS0169, CS0649
|
||||
|
||||
public int DownsampleHoriz => _word0.Extract(0, 11);
|
||||
public int DownsampleVert => _word0.Extract(16, 11);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue