You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156 [CL 16163576 by aurel cordonnier in ue5-main branch]
31 lines
773 B
C++
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
|