Share via


CS_COMPRESSION (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Camera Driver Structures