Navigation
Unreal Engine C++ API Reference > Plugins > MediaIOCore
Inheritance Hierarchy
- IMediaSamples
- FMediaIOCoreSamples
References
Module | MediaIOCore |
Header | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreSamples.h |
Include | #include "MediaIOCoreSamples.h" |
Syntax
class FMediaIOCoreSamples : public IMediaSamples
Remarks
General purpose media sample queue.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FMediaIOCoreSampleContainer< IMediaAudioSample > | AudioSamples | |
![]() |
FMediaIOCoreSampleContainer< IMediaOverlaySample > | CaptionSamples | |
![]() |
FMediaIOCoreSampleContainer< IMediaBinarySample > | MetadataSamples | |
![]() |
FMediaIOCoreSampleContainer< IMediaOverlaySample > | SubtitleSamples | |
![]() |
FMediaIOCoreSampleContainer< IMediaTextureSample > | VideoSamples |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FMediaIOCoreSamples
(
const FMediaIOCoreSamples& |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | AddAudio
(
const TSharedRef< IMediaAudioSample, ESPMode::ThreadSafe >& Sample |
Add the given audio sample to the cache. |
![]() |
bool | AddCaption
(
const TSharedRef< IMediaOverlaySample, ESPMode::ThreadSafe >& Sample |
Add the given caption sample to the cache. |
![]() |
bool | AddMetadata
(
const TSharedRef< IMediaBinarySample, ESPMode::ThreadSafe >& Sample |
Add the given metadata sample to the cache. |
![]() |
bool | AddSubtitle
(
const TSharedRef< IMediaOverlaySample, ESPMode::ThreadSafe >& Sample |
Add the given subtitle sample to the cache. |
![]() |
bool | AddVideo
(
const TSharedRef< IMediaTextureSample, ESPMode::ThreadSafe >& Sample |
Add the given video sample to the cache. |
![]() |
void | CacheSamplesState
(
FTimespan PlayerTime |
Caches the current sample container state for a given Player (evaluation) time |
![]() |
void | EnableTimedDataChannels
(
ITimedDataInput* Input, |
Enable or disable channels based on bitfield flag |
![]() ![]() |
int32 | Get Audio Samples frame dropped count. | |
![]() ![]() |
int32 | Get Caption Samples frame dropped count. | |
![]() ![]() |
int32 | Get Metadata Samples frame dropped count. | |
![]() |
FTimespan | Get next sample time from the VideoSampleQueue. | |
![]() ![]() |
int32 | Get Subtitles Samples frame dropped count. | |
![]() ![]() |
int32 | Get Video Samples frame dropped count. | |
![]() ![]() |
TArray< TSharedPtr< IMediaTextureSample, ESPMode::ThreadSafe > > | Returns all available video samples | |
![]() |
void | InitializeAudioBuffer
(
const FMediaIOSamplingSettings& InSettings |
|
![]() |
void | InitializeCaptionBuffer
(
const FMediaIOSamplingSettings& InSettings |
|
![]() |
void | InitializeMetadataBuffer
(
const FMediaIOSamplingSettings& InSettings |
|
![]() |
void | InitializeSubtitlesBuffer
(
const FMediaIOSamplingSettings& InSettings |
|
![]() |
void | InitializeVideoBuffer
(
const FMediaIOSamplingSettings& InSettings |
Initialize our different buffers with player's settings and wheter or not it should be displayed / supported in Timing monitor |
![]() ![]() |
int32 | Get the number of queued audio samples. | |
![]() ![]() |
int32 | Get the number of queued caption samples. | |
![]() |
bool | PopAudio () |
Pop a Audio sample from the cache. |
![]() |
bool | PopCaption () |
Pop a Caption sample from the cache. |
![]() |
bool | PopMetadata () |
Pop a Metadata sample from the cache. |
![]() |
bool | PopSubtitle () |
Pop a Subtitle sample from the cache. |
![]() |
bool | PopVideo () |
Pop a video sample from the cache. |
Overridden from IMediaSamples
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | FetchAudio
(
TRange< FTimespan > TimeRange, |
Fetch the next audio sample. |
![]() ![]() |
bool | FetchCaption
(
TRange< FTimespan > TimeRange, |
Fetch the next caption sample. |
![]() ![]() |
bool | FetchMetadata
(
TRange< FTimespan > TimeRange, |
Fetch the next metadata sample. |
![]() ![]() |
bool | FetchSubtitle
(
TRange< FTimespan > TimeRange, |
Fetch the next subtitle sample. |
![]() ![]() |
bool | FetchVideo
(
TRange< FTimespan > TimeRange, |
Fetch the next video sample. |
![]() ![]() |
void | FlushSamples () |
Discard any outstanding media samples. |
![]() ![]() ![]() |
int32 | Get the number of queued metadata samples. | |
![]() ![]() ![]() |
int32 | Get the number of queued subtitle samples. | |
![]() ![]() ![]() |
int32 | Get the number of queued video samples. | |
![]() ![]() |
bool | PeekVideoSampleTime
(
FMediaTimeStamp& TimeStamp |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FMediaIOCoreSamples & | operator=
(
const FMediaIOCoreSamples& |