UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
vdecmpeg4_Stream.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
16
17// ----------------------------------------------------------------------------
22{
23public:
24
25 // ----------------------------------------------------------------------------
41
42 // ----------------------------------------------------------------------------
48 virtual bool IsEof() = 0;
49
50};
51
52
53// ----------------------------------------------------------------------------
58{
59public:
60
62 struct VOLInfo
63 {
66
69
70 // Four-bit integer which defines the value of pixel aspect ratio
71 // 0x0: Forbidden
72 // 0x1: 1:1 (Square)
73 // 0x2: 12:11 (625-type for 4:3 picture)
74 // 0x3: 10:11 (525-type for 4:3 picture)
75 // 0x4: 16:11 (625-type stretched for 16:9 picture)
76 // 0x5: 40:33 (525-type stretched for 16:9 picture)
77 // 0xf: extended PAR - see below
79
86
88
91 };
92
93 // ----------------------------------------------------------------------------
99 virtual void FoundVideoObjectLayer(const VOLInfo& volInfo) = 0;
100};
101
102
103}
104
105
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
uint8_t uint8
Definition binka_ue_file_header.h:8
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
virtual void FoundVideoObjectLayer(const VOLInfo &volInfo)=0
Definition vdecmpeg4_Stream.h:22
virtual VIDStreamResult Read(uint8 *pRequestedDataBuffer, uint32 requestedDataBytes, uint32 &actualDataBytes)=0
virtual bool IsEof()=0
Definition M4Bitstream.h:9
VIDStreamResult
Possible resuls for VIDStream methods.
Definition vdecmpeg4_Stream.h:11
@ VID_STREAM_ERROR
Definition vdecmpeg4_Stream.h:14
@ VID_STREAM_EOF
Definition vdecmpeg4_Stream.h:13
@ VID_STREAM_OK
Definition vdecmpeg4_Stream.h:12
VideoObjectLayer.
Definition vdecmpeg4_Stream.h:63
uint8 mAspectRatioPARheight
Definition vdecmpeg4_Stream.h:85
int16 mWidth
Definition vdecmpeg4_Stream.h:64
int16 mCodedHeight
Definition vdecmpeg4_Stream.h:68
uint8 mProfileLevel
Definition vdecmpeg4_Stream.h:87
int16 mHeight
Definition vdecmpeg4_Stream.h:65
uint8 mAspectRatioPARwidth
Definition vdecmpeg4_Stream.h:82
uint16 mFPSNumerator
Definition vdecmpeg4_Stream.h:89
uint8 mAspectRatio
Definition vdecmpeg4_Stream.h:78
uint16 mFPSDenominator
Definition vdecmpeg4_Stream.h:90
int16 mCodedWidth
Definition vdecmpeg4_Stream.h:67