CS_COMPRESSION (Compact 2013)
3/26/2014
This structure defines the compression of frames on an output pin.
Syntax
typedef struct {
ULONG RatioNumerator;
ULONG RatioDenominator;
ULONG RatioConstantMargin;
} CS_COMPRESSION, *PCS_COMPRESSION;
Members
- RatioNumerator
A ULONG value that specifies the numerator of the compression/expansion ratio.
- RatioDenominator
A ULONG value that specifies the denominator of the compression/expansion ratio.
- RatioConstantMargin
A ULONG value that specifies a scalar constant to apply to the compression ratio. Set this to zero for no compression.
Remarks
For compression, specify a fraction less than 1. For decompression, specify a fraction greater than 1. For example, a compressor might specify 1:3. A decompressor could specify 3:1.
Requirements
Header |
cs.h |