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