Navigation
API > API/Runtime > API/Runtime/AVEncoder
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
| Type | Name | Description | |
|---|---|---|---|
| bool | bFreeYUV420PData | ||
| FCUDA | CUDA | ||
| EVideoFrameFormat | Format | ||
| uint32 | FrameID | ||
| uint32 | Height | ||
| FThreadSafeCounter | NumReferences | ||
| FReleaseCUDATextureCallback | OnReleaseCUDATexture | ||
| TFunction< void()> | OnTextureEncode | ||
| int64 | TimestampRTP | ||
| int64 | TimestampUs | ||
| uint32 | Width | ||
| FYUV420P | YUV420P |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FVideoEncoderInputFrame
(
const FVideoEncoderInputFrame& CloneFrom |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| const FVideoEncoderInputFrame * | Clone
(
FCloneDestroyedCallback InCloneDestroyedCallback |
Clone frame - this will create a copy that references the original until destroyed. | |
| FCUDA & | GetCUDA () |
||
| const FCUDA & | GetCUDA () |
||
| EVideoFrameFormat | GetFormat () |
Current format of frame | |
| uint32 | GetFrameID () |
||
| uint32 | GetHeight () |
||
| int64 | |||
| int64 | |||
| uint32 | GetWidth () |
||
| FYUV420P & | GetYUV420P () |
||
| const FYUV420P & | GetYUV420P () |
||
| const FVideoEncoderInputFrame * | Obtain () |
Obtain (increase reference count) of this input frame. | |
| void | Release () |
Release (decrease reference count) of this input frame. | |
| void | SetFrameID
(
uint32 id |
||
| void | SetHeight
(
uint32 InHeight |
Height of frame buffer | |
| void | SetTexture
(
CUarray InTexture, |
||
| void | SetTimestampRTP
(
int64 timestampRTP |
||
| void | SetTimestampUs
(
int64 timestampUs |
||
| void | SetWidth
(
uint32 InWidth |
Width of frame buffer | |
| void | SetYUV420P
(
const uint8* InDataY, |
Classes
Enums
| Type | Name | Description | |
|---|---|---|---|
| EUnderlyingRHI |
Typedefs
| Name | Description |
|---|---|
| FCloneDestroyedCallback | The callback type used to create a registered encoder |
| FReleaseCUDATextureCallback | The callback type used to create a registered encoder |