Write/Read
About Compression Algorithm

CompressionAlgorithm Property


Description

Set and read the algorithm method used to compute gain compression.

 VB Syntax

gca.CompressionAlgorithm = value

Variable

(Type) - Description

gca

A GainCompression (object)

value

(tagNAGCACompressionAlgorithm) - Algorithm method.  Choose from:

  • naCompressionFromLinearGain (0)

  • naCompressionFromMaximumGain (1)

  • naBackoffCompression (2)

  • naXYCompression  (3)

  • naSaturation (4)

Return Type

Enum

Default

naCompressionFromLinearGain (0)

Examples

gca.CompressionAlgorithm = naXYCompression 'Write

compAlg = gca.CompressionAlgorithm 'Read

C++ Syntax

HRESULT get_CompressionAlgorithm(tagNAGCACompressionAlgorithm* pVal)

HRESULT put_CompressionAlgorithm(tagNAGCACompressionAlgorithm newVal)

Interface

IGainCompression