Per-frame statistics, nine-patch shift, Draft flow on sampled pairs, stars, clouds, sky/land luminance and exposure-aligned scene distance, then sequence-level flicker, received exposure steps, white balance, shake, day/night, hero frame and findings in a versioned analysis.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
26 lines
1.2 KiB
C#
26 lines
1.2 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Titano.Core.Analysis.Deep;
|
|
|
|
/// <summary>Source-generated JSON for <c>analysis.json</c> and the database summary: compact, camelCase, enums as names.</summary>
|
|
[JsonSourceGenerationOptions(
|
|
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
|
|
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
|
UseStringEnumConverter = true,
|
|
PropertyNameCaseInsensitive = true)]
|
|
[JsonSerializable(typeof(DeepAnalysisReport))]
|
|
[JsonSerializable(typeof(AnalysisSummary))]
|
|
internal sealed partial class DeepAnalysisJson : JsonSerializerContext;
|
|
|
|
/// <summary>Checkpoint lines: exact doubles, NaN written as a literal so unmeasured values survive a resume.</summary>
|
|
[JsonSourceGenerationOptions(
|
|
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
|
|
NumberHandling = JsonNumberHandling.AllowNamedFloatingPointLiterals,
|
|
UseStringEnumConverter = true)]
|
|
[JsonSerializable(typeof(DeepFrame))]
|
|
[JsonSerializable(typeof(CheckpointHeader))]
|
|
internal sealed partial class DeepCheckpointJson : JsonSerializerContext;
|
|
|
|
/// <summary>First line of a checkpoint file.</summary>
|
|
internal sealed record CheckpointHeader(string Fingerprint);
|