2023-06-25 17:03:48 +00:00
|
|
|
|
using AVBufferRef = System.IntPtr;
|
2022-07-14 13:13:23 +00:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Nvdec.FFmpeg.Native
|
|
|
|
|
{
|
|
|
|
|
struct AVPacket
|
|
|
|
|
{
|
2023-06-25 17:03:48 +00:00
|
|
|
|
#pragma warning disable CS0649 // Field is never assigned to
|
|
|
|
|
public unsafe AVBufferRef* Buf;
|
2022-07-14 13:13:23 +00:00
|
|
|
|
public long Pts;
|
|
|
|
|
public long Dts;
|
|
|
|
|
public unsafe byte* Data;
|
|
|
|
|
public int Size;
|
|
|
|
|
public int StreamIndex;
|
|
|
|
|
public int Flags;
|
2023-06-25 17:03:48 +00:00
|
|
|
|
public AVBufferRef SizeData;
|
2022-07-14 13:13:23 +00:00
|
|
|
|
public int SizeDataElems;
|
|
|
|
|
public long Duration;
|
|
|
|
|
public long Position;
|
2023-06-25 17:03:48 +00:00
|
|
|
|
public AVBufferRef Opaque;
|
|
|
|
|
public unsafe AVBufferRef* OpaqueRef;
|
2022-07-14 13:13:23 +00:00
|
|
|
|
public AVRational TimeBase;
|
|
|
|
|
#pragma warning restore CS0649
|
|
|
|
|
}
|
2023-06-25 17:03:48 +00:00
|
|
|
|
}
|