VTCompressionProperties.LogTransferFunction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.