HdrMode

What to do about high dynamic range.

Resolved once, up front, and the resolved mode is used by both the preview and the export, so the grade a user looks at is the grade they get. A preview reads it off dev.jordond.filmstrip.player.PlayerConfig.exportSpec.

Entries

Link copied to clipboard

Keep HDR if the device can encode it, otherwise tone-map and report the adjustment.

Link copied to clipboard

Keep HDR, and refuse the export if the device cannot.

Link copied to clipboard

Always tone-map to SDR.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): HdrMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.