Navigation
API > API/Plugins > API/Plugins/AVCodecsCore
Base container for raw encoded AV resources, created by encoders and consumed by decoders. Can be treated like a networking packet, where the encoder and decoder are separate machines and communicate only through this medium.
| Name | FAVPacket |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/AVPacket.h |
| Include Path | #include "AVPacket.h" |
Syntax
struct FAVPacket
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAVPacket () |
AVPacket.h | ||
FAVPacket
(
TSharedPtr< uint8 > const& DataPtr, |
AVPacket.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataPtr | TSharedPtr< uint8 > | Safe pointer to packet data. | AVPacket.h | |
| DataSize | uint64 | Size of packet data. | AVPacket.h | |
| Index | uint64 | Packet index in the sequence. | AVPacket.h | |
| Timestamp | uint64 | Timestamp of packet. | AVPacket.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArrayView64< uint8 > GetData() |
Convenience wrapper to treat raw data as an array view. | AVPacket.h | |
bool IsEmpty() |
Test whether raw data is empty or not set. | AVPacket.h | |
void WriteToFile
(
TCHAR* FileName |
AVPacket.h |