Navigation
Unreal Engine C++ API Reference > Plugins > ElectraDecoders
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- IElectraDecoder
References
Module | ElectraDecoders |
Header | /Engine/Plugins/Media/ElectraCodecs/Source/ElectraDecoders/Public/IElectraDecoder.h |
Include | #include "IElectraDecoder.h" |
Syntax
class IElectraDecoder : public TSharedFromThis< IElectraDecoder, ESPMode::ThreadSafe >
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Close () |
Closes the decoder instance. |
![]() |
EDecoderError | DecodeAccessUnit
(
const FInputAccessUnit& InInputAccessUnit, |
Decodes one access unit. |
![]() |
EDecoderError | Flush () |
Flushes the decoder to discard any pending input. |
![]() |
TSharedPtr< IElectraDecoderDefaultOutputFormat, ESPMode::ThreadSafe > | GetDefaultOutputFormatFromCSD
(
const TMap< FString, FVariant >& CSDAndAdditionalOptions |
Asks the decoder to provide information on the output that is expected to be produced given the codec specific data as input. |
![]() ![]() |
FError | GetError () |
Returns the most recent error that you should retrieve when either method returns failure. |
![]() ![]() |
void | GetFeatures
(
TMap< FString, FVariant >& OutFeatures |
Populates the provided map with decoder features or required options. |
![]() |
TSharedPtr< IElectraDecoderOutput, ESPMode::ThreadSafe > | GetOutput () |
Returns the next pending output. |
![]() ![]() |
EType | GetType () |
Returns the type of this decoder instance. |
![]() |
EOutputStatus | HaveOutput () |
Checks for available decoded output. |
![]() |
ECSDCompatibility | IsCompatibleWith
(
const TMap< FString, FVariant >& CSDAndAdditionalOptions |
When a change in decoder specific data is detected, call this method to determine if the decoder can just continue decoding with the new CSD or if it needs to be drained or drained first and then reset. |
![]() |
bool | Tries to reset the decoder to a clean start state. | |
![]() |
void | Resume () |
|
![]() |
EDecoderError | Sends an end-of-data notification to have the decoder process all pending input and generate as much output as possible. | |
![]() |
void | Suspend () |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FError | ||
![]() |
FInputAccessUnit |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
ECSDCompatibility | ||
![]() |
EDecoderError | ||
![]() |
EOutputStatus | ||
![]() |
EType |