2021-04-29 19:32:06 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "VideoDecoderH264_Impl.h"
|
|
|
|
|
|
|
|
|
|
#ifndef CODEC_HAVE_NATIVE_H264_DECODER
|
|
|
|
|
#define CODEC_HAVE_NATIVE_H264_DECODER 0
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if PLATFORM_WINDOWS
|
|
|
|
|
#undef CODEC_HAVE_NATIVE_H264_DECODER
|
|
|
|
|
#define CODEC_HAVE_NATIVE_H264_DECODER 1
|
|
|
|
|
#include "Windows/VideoDecoderH264_Windows.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace AVEncoder
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if CODEC_HAVE_NATIVE_H264_DECODER
|
|
|
|
|
|
|
|
|
|
#if PLATFORM_WINDOWS
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
void FVideoDecoderH264_Impl::Register(FVideoDecoderFactory& InFactory)
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
{
|
|
|
|
|
FVideoDecoderH264_Windows::Register(InFactory);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
void FVideoDecoderH264_Impl::Register(FVideoDecoderFactory& InFactory)
|
2024-03-14 20:30:26 -04:00
|
|
|
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
2021-04-29 19:32:06 -04:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
} // namespace AVEncoder
|