PrismCore / API reference / Diagnostics

Structure

SourceDescription

struct SourceDescription

Declared in Sources/PrismCore/Diagnostics/SessionDiagnosticReport.swift · PrismCore 3.5.4

SourceInfo as the report writes it. An explicit copy rather than Codable on SourceInfo itself, so the public type can keep changing shape without changing the JSON a reader was written against.

Instance properties

var formatName: String

No documentation comment in the source.

var durationSeconds: Double?

No documentation comment in the source.

var nativeReadiness: String

streamCopy, requiresAudioBridge or unsupported.

var video: Video?

No documentation comment in the source.

var audio: [Audio]

No documentation comment in the source.

var subtitles: [Subtitle]

No documentation comment in the source.

var chapterCount: Int

No documentation comment in the source.

var hdr10Plus: HDR10Plus?

No documentation comment in the source.

Structure

SourceDescription.Audio

struct Audio

No documentation comment in the source.

Instance properties

var streamIndex: Int

No documentation comment in the source.

var codecName: String

No documentation comment in the source.

var profileName: String?

No documentation comment in the source.

var channelCount: Int

No documentation comment in the source.

var channelLayout: String?

No documentation comment in the source.

var sampleRate: Int

No documentation comment in the source.

var bitRate: Int64?

No documentation comment in the source.

var language: String?

No documentation comment in the source.

var title: String?

No documentation comment in the source.

var isObjectAudio: Bool

The container's claim; Runtime.objectAudio is the bitstream's.

var copyability: String

No documentation comment in the source.

Structure

SourceDescription.DolbyVision

struct DolbyVision

No documentation comment in the source.

Instance properties

var profile: Int

No documentation comment in the source.

var level: Int

No documentation comment in the source.

var profileName: String

No documentation comment in the source.

var rpuPresent: Bool

No documentation comment in the source.

var enhancementLayerPresent: Bool

No documentation comment in the source.

var baseLayerPresent: Bool

No documentation comment in the source.

var baseLayerSignalCompatibilityID: Int

No documentation comment in the source.

Structure

SourceDescription.HDR10Plus

struct HDR10Plus

No documentation comment in the source.

Instance properties

var streamIndex: Int

No documentation comment in the source.

var verdict: String

seen, notSeenWithinBudget, or unknown:<reason>.

var applicationVersion: Int?

No documentation comment in the source.

var videoPacketsScanned: Int

No documentation comment in the source.

Structure

SourceDescription.Subtitle

struct Subtitle

No documentation comment in the source.

Instance properties

var streamIndex: Int

No documentation comment in the source.

var codecName: String

No documentation comment in the source.

var language: String?

No documentation comment in the source.

var title: String?

No documentation comment in the source.

var kind: String

No documentation comment in the source.

var isDefault: Bool

No documentation comment in the source.

var isForced: Bool

No documentation comment in the source.

var isHearingImpaired: Bool

No documentation comment in the source.

var isOCRReadable: Bool

No documentation comment in the source.

Structure

SourceDescription.Video

struct Video

No documentation comment in the source.

Instance properties

var streamIndex: Int

No documentation comment in the source.

var codecName: String

No documentation comment in the source.

var profileName: String?

No documentation comment in the source.

var width: Int

No documentation comment in the source.

var height: Int

No documentation comment in the source.

var sampleAspectRatio: String?

num:den, when the container declared one.

var bitDepth: Int?

No documentation comment in the source.

var frameRate: Double?

No documentation comment in the source.

var bitRate: Int64?

No documentation comment in the source.

var fieldOrder: String

No documentation comment in the source.

var dynamicRange: String

No documentation comment in the source.

var colorPrimaries: String?

No documentation comment in the source.

var colorTransfer: String?

No documentation comment in the source.

var colorSpace: String?

No documentation comment in the source.

var dolbyVision: DolbyVision?

No documentation comment in the source.

var copyability: String

No documentation comment in the source.

Generated from the public symbols of PrismCore 3.5.4. All types