Navigation
Unreal Engine C++ API Reference > Plugins > MediaIOCore
Inheritance Hierarchy
- IMediaBinarySample
- IMediaPoolable
- FMediaIOCoreBinarySampleBase
References
Module | MediaIOCore |
Header | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreBinarySampleBase.h |
Include | #include "MediaIOCoreBinarySampleBase.h" |
Syntax
class FMediaIOCoreBinarySampleBase :
public IMediaBinarySample,
public IMediaPoolable
Remarks
Implements a media binary data sample.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< uint8 > | Buffer | The sample's frame buffer. |
![]() |
FTimespan | Duration | Duration for which the sample is valid. |
![]() |
FTimespan | Time | Sample time. |
![]() |
TOptional< FTimecode > | Timecode | Sample timecode. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | FreeSample () |
|
![]() |
bool | Initialize
(
TArray< uint8 > InBinaryBuffer, |
Initialize the sample. |
![]() |
bool | Initialize
(
const uint8* InBinaryBuffer, |
Initialize the sample. |
![]() ![]() |
void * | RequestBuffer
(
uint32 InBufferSize |
Request an uninitialized sample buffer. |
![]() |
bool | Set the sample buffer. | |
![]() |
bool | SetBuffer
(
const uint8* InBinaryBuffer, |
Set the sample buffer. |
![]() |
bool | SetProperties
(
FTimespan InTime, |
Set the sample properties. |
Overridden from IMediaBinarySample
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const void * | GetData () |
Get the sample data. |
![]() ![]() ![]() |
FTimespan | GetDuration () |
Get the amount of time for which the sample is valid. |
![]() ![]() ![]() |
uint32 | GetSize () |
Get the size of the binary data. |
![]() ![]() ![]() |
FMediaTimeStamp | GetTime () |
Get the sample time (in the player's local clock). |
![]() ![]() ![]() |
TOptional< FTimecode > | GetTimecode () |
Get the sample timecode if available. |
Overridden from IMediaPoolable
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Called when the object added to the pool. |