UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AVEncoder::FVideoDecoderMPEG4_Impl Class Reference
+ Inheritance diagram for AVEncoder::FVideoDecoderMPEG4_Impl:

Classes

struct  FInDecoderData
 

Public Member Functions

virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS bool Setup (const FInit &InInit) override
 
virtual PRAGMA_ENABLE_DEPRECATION_WARNINGS void Shutdown () override
 
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS EDecodeResult Decode (const FVideoDecoderInput *InInput) override
 
PRAGMA_ENABLE_DEPRECATION_WARNINGS FVideoDecoderMPEG4_Impl ()
 
virtual ~FVideoDecoderMPEG4_Impl ()
 

Protected Member Functions

virtual void FoundVideoObjectLayer (const VOLInfo &volInfo) override
 
virtual vdecmpeg4::VIDStreamResult Read (uint8_t *pRequestedDataBuffer, uint32_t requestedDataBytes, uint32_t &actualDataBytes) override
 
virtual bool IsEof () override
 
bool FirstUseInit ()
 
- Protected Member Functions inherited from AVEncoder::FVideoDecoderMPEG4
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS ~FVideoDecoderMPEG4 ()=default
 
 FVideoDecoderMPEG4 ()=default
 

Static Protected Member Functions

static voidvidMalloc (uint32_t size, uint32_t alignment)
 
static void vidFree (void *block)
 
static void vidReport (const char *pMessage)
 

Protected Attributes

TQueue< TUniquePtr< FInDecoderData >, EQueueMode::SpscPendingDecodeData
 
TUniquePtr< FInDecoderDataCurrentAU
 
vdecmpeg4::VIDDecoderSetup DecoderSetup
 
vdecmpeg4::VIDDecoder DecoderHandle
 
vdecmpeg4::VIDError LastDecoderError
 
bool bIsInitialized
 
bool bDataReaderAttached
 

Additional Inherited Members

- Static Public Member Functions inherited from AVEncoder::FVideoDecoderMPEG4
static PRAGMA_DISABLE_DEPRECATION_WARNINGS void Register (FVideoDecoderFactory &InFactory)
 

Constructor & Destructor Documentation

◆ FVideoDecoderMPEG4_Impl()

AVEncoder::FVideoDecoderMPEG4_Impl::FVideoDecoderMPEG4_Impl ( )

◆ ~FVideoDecoderMPEG4_Impl()

AVEncoder::FVideoDecoderMPEG4_Impl::~FVideoDecoderMPEG4_Impl ( )
virtual

Member Function Documentation

◆ Decode()

PRAGMA_DISABLE_DEPRECATION_WARNINGS FVideoDecoder::EDecodeResult AVEncoder::FVideoDecoderMPEG4_Impl::Decode ( const FVideoDecoderInput *  InInput)
overridevirtual

◆ FirstUseInit()

bool AVEncoder::FVideoDecoderMPEG4_Impl::FirstUseInit ( )
protected

◆ FoundVideoObjectLayer()

void AVEncoder::FVideoDecoderMPEG4_Impl::FoundVideoObjectLayer ( const VOLInfo volInfo)
overrideprotectedvirtual

Provide information about a new VOL found in the stream

Parameters
volInfoinformation about VOL

Implements vdecmpeg4::VIDStreamEvents.

◆ IsEof()

bool AVEncoder::FVideoDecoderMPEG4_Impl::IsEof ( )
overrideprotectedvirtual

Check if stream is at eof

Returns
True if stream is at eof

Implements vdecmpeg4::VIDStreamIO.

◆ Read()

vdecmpeg4::VIDStreamResult AVEncoder::FVideoDecoderMPEG4_Impl::Read ( uint8_t pRequestedDataBuffer,
uint32_t  requestedDataBytes,
uint32_t actualDataBytes 
)
overrideprotectedvirtual

Read data from stream

The decoder calls this method for reading 'requestedDataBytes' from the stream to the memory pointed via 'pRequestedDataBuffer'. The real amount of data which can be returned needs to be assigned to 'actualDataBytes' and a proper VIDStreamResult must be returned.

Parameters
pRequestedDataBufferwhere to put the read data
requestedDataBytesactual size request of the decoder
actualDataBytesavailable number of bytes in buffer after read
Returns
VIDStreamResult

Implements vdecmpeg4::VIDStreamIO.

◆ Setup()

PRAGMA_DISABLE_DEPRECATION_WARNINGS bool AVEncoder::FVideoDecoderMPEG4_Impl::Setup ( const FInit InInit)
overridevirtual

◆ Shutdown()

void AVEncoder::FVideoDecoderMPEG4_Impl::Shutdown ( )
overridevirtual

◆ vidFree()

static void AVEncoder::FVideoDecoderMPEG4_Impl::vidFree ( void block)
inlinestaticprotected

◆ vidMalloc()

static void * AVEncoder::FVideoDecoderMPEG4_Impl::vidMalloc ( uint32_t  size,
uint32_t  alignment 
)
inlinestaticprotected

◆ vidReport()

static void AVEncoder::FVideoDecoderMPEG4_Impl::vidReport ( const char pMessage)
inlinestaticprotected

Member Data Documentation

◆ bDataReaderAttached

bool AVEncoder::FVideoDecoderMPEG4_Impl::bDataReaderAttached
protected

◆ bIsInitialized

bool AVEncoder::FVideoDecoderMPEG4_Impl::bIsInitialized
protected

◆ CurrentAU

TUniquePtr<FInDecoderData> AVEncoder::FVideoDecoderMPEG4_Impl::CurrentAU
protected

◆ DecoderHandle

vdecmpeg4::VIDDecoder AVEncoder::FVideoDecoderMPEG4_Impl::DecoderHandle
protected

◆ DecoderSetup

vdecmpeg4::VIDDecoderSetup AVEncoder::FVideoDecoderMPEG4_Impl::DecoderSetup
protected

◆ LastDecoderError

vdecmpeg4::VIDError AVEncoder::FVideoDecoderMPEG4_Impl::LastDecoderError
protected

◆ PendingDecodeData

TQueue<TUniquePtr<FInDecoderData>, EQueueMode::Spsc> AVEncoder::FVideoDecoderMPEG4_Impl::PendingDecodeData
protected

The documentation for this class was generated from the following file: