UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VideoDecoderMpeg4.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7
8namespace AVEncoder
9{
10
12class FVideoDecoderMPEG4 : public FVideoDecoder
14{
15public:
16 // register decoder with video decoder factory
19 virtual bool Setup(const FInit& InInit) = 0;
20 virtual EDecodeResult Decode(const FVideoDecoderInput* InInput) = 0;
22
23 virtual void Shutdown() = 0;
24
25
26protected:
28 virtual ~FVideoDecoderMPEG4() = default;
29 FVideoDecoderMPEG4() = default;
31};
32
33} // namespace AVEncoder
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define PRAGMA_ENABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:12
#define PRAGMA_DISABLE_DEPRECATION_WARNINGS
Definition GenericPlatformCompilerPreSetup.h:8
Definition VideoDecoderMpeg4.h:14
virtual EDecodeResult Decode(const FVideoDecoderInput *InInput)=0
virtual bool Setup(const FInit &InInit)=0
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS ~FVideoDecoderMPEG4()=default
virtual PRAGMA_ENABLE_DEPRECATION_WARNINGS void Shutdown()=0
Definition AudioEncoder.cpp:7