Navigation
API > API/Plugins > API/Plugins/MediaIOCore
General purpose media sample queue.
| Name | FMediaIOCoreSamples |
| Type | class |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreSamples.h |
| Include Path | #include "MediaIOCoreSamples.h" |
Syntax
class FMediaIOCoreSamples : public IMediaSamples
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MediaIOCoreSamples.h | |||
FMediaIOCoreSamples
(
const FMediaIOCoreSamples& |
MediaIOCoreSamples.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddAudio
(
const TSharedRef< IMediaAudioSample, ESPMode::ThreadSafe >& Sample |
Add the given audio sample to the cache. | MediaIOCoreSamples.h | |
bool AddCaption
(
const TSharedRef< IMediaOverlaySample, ESPMode::ThreadSafe >& Sample |
Add the given caption sample to the cache. | MediaIOCoreSamples.h | |
bool AddMetadata
(
const TSharedRef< IMediaBinarySample, ESPMode::ThreadSafe >& Sample |
Add the given metadata sample to the cache. | MediaIOCoreSamples.h | |
bool AddSubtitle
(
const TSharedRef< IMediaOverlaySample, ESPMode::ThreadSafe >& Sample |
Add the given subtitle sample to the cache. | MediaIOCoreSamples.h | |
bool AddVideo
(
const TSharedRef< IMediaTextureSample, ESPMode::ThreadSafe >& Sample |
Add the given video sample to the cache. | MediaIOCoreSamples.h | |
void CacheSamplesState
(
FTimespan PlayerTime |
Caches the current sample container state for a given Player (evaluation) time | MediaIOCoreSamples.h | |
void EnableTimedDataChannels
(
ITimedDataInput* Input, |
Enable or disable channels based on bitfield flag | MediaIOCoreSamples.h | |
int32 GetAudioFrameDropCount() |
Get Audio Samples frame dropped count. | MediaIOCoreSamples.h | |
int32 GetCaptionsFrameDropCount() |
Get Caption Samples frame dropped count. | MediaIOCoreSamples.h | |
int32 GetMetadataFrameDropCount() |
Get Metadata Samples frame dropped count. | MediaIOCoreSamples.h | |
| Get next sample time from the VideoSampleQueue. | MediaIOCoreSamples.h | ||
int32 GetSubtitlesFrameDropCount() |
Get Subtitles Samples frame dropped count. | MediaIOCoreSamples.h | |
int32 GetVideoFrameDropCount() |
Get Video Samples frame dropped count. | MediaIOCoreSamples.h | |
TArray< TSharedPtr< IMediaTextureSample, ESPMode::ThreadSafe > > GetVideoSamples() |
Returns all available video samples | MediaIOCoreSamples.h | |
void InitializeAudioBuffer
(
const FMediaIOSamplingSettings& InSettings |
MediaIOCoreSamples.h | ||
void InitializeCaptionBuffer
(
const FMediaIOSamplingSettings& InSettings |
MediaIOCoreSamples.h | ||
void InitializeMetadataBuffer
(
const FMediaIOSamplingSettings& InSettings |
MediaIOCoreSamples.h | ||
void InitializeSubtitlesBuffer
(
const FMediaIOSamplingSettings& InSettings |
MediaIOCoreSamples.h | ||
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 | MediaIOCoreSamples.h | |
bool PopAudio () |
Pop a Audio sample from the cache. | MediaIOCoreSamples.h | |
bool PopCaption () |
Pop a Caption sample from the cache. | MediaIOCoreSamples.h | |
bool PopMetadata () |
Pop a Metadata sample from the cache. | MediaIOCoreSamples.h | |
bool PopSubtitle () |
Pop a Subtitle sample from the cache. | MediaIOCoreSamples.h | |
bool PopVideo () |
Pop a video sample from the cache. | MediaIOCoreSamples.h |
Overridden from IMediaSamples
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool FetchAudio
(
TRange< FTimespan > TimeRange, |
MediaIOCoreSamples.h | ||
virtual bool FetchCaption
(
TRange< FTimespan > TimeRange, |
MediaIOCoreSamples.h | ||
virtual bool FetchMetadata
(
TRange< FTimespan > TimeRange, |
MediaIOCoreSamples.h | ||
virtual bool FetchSubtitle
(
TRange< FTimespan > TimeRange, |
MediaIOCoreSamples.h | ||
virtual bool FetchVideo
(
TRange< FTimespan > TimeRange, |
MediaIOCoreSamples.h | ||
virtual void FlushSamples() |
MediaIOCoreSamples.h | ||
virtual int32 NumAudioSamples () |
Get the number of queued audio samples. | MediaIOCoreSamples.h | |
virtual int32 NumCaptionSamples () |
Get the number of queued caption samples. | MediaIOCoreSamples.h | |
virtual int32 NumMetadataSamples () |
Get the number of queued metadata samples. | MediaIOCoreSamples.h | |
virtual int32 NumSubtitleSamples () |
Get the number of queued subtitle samples. | MediaIOCoreSamples.h | |
virtual int32 NumVideoSamples () |
Get the number of queued video samples. | MediaIOCoreSamples.h | |
virtual bool PeekVideoSampleTime
(
FMediaTimeStamp& TimeStamp |
MediaIOCoreSamples.h | ||
virtual void SetSampleBufferSize
(
int32 BufferSize |
MediaIOCoreSamples.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMediaIOCoreSamples & operator=
(
const FMediaIOCoreSamples& |
MediaIOCoreSamples.h |