[common] lgmp: separate transport configuration

Move LGMP queue tunables into LGMPConfig.h and keep compatibility
aliases in KVMFR.h. Promote color-transform, SDR white-level, and
damage-limit definitions to transport-neutral common types so non-LGMP
transports do not depend on the KVMFR wire format.
This commit is contained in:
Geoffrey McRae
2026-07-20 05:09:43 +00:00
parent 5196c5503a
commit d4b3506e6c
11 changed files with 81 additions and 22 deletions

View File

@@ -30,7 +30,6 @@
struct CD3D12Device;
extern "C" {
#include "common/KVMFR.h"
#include "common/types.h"
}
@@ -63,7 +62,7 @@ struct D12FrameFormat
bool hdr = false;
bool hdrPQ = false;
bool hdrMetadata = false;
uint32_t sdrWhiteLevel = KVMFR_SDR_WHITE_LEVEL_DEFAULT;
uint32_t sdrWhiteLevel = LG_SDR_WHITE_LEVEL_DEFAULT;
std::shared_ptr<const D12ColorTransform> colorTransform;
// HDR static metadata (SMPTE ST 2086)