Navigation
Unreal Engine C++ API Reference > Plugins > ElectraSamples
Inheritance Hierarchy
- IMediaTextureSample
- IMediaPoolable
- IElectraTextureSampleBase
References
Module | ElectraSamples |
Header | /Engine/Plugins/Media/ElectraUtil/Source/ElectraSamples/Public/IElectraTextureSample.h |
Include | #include "IElectraTextureSample.h" |
Syntax
class IElectraTextureSampleBase :
public IMediaTextureSample,
public IMediaPoolable
Remarks
Copyright Epic Games, Inc. All Rights Reserved.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TWeakPtr< const IVideoDecoderColorimetry, ESPMode::ThreadSafe > | Colorimetry | |
![]() |
TWeakPtr< const IVideoDecoderHDRInformation, ESPMode::ThreadSafe > | HDRInfo | Quick access for some HDR related info |
![]() |
TSharedPtr< FVideoDecoderOutput, ESPMode::ThreadSafe > | VideoDecoderOutput | Output data from video decoder. |
![]() |
FMatrix44f | YuvToRgbMtx | YUV matrix, adjusted to compensate for decoder output specific scale |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
float | GetSampleDataScale
(
bool b10Bit |
|
![]() |
void | Initialize
(
FVideoDecoderOutput* InVideoDecoderOutput |
Overridden from IMediaTextureSample
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
double | Get pixel aspect ratio | |
![]() ![]() ![]() |
FIntPoint | GetDim () |
Get the width and height of the sample. |
![]() ![]() ![]() |
FVector2f | ||
![]() ![]() ![]() |
FVector2f | ||
![]() ![]() ![]() |
FVector2f | ||
![]() ![]() ![]() |
FTimespan | GetDuration () |
Get the amount of time for which the sample is valid. |
![]() ![]() ![]() |
UE::Color::EEncoding | Get EOTF / "Gamma" / encoding type of data | |
![]() ![]() ![]() |
bool | GetFullRange () |
Get full range color flag |
![]() ![]() ![]() |
FMatrix44f | Get Colorspace conversion matrix to convert to CIE1931 XYZ space | |
![]() ![]() ![]() |
EMediaOrientation | Get image orientation vs. physically returned image data | |
![]() ![]() ![]() |
FIntPoint | GetOutputDim () |
Get the sample's desired output width and height. |
![]() ![]() ![]() |
FMatrix44f | Get complete 4x4 matrix to apply to the sample's pixels to yield RGB data in the sample's gamut | |
![]() ![]() ![]() |
FMediaTimeStamp | GetTime () |
Get the sample time (in the player's local clock). |
![]() ![]() ![]() |
FVector2f | Get white point of color space of the data contain in the sample | |
![]() ![]() ![]() |
const FMatrix & | Get the YUV to RGB conversion matrix. | |
![]() ![]() ![]() |
bool | IsCacheable () |
Whether the sample can be held in a cache. |
![]() ![]() ![]() |
bool | IsOutputSrgb () |
Whether the output of the sample is in sRGB color space. |
Overridden from IMediaPoolable
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Called when the object is removed from the pool. | |
![]() ![]() |
void | Called when the object added to the pool. |