UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VideoDecoderH264_Dummy.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#define AVENCODER_VIDEO_DECODER_AVAILABLE_H264_DUMMY // enable dummy h264 decoder
6
7#ifdef AVENCODER_VIDEO_DECODER_AVAILABLE_H264_DUMMY
8
10
11
12namespace AVEncoder
13{
14
16class FVideoDecoderH264_Dummy : public FVideoDecoder
18{
19public:
20 // register decoder with video decoder factory
23 virtual bool Setup(const FInit& InInit) override;
24 virtual EDecodeResult Decode(const FVideoDecoderInput* InInput) override;
26
27 virtual void Shutdown() override;
28
29
30
31 // query whether or not encoder is supported and available
32// static bool GetIsAvailable(FVideoEncoderInputImpl& InInput, FVideoEncoderInfo& OutEncoderInfo);
33
34
35private:
38 uint8_t YOffset = 0;
39 bool bIsInitialized = false;
40};
41
42} // namespace AVEncoder
43
44#endif // AVENCODER_VIDEO_DECODER_AVAILABLE_H264_DUMMY
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 VideoDecoderH264_Dummy.h:18
virtual PRAGMA_ENABLE_DEPRECATION_WARNINGS void Shutdown() override
Definition VideoDecoderH264_Dummy.cpp:165
virtual bool Setup(const FInit &InInit) override
Definition VideoDecoderH264_Dummy.cpp:155
virtual EDecodeResult Decode(const FVideoDecoderInput *InInput) override
Definition VideoDecoderH264_Dummy.cpp:179
Definition AudioEncoder.cpp:7