You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixing non unity builds. #jira UE-136530, UE-136531, UE-136532, UE-136537, UE-136543, UE-136549 #rb aidan.possemiers, luke.bermingham, nick.pace [FYI] Mattias.Jansson #ROBOMERGE-AUTHOR: matthew.cotton #ROBOMERGE-SOURCE: CL 18363268 in //UE5/Release-5.0/... via CL 18363279 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469) [CL 18363286 by matthew cotton in ue5-release-engine-test branch]
36 lines
728 B
C++
36 lines
728 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
namespace AVEncoder
|
|
{
|
|
class AVENCODER_API FCodecPacket
|
|
{
|
|
public:
|
|
virtual ~FCodecPacket() = default;
|
|
|
|
static FCodecPacket Create(const uint8* InData, uint32 InDataSize);
|
|
|
|
/**
|
|
* Encoding/Decoding latency
|
|
*/
|
|
struct FTimings
|
|
{
|
|
FTimespan StartTs;
|
|
FTimespan FinishTs;
|
|
};
|
|
|
|
TSharedPtr<uint8> Data; // pointer to encoded data
|
|
uint32 DataSize = 0; // number of bytes of encoded data
|
|
bool IsKeyFrame = false; // whether or not packet represents a key frame
|
|
uint32 VideoQP = 0;
|
|
uint32 Framerate;
|
|
FTimings Timings;
|
|
|
|
private:
|
|
FCodecPacket() = default;
|
|
};
|
|
} /* namespace AVEncoder */
|