More fixes and work on video

This commit is contained in:
Cameron Gutman
2014-01-18 21:28:34 -05:00
parent e2ba031729
commit 77b08df4be
12 changed files with 342 additions and 63 deletions
+34
View File
@@ -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;