FElectraTextureSampleUnix

Windows
MacOS
Linux

Inheritance Hierarchy

IMediaTextureSample

IMediaPoolable

FElectraTextureSampleUnix

References

Module

ElectraSamples

Header

/Engine/Plugins/Media/ElectraUtil/Source/ElectraSamples/Public/GStreamer/ElectraTextureSample.h

Include

#include "GStreamer/ElectraTextureSample.h"

Syntax

class FElectraTextureSampleUnix :
    public IMediaTextureSample,
    public IMediaPoolable

Variables

Name Description

Public variable

TWeakPtr< MEDIA...

 

OwningRenderer

We hold a weak reference to the video renderer. During destruction the video renderer could be destroyed while samples are still out there..

Constructors

Name Description

Public function

FElectraTextureSampleUnix()

Functions

Name Description

Public function

void

 

CreateTexture()

Public function Virtual Const

FRHITexture ...

 

GetTexture()

Public function Const

TRefCountPtr...

 

GetTextureRef()

Public function

void

 

Initialize

(
    FIntPoint InDisplaySize,
    FIntPoint InTotalSize,
    const FMediaTimeStamp& InTime,
    FTimespan InDuration
)

Overridden from IMediaTextureSample

Name Description

Public function Virtual

const void &...

 

GetBuffer()

Get the sample's frame buffer.

Public function Virtual Const

FIntPoint

 

GetDim()

Get the width and height of the sample.

Public function Virtual Const

FTimespan

 

GetDuration()

Get the amount of time for which the sample is valid.

Public function Virtual Const

EMediaTextur...

 

GetFormat()

Get the texture sample format.

Public function Virtual Const

FIntPoint

 

GetOutputDim()

Get the sample's desired output width and height.

Public function Virtual Const

uint32

 

GetStride()

Get the horizontal stride (aka. pitch) of the sample's frame buffer.

Public function Virtual Const

FMediaTimeSt...

 

GetTime()

Get the sample time (in the player's local clock).

Public function Virtual Const

bool

 

IsCacheable()

Whether the sample can be held in a cache.

Public function Virtual Const

bool

 

IsOutputSrgb()

Whether the output of the sample is in sRGB color space.

Overridden from IMediaPoolable

Name Description

Public function Virtual

void

 

InitializePoolable()

Called when the object is removed from the pool.

Public function Virtual

void

 

ShutdownPoolable()

Called when the object added to the pool.

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