Files
UnrealEngineUWP/Engine/Source/Runtime/GameplayMediaEncoder/Private/GameplayMediaEncoderCommon.h
david harvey 6e7c2a693a remove PLATFORM_XBOXONE from media code.
#jira UECON-543
#rnx
#rb eric.mcdaniel

#ROBOMERGE-OWNER: david.harvey
#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 16301679 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v800-16297934)
#ROBOMERGE-CONFLICT from-shelf

[CL 16301713 by david harvey in ue5-release-engine-test branch]
2021-05-12 13:15:22 -04:00

46 lines
1020 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Stats/Stats.h"
#include "Logging/LogMacros.h"
#include "RHIStaticStates.h"
#include "HAL/ThreadSafeBool.h"
#include "HAL/ThreadSafeCounter.h"
#include "HAL/Thread.h"
#include "HAL/Event.h"
#include "Misc/ScopeExit.h"
#include "ShaderCore.h"
#include "ProfilingDebugging/CsvProfiler.h"
#include "RHI.h"
#include "RHIResources.h"
//
// Macros to control some things during development
//
#define LIVESTREAMING 0
//
// Includes common to Windows and XboxOne
//
#if PLATFORM_WINDOWS
#include "Templates/RefCounting.h"
#endif
#define WMFMEDIA_SUPPORTED_PLATFORM (PLATFORM_WINDOWS && !UE_SERVER)
DECLARE_LOG_CATEGORY_EXTERN(GameplayMediaEncoder, Log, VeryVerbose);
struct FMemoryCheckpoint
{
FString Name;
float UsedPhysicalMB;
float DeltaMB;
float AccumulatedMB;
};
extern TArray<FMemoryCheckpoint> gMemoryCheckpoints;
uint64 MemoryCheckpoint(const FString& Name);
void LogMemoryCheckpoints(const FString& Name);