2020-07-12 03:07:01 +00:00
|
|
|
|
using Ryujinx.Common.Memory;
|
|
|
|
|
using Ryujinx.Graphics.Nvdec.Vp9.Dsp;
|
|
|
|
|
using Ryujinx.Graphics.Nvdec.Vp9.Types;
|
2021-02-11 00:54:42 +00:00
|
|
|
|
using Ryujinx.Graphics.Video;
|
2020-07-12 03:07:01 +00:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Nvdec.Vp9
|
|
|
|
|
{
|
|
|
|
|
internal struct TileWorkerData
|
|
|
|
|
{
|
2021-02-11 00:54:42 +00:00
|
|
|
|
public ArrayPtr<byte> DataEnd;
|
|
|
|
|
public int BufStart;
|
|
|
|
|
public int BufEnd;
|
2020-07-12 03:07:01 +00:00
|
|
|
|
public Reader BitReader;
|
2021-02-11 00:54:42 +00:00
|
|
|
|
public Vp9BackwardUpdates Counts;
|
2020-07-12 03:07:01 +00:00
|
|
|
|
public MacroBlockD Xd;
|
|
|
|
|
/* dqcoeff are shared by all the planes. So planes must be decoded serially */
|
|
|
|
|
public Array32<Array32<int>> Dqcoeff;
|
2021-02-11 00:54:42 +00:00
|
|
|
|
public InternalErrorInfo ErrorInfo;
|
2020-07-12 03:07:01 +00:00
|
|
|
|
}
|
|
|
|
|
}
|