Choose your operating system:
Windows
macOS
Linux
| IMediaTextureSample | ||
| IMediaPoolable
|
Module |
|
Header |
/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreTextureSampleBase.h |
Include |
#include "MediaIOCoreTextureSampleBase.h" |
class FMediaIOCoreTextureSampleBase :
public IMediaTextureSample,
public IMediaPoolable
Implements the IMediaTextureSample/IMediaPoolable interface.
Name | Description | ||
---|---|---|---|
|
bIsSRGBInput |
Wheter the sample is in sRGB space and requires an explicit conversion to linear |
|
|
Buffer |
Pointer to raw pixels |
|
|
Duration |
Duration for which the sample is valid. |
|
|
Height |
||
|
SampleFormat |
Sample format. |
|
|
Stride |
Image dimensions |
|
|
Time |
Sample time. |
|
|
Timecode |
Sample timecode. |
|
|
Width |
Name | Description | |
---|---|---|
|
FMediaIOCoreTextureSampleBase() |
Name | Description | ||
---|---|---|---|
|
FreeSample() |
||
|
Initialize |
Initialize the sample. |
|
|
Initialize |
Initialize the sample. |
|
|
InitializeWithEvenOddLine |
Initialize the sample with half it's original height and take only the odd or even line. |
|
|
void * |
RequestBuffer ( |
Request an uninitialized sample buffer. |
|
SetBuffer |
Set the sample buffer. |
|
|
SetBuffer |
Initialize the sample. |
|
|
SetBufferWithEvenOddLine |
Set the sample buffer with half it's original height and take only the odd or even line. |
|
|
SetProperties ( |
Set the sample properties. |
Name | Description | ||
---|---|---|---|
|
const void &... |
GetBuffer() |
Get the sample's frame buffer. |
|
GetDim() |
Get the width and height of the sample. |
|
|
GetDuration() |
Get the amount of time for which the sample is valid. |
|
|
EMediaTextur... |
GetFormat() |
Get the texture sample format. |
|
GetOutputDim() |
Get the sample's desired output width and height. |
|
|
GetStride() |
Get the horizontal stride (aka. pitch) of the sample's frame buffer. |
|
|
FMediaTimeSt... |
GetTime() |
Get the sample time (in the player's local clock). |
|
GetTimecode() |
Get the sample timecode if available. |
|
|
IsCacheable() |
Whether the sample can be held in a cache. |
|
|
IsOutputSrgb() |
Whether the output of the sample is in sRGB color space. |
Name | Description | ||
---|---|---|---|
|
ShutdownPoolable() |
Called when the object added to the pool. |