Navigation
API > API/Plugins > API/Plugins/AVCodecsCore
This struct defines how the allocated resource memory is used in the context of a video.
| Name | FVideoDescriptor |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/Video/VideoResource.h |
| Include Path | #include "Video/VideoResource.h" |
Syntax
struct FVideoDescriptor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Video/VideoResource.h | |||
FVideoDescriptor
(
const FVideoDescriptor& Descriptor |
Video/VideoResource.h | ||
FVideoDescriptor
(
EVideoFormat Format, |
Video/VideoResource.h | ||
FVideoDescriptor
(
EVideoFormat Format, |
Video/VideoResource.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FVideoDescriptor() |
Video/VideoResource.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BulkData | FResourceBulkDataInterface * | An implementation of the BulkData interface. Used for creating textures from existing data | Video/VideoResource.h | |
| Format | EVideoFormat | Format of the pixel data. | Video/VideoResource.h | |
| Height | uint32 | Height in pixels. | Video/VideoResource.h | |
| RawDescriptor | FVideoDescriptor * | If this is a descriptor stored in a different format than it really is for transport then its raw descriptor should be described in this variable | Video/VideoResource.h | |
| Width | uint32 | Width in pixels. | Video/VideoResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint8 GetNumChannels() |
Planar formats are treated as single channel. | Video/VideoResource.h | |
uint32 GetSizeInBytes() |
TODO(Nick): Try and remove this in favour of external initialisation. | Video/VideoResource.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
FVideoDescriptor const& RHS |
Video/VideoResource.h | ||
bool operator==
(
FVideoDescriptor const& RHS |
Video/VideoResource.h |