FVideoEncoderInputFrame

TODO this should go elsewhere and be made cross platform.

Windows
MacOS
Linux

References

Module

AVEncoder

Header

/Engine/Source/Runtime/AVEncoder/Public/VideoEncoderInput.h

Include

#include "VideoEncoderInput.h"

Syntax

class FVideoEncoderInputFrame

Remarks

TODO this should go elsewhere and be made cross platform.

Variables

Name Description

Protected variable

bool

 

bFreeYUV420PData

Protected variable

EVideoFrameForm...

 

Format

Protected variable

uint32

 

FrameID

Protected variable

uint32

 

Height

Public variable

int64

 

NTP

Protected variable

FThreadSafeCoun...

 

NumReferences

Protected variable

FReleaseVulkanT...

 

OnReleaseVulkanTexture

Public variable

TFunction< void...

 

OnTextureEncode

Public variable

int64

 

PTS

Protected variable

FVulkan

 

Vulkan

Protected variable

uint32

 

Width

Protected variable

FYUV420P

 

YUV420P

Constructors

Destructors

Name Description

Protected function Virtual

~FVideoEncoderInputFrame()

Functions

Name Description

Public function

void

 

AllocateYUV420P()

Public function Const

const FVideo...

 

Clone

(
    FCloneDestroyedCallback InCloneDest...
)

Clone frame - this will create a copy that references the original until destroyed.

Public function Const

EVideoFrameF...

 

GetFormat()

Current format of frame

Public function Const

uint32

 

GetFrameID()

An ID that will stay constant as long as the frame buffer exists

Public function Const

uint32

 

GetHeight()

Height of frame buffer

Public function Const

const FVulka...

 

GetVulkan()

Public function

FVulkan &

 

GetVulkan()

Public function Const

uint32

 

GetWidth()

Width of frame buffer

Public function Const

const FYUV42...

 

GetYUV420P()

Public function

FYUV420P &

 

GetYUV420P()

Public function Const

const FVideo...

 

Obtain()

Obtain (increase reference count) of this input frame.

Public function Const

void

 

Release()

Release (decrease reference count) of this input frame.

Public function

void

 

SetYUV420P

(
    const uint8* InDataY,
    const uint8* InDataU,
    const uint8* InDataV,
    uint32 InStrideY,
    uint32 InStrideU,
    uint32 InStrideV
)

Classes

Name

Description

Public struct

FVulkan

Vulkan

Public struct

FYUV420P

Typedefs

Name

Description

FCloneDestroyedCallback

The callback type used to create a registered encoder

FReleaseVulkanTextureCallback

The callback type used to create a registered encoder

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