Eliminate a copy and allocation for each incoming video packet

This commit is contained in:
Cameron Gutman committed 2019-04-25 22:07:03 -07:00
1 parent c87d4a755e
commit f395d3056a
4 files changed
+107 -42

No files matched your search

+1
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);