mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
28 lines
530 B
C
28 lines
530 B
C
#pragma once
|
|
|
|
typedef struct _LENTRY {
|
|
struct _LENTRY *next;
|
|
char* data;
|
|
int length;
|
|
} LENTRY, *PLENTRY;
|
|
|
|
typedef struct _NV_VIDEO_PACKET {
|
|
int frameIndex;
|
|
int packetIndex;
|
|
int totalPackets;
|
|
int reserved1;
|
|
int payloadLength;
|
|
char reserved2[36];
|
|
} NV_VIDEO_PACKET, *PNV_VIDEO_PACKET;
|
|
|
|
typedef struct _RTP_PACKET {
|
|
char flags;
|
|
char packetType;
|
|
unsigned short sequenceNumber;
|
|
char reserved[8];
|
|
} RTP_PACKET, *PRTP_PACKET;
|
|
|
|
typedef struct _DECODE_UNIT {
|
|
int fullLength;
|
|
PLENTRY bufferList;
|
|
} DECODE_UNIT, *PDECODE_UNIT; |