![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 |
Interface for stream communcation between decoder and actual data provider.
Check if stream is at eof
Implemented in AVEncoder::FVideoDecoderMPEG4_Impl.
|
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.
| pRequestedDataBuffer | where to put the read data |
| requestedDataBytes | actual size request of the decoder |
| actualDataBytes | available number of bytes in buffer after read |
Implemented in AVEncoder::FVideoDecoderMPEG4_Impl.