FMediaIOCoreTextureSampleBase::Initialize

Initialize the sample.

Windows
MacOS
Linux

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreTextureSampleBase.h

Include

#include "MediaIOCoreTextureSampleBase.h"

Source

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Shared/MediaIOCoreTextureSampleBase.cpp

Syntax

bool Initialize
(
    TArray< uint8 > InVideoBuffer,
    uint32 InStride,
    uint32 InWidth,
    uint32 InHeight,
    EMediaTextureSampleFormat InSampleFormat,
    FTimespan InTime,
    const FFrameRate & InFrameRate,
    const TOptional< FTimecode > & InTimecode,
    bool bInIsSRGBInput
)

Remarks

Initialize the sample.

Parameters

Parameter

Description

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.

bInIsSRGBInput

The sample source is in sSRGB so apply a linear conversion.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss