diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-03-23 17:09:32 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 17:09:32 -0300 |
commit | 1402d8391d84f912110104e3e6c1a50a8c000d59 (patch) | |
tree | 20c22eb021a92d0256c45ba676d05a7504460bfa /Ryujinx.Graphics.Nvdec.Vp9/Dsp/InvTxfm.cs | |
parent | e3b36db71c62a34a26b30683dd5ad5410c97cc9c (diff) |
Support NVDEC H264 interlaced video decoding and VIC deinterlacing (#3225)1.1.84
* Support NVDEC H264 interlaced video decoding and VIC deinterlacing
* Remove unused code
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/Dsp/InvTxfm.cs')
-rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/Dsp/InvTxfm.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/Dsp/InvTxfm.cs b/Ryujinx.Graphics.Nvdec.Vp9/Dsp/InvTxfm.cs index e41a31ca..873f667a 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/Dsp/InvTxfm.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/Dsp/InvTxfm.cs @@ -486,8 +486,7 @@ namespace Ryujinx.Graphics.Nvdec.Vp9.Dsp Idct8(tempIn, tempOut); for (j = 0; j < 8; ++j) { - dest[j * stride + i] = ClipPixelAdd(dest[j * stride + i], - BitUtils.RoundPowerOfTwo(tempOut[j], 5)); + dest[j * stride + i] = ClipPixelAdd(dest[j * stride + i], BitUtils.RoundPowerOfTwo(tempOut[j], 5)); } } } |