UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
vdecmpeg4::VIDDecoderSetup Struct Reference

#include <vdecmpeg4_Platform.h>

Public Attributes

uint32 size
 Total size of this structure (sizeof)
 
uint32 flags
 Init flags. See VID_DECODER_INIT.
 
int16 width
 Width of expected video image.
 
int16 height
 Height of expected video image.
 
uint16 numOfVidBuffers
 Explicetly select number of image buffers via VID_DECODER_VID_BUFFERS.
 
uint16 _reserved
 
VIDAllocator cbMemAlloc
 Regular memory allocation callback.
 
VIDDeallocator cbMemFree
 Regular memory dealloction callback.
 
VIDAllocator cbMemAllocLockedCache
 Memory allocation callback for Locked Cache memory (can be nullptr)
 
VIDReporting cbReport
 Reporting function callback.
 

Detailed Description

Decoder setup information.

This struct needs to be setup for proper decoder initialiazion. This happens often after opening the video input, because we need information about the image width and height here.

Member Data Documentation

◆ _reserved

uint16 vdecmpeg4::VIDDecoderSetup::_reserved

◆ cbMemAlloc

VIDAllocator vdecmpeg4::VIDDecoderSetup::cbMemAlloc

Regular memory allocation callback.

◆ cbMemAllocLockedCache

VIDAllocator vdecmpeg4::VIDDecoderSetup::cbMemAllocLockedCache

Memory allocation callback for Locked Cache memory (can be nullptr)

◆ cbMemFree

VIDDeallocator vdecmpeg4::VIDDecoderSetup::cbMemFree

Regular memory dealloction callback.

◆ cbReport

VIDReporting vdecmpeg4::VIDDecoderSetup::cbReport

Reporting function callback.

◆ flags

uint32 vdecmpeg4::VIDDecoderSetup::flags

Init flags. See VID_DECODER_INIT.

◆ height

int16 vdecmpeg4::VIDDecoderSetup::height

Height of expected video image.

◆ numOfVidBuffers

uint16 vdecmpeg4::VIDDecoderSetup::numOfVidBuffers

Explicetly select number of image buffers via VID_DECODER_VID_BUFFERS.

◆ size

uint32 vdecmpeg4::VIDDecoderSetup::size

Total size of this structure (sizeof)

◆ width

int16 vdecmpeg4::VIDDecoderSetup::width

Width of expected video image.


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