Introduce optional pull-based API for video data

This commit is contained in:
Cameron Gutman
2021-06-13 15:14:38 -05:00
parent b2d4b2c61f
commit 68c784445c
6 changed files with 81 additions and 19 deletions

View File

@@ -7,9 +7,6 @@ typedef struct _QUEUED_DECODE_UNIT {
LINKED_BLOCKING_QUEUE_ENTRY entry;
} QUEUED_DECODE_UNIT, *PQUEUED_DECODE_UNIT;
void completeQueuedDecodeUnit(PQUEUED_DECODE_UNIT qdu, int drStatus);
bool getNextQueuedDecodeUnit(PQUEUED_DECODE_UNIT* qdu);
#pragma pack(push, 1)
#define FLAG_CONTAINS_PIC_DATA 0x1