Eliminate a copy and allocation for each incoming video packet

This commit is contained in:
Cameron Gutman
2019-04-25 16:07:34 -07:00
parent c87d4a755e
commit f395d3056a
4 changed files with 107 additions and 42 deletions

View File

@@ -5,6 +5,7 @@
typedef struct _QUEUED_DECODE_UNIT {
DECODE_UNIT decodeUnit;
LINKED_BLOCKING_QUEUE_ENTRY entry;
int onStack;
} QUEUED_DECODE_UNIT, *PQUEUED_DECODE_UNIT;
void completeQueuedDecodeUnit(PQUEUED_DECODE_UNIT qdu, int drStatus);