Navigation
API > API/Plugins > API/Plugins/AVCodecsCore
Configuration-less decoder that detects the bitstream type and creates an appropriate child decoder that can handle it.
| Name | TStreamVideoDecoder |
| Type | class |
| Header File | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/Video/Decoders/StreamVideoDecoder.h |
| Include Path | #include "Video/Decoders/StreamVideoDecoder.h" |
Syntax
template<typename TResource>
class TStreamVideoDecoder : public TVideoDecoder< TResource >
Inheritance Hierarchy
- TVideoDecoder< TResource > → TStreamVideoDecoder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TStreamVideoDecoder() |
Video/Decoders/StreamVideoDecoder.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Child | TSharedPtr< TVideoDecoder< TResource > > | The child decoder, invalid until this decoder is initialized by sending through a packet. | Video/Decoders/StreamVideoDecoder.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsOpen | uint8 | Whether this encoder is open and is or isn't initialized. | Video/Decoders/StreamVideoDecoder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FAVResult ApplyConfig() |
Video/Decoders/StreamVideoDecoder.h | ||
virtual void Close() |
Video/Decoders/StreamVideoDecoder.h | ||
virtual FVideoDecoderConfig GetMinimalConfig() |
Video/Decoders/StreamVideoDecoder.h | ||
bool IsInitialized() |
Video/Decoders/StreamVideoDecoder.h | ||
virtual bool IsOpen() |
Video/Decoders/StreamVideoDecoder.h | ||
virtual FAVResult Open
(
TSharedRef< FAVDevice > const& NewDevice, |
Video/Decoders/StreamVideoDecoder.h | ||
virtual FAVResult SendPacket
(
FVideoPacket const& Packet |
Video/Decoders/StreamVideoDecoder.h | ||
virtual void SetMinimalConfig
(
FVideoDecoderConfig const& MinimalConfig |
Video/Decoders/StreamVideoDecoder.h |
Overridden from TVideoDecoder< TResource >
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FAVResult ReceiveFrame
(
TResolvableVideoResource< TResource >& InOutResource |
Read a finished frame out of the codec. | Video/Decoders/StreamVideoDecoder.h |