// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "VideoDecoderFactory.h" namespace AVEncoder { PRAGMA_DISABLE_DEPRECATION_WARNINGS class FVideoDecoderH264_Impl : 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: PRAGMA_DISABLE_DEPRECATION_WARNINGS virtual ~FVideoDecoderH264_Impl() = default; PRAGMA_ENABLE_DEPRECATION_WARNINGS }; } // namespace AVEncoder