2020-07-12 05:07:01 +02:00
|
|
|
|
using Ryujinx.Common.Memory;
|
|
|
|
|
using Ryujinx.Graphics.Nvdec.Vp9.Dsp;
|
|
|
|
|
using Ryujinx.Graphics.Nvdec.Vp9.Types;
|
2021-02-11 01:54:42 +01:00
|
|
|
|
using Ryujinx.Graphics.Video;
|
2020-07-12 05:07:01 +02:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Nvdec.Vp9
|
|
|
|
|
{
|
|
|
|
|
internal struct TileWorkerData
|
|
|
|
|
{
|
2021-02-11 01:54:42 +01:00
|
|
|
|
public ArrayPtr<byte> DataEnd;
|
|
|
|
|
public int BufStart;
|
|
|
|
|
public int BufEnd;
|
2020-07-12 05:07:01 +02:00
|
|
|
|
public Reader BitReader;
|
2021-02-11 01:54:42 +01:00
|
|
|
|
public Vp9BackwardUpdates Counts;
|
2020-07-12 05:07:01 +02: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 01:54:42 +01:00
|
|
|
|
public InternalErrorInfo ErrorInfo;
|
2020-07-12 05:07:01 +02:00
|
|
|
|
}
|
|
|
|
|
}
|