Language

VTCompressionProperties.LogTransferFunction Property

Definition

Gets or sets the log transfer function declared for the compressed content.

public CoreMedia.CMFormatDescriptionLogTransferFunction? LogTransferFunction { get; set; }
member this.LogTransferFunction : Nullable<CoreMedia.CMFormatDescriptionLogTransferFunction> with get, set

Property Value

The log transfer function, or null if none is specified. Setting this property to null removes the dictionary entry.

Exceptions

The getter encountered an identifier without a corresponding CMFormatDescriptionLogTransferFunction value.

Remarks

When a log transfer function is specified for a VTCompressionSession, source image buffers must have exactly that log transfer function, or encoding fails. Use WeakLogTransferFunction to access identifiers that are not represented by the enum.

Applies to