![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <M4Decoder.h>
Public Member Functions | |
| VIDError | init (const VIDDecoderSetup *setup) |
| Initialize decoder. | |
| VIDError | initBuffers (int16 width, int16 height) |
| Init decoder for indicated image res. | |
| VIDError | StreamSet (VIDStreamIO *pStream, VIDStreamEvents *pEvents) |
| "Pull" interface | |
| VIDError | StreamDecode (float time, const VIDImage **result) |
| Handle Stream. | |
Static Public Member Functions | |
| static M4Decoder * | create (M4MemHandler &memHandler) |
| Static creation. | |
| static void | destroy (M4Decoder *&pDecoder, M4MemHandler &memHandler) |
| Static destruction. | |
"Push" interface | |
| class | M4MotionVectorMgr |
| 'Everyone needs some friends' | |
| class | M4Image |
| class | M4XCmdSingleThread |
| Install memory handling code. | |
| static const int32 | mDequantTable [4] = { -1, -2, 1, 2 } |
| static const uint32 | mRoundtab [16] = { 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 } |
| static const uint8 | mIntraMacroBlocks [8] = { 0, 0, 0, 1, 1, 0, 0, 0 } |
| M4MemHandler | mMemSys |
| local copy of memory hooks | |
| void(* | mCbPrintf )(const char *pMessage) |
| VIDError | StreamEventsSet (VIDStreamEvents *pEvents) |
| Attach a new event interface. | |
| VIDError | StreamSeekNotify () |
| Do some reset stuff if seeking happens. | |
| void * | operator new (size_t sz, M4MemHandler &memSys) |
| void | operator delete (void *ptr) |
| void | VIDPrintf (const char *pFormat,...) |
Main decoder interface
Note: This class is not designed for inheritance.
|
static |
Static creation.
Static creation
| memHandler |
|
static |
Static destruction.
Static destruction
| pDecoder | |
| memHandler |
| VIDError vdecmpeg4::M4Decoder::init | ( | const VIDDecoderSetup * | setup | ) |
Initialize decoder.
Handle init code executed just once
| setup | width/height in setup struct can be 0 |
Init decoder for indicated image res.
Handle buffer allocation of frame size changes
| width | new width |
| height | new height |
|
inline |
Handle Stream.
Handle decoding via stream interface
| result |
|
inline |
Attach a new event interface.
| VIDError vdecmpeg4::M4Decoder::StreamSeekNotify | ( | ) |
Do some reset stuff if seeking happens.
Do some stuff if seeking happens.
WARNING: Need to revise interface if seeking to some arbitraty position
| VIDError vdecmpeg4::M4Decoder::StreamSet | ( | VIDStreamIO * | pStreamIO, |
| VIDStreamEvents * | pEvents | ||
| ) |
"Pull" interface
Attach a new stream interface
Attach stream to decoder.
Ownership is not transferred
| pStreamIO | |
| pEvents |
|
friend |
'Everyone needs some friends'
|
friend |
Install memory handling code.
Required stuff for debugging BMP output
|
static |
|
static |
| M4MemHandler vdecmpeg4::M4Decoder::mMemSys |
local copy of memory hooks
|
static |