UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
vdecmpeg4.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include "vdecmpeg4_Build.h"
7#include "vdecmpeg4_Image.h"
8
9namespace vdecmpeg4
10{
11
18
28
29
30class VIDStreamIO;
31class VIDStreamEvents;
32
42
51
61
62
63
64// ----------------------------------------------------------------------------
79
80// ----------------------------------------------------------------------------
92
93
94
95
96// ----------------------------------------------------------------------------
110
111// ----------------------------------------------------------------------------
126
127// ----------------------------------------------------------------------------
141
142// ----------------------------------------------------------------------------
156
157
158// ----------------------------------------------------------------------------
169
170
171
172// ----------------------------------------------------------------------------
182
183
184}
185
EGLSurface EGLnsecsANDROID time
Definition AndroidOpenGLFunctions.h:9
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 vdecmpeg4_Stream.h:58
Definition vdecmpeg4_Stream.h:22
Definition M4Bitstream.h:9
VIDError VIDStreamSet(VIDDecoder decoder, VIDStreamIO *pStream, VIDStreamEvents *pEvents)
Definition M4Vid.cpp:140
VIDError VIDStreamSeekNotify(VIDDecoder decoder)
Definition M4Vid.cpp:191
VIDFrameType
Possible return values for VIDGetFrameType() function.
Definition vdecmpeg4.h:21
@ VID_FT_B_FRAME
Input data stream is B frame.
Definition vdecmpeg4.h:25
@ VID_FT_P_FRAME
Input data stream is P frame.
Definition vdecmpeg4.h:24
@ VID_FT_S_FRAME
Input data stream is S frame.
Definition vdecmpeg4.h:26
@ VID_FT_I_FRAME
Input data stream is I frame.
Definition vdecmpeg4.h:23
@ VID_FT_ERROR
Cannot determine frame type from data.
Definition vdecmpeg4.h:22
const VIDImageInfo * VIDGetFrameInfo(const VIDImage *_pImage)
Definition M4Vid.cpp:102
VID_IMAGEINFO_FRAMETYPE
Possible frame types returned via VIDImageInfo.
Definition vdecmpeg4.h:35
@ VID_IMAGEINFO_FRAMETYPE_I
I frame.
Definition vdecmpeg4.h:37
@ VID_IMAGEINFO_FRAMETYPE_S
S frame (gmc)
Definition vdecmpeg4.h:40
@ VID_IMAGEINFO_FRAMETYPE_UNKNOWN
Unknown frame.
Definition vdecmpeg4.h:36
@ VID_IMAGEINFO_FRAMETYPE_P
P frame.
Definition vdecmpeg4.h:38
@ VID_IMAGEINFO_FRAMETYPE_B
B frame.
Definition vdecmpeg4.h:39
VIDError VIDCreateDecoder(const VIDDecoderSetup *setup, VIDDecoder *pNewDecoder)
Definition M4Vid.cpp:20
void * VIDDecoder
Opaque type of decoder to outside world. See VIDCreateDecoder to create a decoder.
Definition vdecmpeg4_Platform.h:40
void VIDDebugVideoOutToBMP(VIDDecoder dec, const char *pBaseName)
Definition M4Vid.cpp:117
void VIDDestroyDecoder(VIDDecoder dec)
Definition M4Vid.cpp:85
VIDError VIDStreamDecode(VIDDecoder decoder, float time, const VIDImage **result)
Definition M4Vid.cpp:158
int32 VIDError
Generic error type.
Definition vdecmpeg4_ErrorCodes.h:10
VID_DECODER_INIT
Possible decoder initialization flags used in VIDDecoderSetup::flags.
Definition vdecmpeg4.h:14
@ VID_DECODER_DEFAULT
Definition vdecmpeg4.h:16
@ VID_DECODER_VID_BUFFERS
Allocate indicated number of vid buffers - min 3.
Definition vdecmpeg4.h:15
VIDError VIDStreamEventsSet(VIDDecoder decoder, VIDStreamEvents *pEvents)
Definition M4Vid.cpp:175
Definition vdecmpeg4_Platform.h:53
Statistical information about decoded frame. This struct is returned via a call to VIDGetFrameInfo.
Definition vdecmpeg4.h:54
uint32 mFrameBytes
Size of frame input data in bytes.
Definition vdecmpeg4.h:58
uint32 mFrameNumber
Current frame number.
Definition vdecmpeg4.h:56
float mDecodeTimeMs
Decode time of frame in ms.
Definition vdecmpeg4.h:57
VIDImageMacroblockInfo mMacroblockInfo
See VIDImageMacroblockInfo.
Definition vdecmpeg4.h:59
VID_IMAGEINFO_FRAMETYPE mFrameType
Current frame type.
Definition vdecmpeg4.h:55
Statistical information about the possible mpeg block from which this frame is made.
Definition vdecmpeg4.h:45
uint16 mNumMBinterpolated
Number of interpolated macro blocks.
Definition vdecmpeg4.h:48
uint16 mNumMBinter
Number of INTER coded macro blocks.
Definition vdecmpeg4.h:46
uint16 mNumMBintra
Number of INTRA coded macro blocks.
Definition vdecmpeg4.h:47
uint16 mNumMBnotCoded
Number of non-coded (direct copy) macro blocks.
Definition vdecmpeg4.h:49
Definition vdecmpeg4_Image.h:32