Module |
|
Header |
/Engine/Source/Runtime/AVEncoder/Public/VideoEncoderInput.h |
Include |
#include "VideoEncoderInput.h" |
class FVideoEncoderInput
Name | Description | ||
---|---|---|---|
|
bIsResizable |
||
|
FrameFormat |
||
|
Height |
||
|
Width |
Name | Description | |
---|---|---|
|
FVideoEncoderInput() |
|
|
FVideoEncoderInput ( |
Name | Description | |
---|---|---|
|
~FVideoEncoderInput() |
Name | Description | ||
---|---|---|---|
|
FVideoEncode... |
CreateBuffer ( |
Create a user managed buffer |
|
TSharedPtr< ... |
CreateDummy |
Construct video encoder input based on expected input frame format |
|
TSharedPtr< ... |
CreateForCUDA |
Create input for an encoder that encodes a CUarray in the context of a CUcontext (i.e. nvenc) |
|
TSharedPtr< ... |
CreateForD3D11 |
Create input for an encoder that encodes a D3D11 texture |
|
TSharedPtr< ... |
CreateForD3D12 |
TODO (M84FIX) AMF can work with this but also can handle raw D3D12 textures we should add support for that too create input for an encoder that encodes a D3D12 texture in the context of a D3D11 device (i.e. nvenc) |
|
TSharedPtr< ... |
CreateForVulkan |
Create input for an encoder that encodes a VkImage in the context of a VkDevice (i.e. Amf) |
|
TSharedPtr< ... |
CreateForYUV420P |
|
|
DestroyBuffer ( |
Destroy user managed buffer |
|
|
Flush() |
Destroy/release any frames that are not currently in use |
|
|
const TArray... |
GetAvailableEncoders() |
Get a list of supported video encoders |
|
EVideoFrameF... |
GetFrameFormat() |
|
|
FVideoEncode... |
ObtainInputFrame() |
Obtain a video frame that can be used as a buffer for input to a video encoder |
|
ReleaseInputFrame ( |
Release (free) an input frame and make it available for future use |
|
|
SetResolution |
Properties |
Name | Description | ||
---|---|---|---|
|
FVideoEncode... |
operator= ( |
Name |
Description |
---|---|
OnFrameReleasedCallback |
New packet callback prototype void(uint32 LayerIndex, const FCodecPacket& Packet) |