UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
vdecmpeg4::VIDStreamIO Class Referenceabstract

#include <vdecmpeg4_Stream.h>

+ Inheritance diagram for vdecmpeg4::VIDStreamIO:

Public Member Functions

virtual VIDStreamResult Read (uint8 *pRequestedDataBuffer, uint32 requestedDataBytes, uint32 &actualDataBytes)=0
 
virtual bool IsEof ()=0
 

Detailed Description

Interface for stream communcation between decoder and actual data provider.

Member Function Documentation

◆ IsEof()

virtual bool vdecmpeg4::VIDStreamIO::IsEof ( )
pure virtual

Check if stream is at eof

Returns
True if stream is at eof

Implemented in AVEncoder::FVideoDecoderMPEG4_Impl.

◆ Read()

virtual VIDStreamResult vdecmpeg4::VIDStreamIO::Read ( uint8 pRequestedDataBuffer,
uint32  requestedDataBytes,
uint32 actualDataBytes 
)
pure virtual

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

Implemented in AVEncoder::FVideoDecoderMPEG4_Impl.


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