Navigation
API > API/Plugins > API/Plugins/MediaIOCore > API/Plugins/MediaIOCore/FMediaIOCoreTextureSampleBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Initialize
(
const TArray< uint8 >& InVideoBuffer, |
Initialize the sample. | MediaIOCoreTextureSampleBase.h | |
bool Initialize
(
TArray< uint8 >&& InVideoBuffer, |
Initialize the sample. | MediaIOCoreTextureSampleBase.h | |
bool Initialize
(
const void* InVideoBuffer, |
Initialize the sample. | MediaIOCoreTextureSampleBase.h |
Initialize(const TArray< uint8 > &, uint32, uint32, uint32, EMediaTextureSampleFormat, FTimespan, const FFrameRate &, const TOptional< FTimecode > &, const UE::MediaIOCore::FColorFormatArgs &)
Description
Initialize the sample.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreTextureSampleBase.h |
| Include Path | #include "MediaIOCoreTextureSampleBase.h" |
| Source | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Shared/MediaIOCoreTextureSampleBase.cpp |
bool Initialize
(
const TArray < uint8 > & InVideoBuffer,
uint32 InStride,
uint32 InWidth,
uint32 InHeight,
EMediaTextureSampleFormat InSampleFormat,
FTimespan InTime,
const FFrameRate & InFrameRate,
const TOptional < FTimecode > & InTimecode,
const UE::MediaIOCore::FColorFormatArgs & InColorFormatArgs
)
Parameters
| Name | Remarks |
|---|---|
| InVideoBuffer | The video frame data. |
| InStride | The number of channel of the video buffer. |
| InWidth | The sample rate of the video buffer. |
| InHeight | The sample rate of the video buffer. |
| InSampleFormat | The sample format of the video buffer. |
| InTime | The sample time (in the player's own clock). |
| InFrameRate | The framerate of the media that produce the sample. |
| InTimecode | The sample timecode if available. |
| InColorFormatArgs | Information about the texture color encoding and color space. |
Initialize(TArray< uint8 > &&, uint32, uint32, uint32, EMediaTextureSampleFormat, FTimespan, const FFrameRate &, const TOptional< FTimecode > &, const UE::MediaIOCore::FColorFormatArgs &)
Description
Initialize the sample.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreTextureSampleBase.h |
| Include Path | #include "MediaIOCoreTextureSampleBase.h" |
| Source | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Shared/MediaIOCoreTextureSampleBase.cpp |
bool Initialize
(
TArray < uint8 > && InVideoBuffer,
uint32 InStride,
uint32 InWidth,
uint32 InHeight,
EMediaTextureSampleFormat InSampleFormat,
FTimespan InTime,
const FFrameRate & InFrameRate,
const TOptional < FTimecode > & InTimecode,
const UE::MediaIOCore::FColorFormatArgs & InColorFormatArgs
)
Parameters
| Name | Remarks |
|---|---|
| InVideoBuffer | The video frame data. |
| InStride | The number of channel of the video buffer. |
| InWidth | The sample rate of the video buffer. |
| InHeight | The sample rate of the video buffer. |
| InSampleFormat | The sample format of the video buffer. |
| InTime | The sample time (in the player's own clock). |
| InFrameRate | The framerate of the media that produce the sample. |
| InTimecode | The sample timecode if available. |
| InColorFormatArgs | Information about the texture color encoding and color space. |
Initialize(const void *, uint32, uint32, uint32, uint32, EMediaTextureSampleFormat, FTimespan, const FFrameRate &, const TOptional< FTimecode > &, const UE::MediaIOCore::FColorFormatArgs &)
Description
Initialize the sample.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreTextureSampleBase.h |
| Include Path | #include "MediaIOCoreTextureSampleBase.h" |
| Source | /Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Shared/MediaIOCoreTextureSampleBase.cpp |
bool Initialize
(
const void * InVideoBuffer,
uint32 InBufferSize,
uint32 InStride,
uint32 InWidth,
uint32 InHeight,
EMediaTextureSampleFormat InSampleFormat,
FTimespan InTime,
const FFrameRate & InFrameRate,
const TOptional < FTimecode > & InTimecode,
const UE::MediaIOCore::FColorFormatArgs & InColorFormatArgs
)
Parameters
| Name | Remarks |
|---|---|
| InVideoBuffer | The video frame data. |
| InBufferSize | The size of the video buffer. |
| InStride | The number of channel of the video buffer. |
| InWidth | The sample rate of the video buffer. |
| InHeight | The sample rate of the video buffer. |
| InSampleFormat | The sample format of the video buffer. |
| InTime | The sample time (in the player's own clock). |
| InFrameRate | The framerate of the media that produce the sample. |
| InTimecode | The sample timecode if available. |
| InColorFormatArgs | Information about the texture color encoding and color space. |