Files
UnrealEngineUWP/Engine/Source/Runtime/AVEncoder/Private/Decoders/VideoDecoderVP8.h
william belcher ee20867fc2 QOL: Deprecate AVEncoder (for removal) and its dependencies (to be moved to plugins)
#rb luke.bermingham
#jira UE-174651
[FYI]

[CL 32265425 by william belcher in ue5-main branch]
2024-03-14 20:30:26 -04:00

30 lines
656 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "VideoDecoderFactory.h"
namespace AVEncoder
{
PRAGMA_DISABLE_DEPRECATION_WARNINGS
class FVideoDecoderVP8 : public FVideoDecoder
PRAGMA_ENABLE_DEPRECATION_WARNINGS
{
public:
// register decoder with video decoder factory
PRAGMA_DISABLE_DEPRECATION_WARNINGS
static void Register(FVideoDecoderFactory& InFactory);
virtual bool Setup(const FInit& InInit) = 0;
virtual EDecodeResult Decode(const FVideoDecoderInput* InInput) = 0;
PRAGMA_ENABLE_DEPRECATION_WARNINGS
virtual void Shutdown() = 0;
protected:
virtual ~FVideoDecoderVP8() = default;
};
} // namespace AVEncoder