mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
More fixes and work on video
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
typedef void(*RequestIdrFrame)(void);
|
||||
|
||||
typedef struct _CONTROL_STATUS_LISTENER {
|
||||
RequestIdrFrame requestIdrFrame;
|
||||
} CONTROL_STATUS_LISTENER, *PCONTROL_STATUS_LISTENER;
|
||||
|
||||
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;
|
||||
Reference in New Issue
Block a user