Navigation
API > API/Plugins > API/Plugins/AVCodecsCore
Inheritance Hierarchy
- FAVPacket
- FAudioPacket
- FVideoPacket
References
| Module | AVCodecsCore |
| Header | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/AVPacket.h |
| Include | #include "AVPacket.h" |
Syntax
struct FAVPacket
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< uint8 > | DataPtr | Safe pointer to packet data. | |
| uint64 | DataSize | Size of packet data. | |
| uint64 | Index | Packet index in the sequence. | |
| uint64 | Timestamp | Timestamp of packet. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAVPacket () |
|||
FAVPacket
(
TSharedPtr< uint8 > const& DataPtr, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArrayView64< uint8 > | GetData () |
Convenience wrapper to treat raw data as an array view. | |
| bool | IsEmpty () |
Test whether raw data is empty or not set. | |
| void | WriteToFile
(
TCHAR* FileName |