Navigation
API > API/Plugins > API/Plugins/TmvMedia
Interface for the decoder's access unit. This is used by the decoder to read data from the input buffer. It is abstracted as an input stream so that the access unit doesn't have to be fully loaded in memory. With this, we should be able to encapsulate access units from different parser implementations (containers or separate files).
| Name | ITmvMediaDecoderAccessUnit |
| Type | class |
| Header File | /Engine/Plugins/Media/TmvMedia/Source/TmvMedia/Public/Decoder/ITmvMediaDecoder.h |
| Include Path | #include "Decoder/ITmvMediaDecoder.h" |
Syntax
class ITmvMediaDecoderAccessUnit
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ITmvMediaDecoderAccessUnit() |
Decoder/ITmvMediaDecoder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FString & GetFilename() |
Returns the filename. (TMP) | Decoder/ITmvMediaDecoder.h | |
int32 GetFrameId() |
Returns the frame id for this access unit. | Decoder/ITmvMediaDecoder.h | |
int64 GetTotalSize() |
Returns the total size in bytes of the access unit. | Decoder/ITmvMediaDecoder.h | |
| Directly access the underlying archive. | Decoder/ITmvMediaDecoder.h | ||
int64 Read
(
void* OutBuffer, |
Read from the current position the specified amount of data. | Decoder/ITmvMediaDecoder.h | |
bool Seek
(
int64 InOffset |
Seek at the specified offset in bytes from the start of the access unit. | Decoder/ITmvMediaDecoder.h | |
int64 Tell() |
Returns the offset in bytes from the start of the access unit. | Decoder/ITmvMediaDecoder.h |