34 lines
701 B
C++
34 lines
701 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "D3D12VideoDecodersElectraModule.h"
|
|
#include "VideoDecoder_D3D12.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "D3D12VideoDecodersElectraModule"
|
|
|
|
DEFINE_LOG_CATEGORY(LogD3D12VideoDecodersElectra);
|
|
|
|
class D3D12VideoDecodersElectraModule : public IModuleInterface
|
|
{
|
|
public:
|
|
void StartupModule() override
|
|
{
|
|
FD3D12VideoDecoder::Startup();
|
|
}
|
|
|
|
void ShutdownModule() override
|
|
{
|
|
FD3D12VideoDecoder::Shutdown();
|
|
}
|
|
|
|
bool SupportsDynamicReloading() override
|
|
{
|
|
// Codec could still be in use
|
|
return false;
|
|
}
|
|
};
|
|
|
|
IMPLEMENT_MODULE(D3D12VideoDecodersElectraModule, D3D12VideoDecodersElectra);
|
|
|
|
#undef LOCTEXT_NAMESPACE
|