UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
vdecmpeg4_Platform.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "vdecmpeg4_Types.h"
5
6namespace vdecmpeg4
7{
8
9// ----------------------------------------------------------------------------
20typedef void*(*VIDAllocator) (uint32 size, uint32 alignment);
21
22// ----------------------------------------------------------------------------
28typedef void (*VIDReporting) (const char* pMessage);
29
30// ----------------------------------------------------------------------------
38typedef void (*VIDDeallocator) (void* block);
39
40typedef void* VIDDecoder;
41
42
43// ----------------------------------------------------------------------------
65
66}
67
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
FPlatformTypes::int16 int16
A 16-bit signed integer.
Definition Platform.h:1123
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint16_t uint16
Definition binka_ue_file_header.h:7
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition M4Bitstream.h:9
void * VIDDecoder
Opaque type of decoder to outside world. See VIDCreateDecoder to create a decoder.
Definition vdecmpeg4_Platform.h:40
void *(* VIDAllocator)(uint32 size, uint32 alignment)
Definition vdecmpeg4_Platform.h:20
void(* VIDReporting)(const char *pMessage)
Definition vdecmpeg4_Platform.h:28
void(* VIDDeallocator)(void *block)
memory release callback
Definition vdecmpeg4_Platform.h:38
Definition vdecmpeg4_Platform.h:53
VIDDeallocator cbMemFree
Regular memory dealloction callback.
Definition vdecmpeg4_Platform.h:61
VIDAllocator cbMemAlloc
Regular memory allocation callback.
Definition vdecmpeg4_Platform.h:60
int16 width
Width of expected video image.
Definition vdecmpeg4_Platform.h:56
VIDAllocator cbMemAllocLockedCache
Memory allocation callback for Locked Cache memory (can be nullptr)
Definition vdecmpeg4_Platform.h:62
VIDReporting cbReport
Reporting function callback.
Definition vdecmpeg4_Platform.h:63
int16 height
Height of expected video image.
Definition vdecmpeg4_Platform.h:57
uint32 size
Total size of this structure (sizeof)
Definition vdecmpeg4_Platform.h:54
uint16 _reserved
Definition vdecmpeg4_Platform.h:59
uint32 flags
Init flags. See VID_DECODER_INIT.
Definition vdecmpeg4_Platform.h:55
uint16 numOfVidBuffers
Explicetly select number of image buffers via VID_DECODER_VID_BUFFERS.
Definition vdecmpeg4_Platform.h:58