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