| TMediaSampleSink | ||
| TMediaSampleSource
|
Module |
|
Header |
/Engine/Source/Runtime/MediaUtils/Public/MediaSampleQueue.h |
Include |
#include "MediaSampleQueue.h" |
template<typename SampleType>
class TMediaSampleQueue :
public TMediaSampleSink< SampleType >,
public TMediaSampleSource< SampleType >
Template for media sample queues.
Name | Description | |
---|---|---|
|
TMediaSampleQueue() |
Default constructor. |
Name | Description | |
---|---|---|
|
~TMediaSampleQueue() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
DoPendingFlushes() |
Perform any pending flushes. |
Name | Description | ||
---|---|---|---|
|
Enqueue ( |
Add a sample to the head of the queue. |
|
|
Num() |
Get the number of samples in the queue. |
|
|
RequestFlush() |
Request to flush the queue. To be called only from producer thread. |
Name | Description | ||
---|---|---|---|
|
Dequeue ( |
Remove and return the next sample in the queue. |
|
|
Peek ( |
Peek at the next sample in the queue without removing it. |
|
|
Pop() |
Remove the next sample from the queue. |