Files
UnrealEngineUWP/Engine/Source/Runtime/AVEncoder/Private/Encoders/VideoEncoderH264_Dummy.h
aurel cordonnier 50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00

31 lines
773 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
// #define AVENCODER_VIDEO_ENCODER_AVAILABLE_H264_DUMMY // enable dummy h264 encoder
#ifdef AVENCODER_VIDEO_ENCODER_AVAILABLE_H264_DUMMY
#include "VideoEncoderFactory.h"
namespace AVEncoder
{
class FVideoEncoderH264_Dummy : public FVideoEncoder
{
public:
static void Register(FVideoEncoderFactory& InFactory);
virtual bool Setup(TSharedRef<FVideoEncoderInput> InInput, const FInit& InInit) override;
virtual void Shutdown() override;
virtual void Encode(const FVideoEncoderInputFrame* InFrame, const FEncodeOptions& InOptions) override;
private:
FVideoEncoderH264_Dummy();
virtual ~FVideoEncoderH264_Dummy();
};
} // namespace AVEncoder
#endif // AVENCODER_VIDEO_ENCODER_AVAILABLE_H264_DUMMY