Szerkesztés

Megosztás a következőn keresztül:


KSPROPERTY_VIDEOCOMPRESSION_QUALITY

The KSPROPERTY_VIDECOMPRESSION_QUALITY property controls the video compression quality setting. This property must be implemented.

Usage Summary Table

Get Set Target Property descriptor type Property value type

Yes

Yes

Filter

KSPROPERTY_VIDEOCOMPRESSION_S

LONG

The property value (operation data) is a LONG that specifies a video compression quality value.

Remarks

The Value member of the KSPROPERTY_VIDEOCOMPRESSION_S structure specifies the quality metric.

Values for this property range from 0 to 10000. Zero indicates the lowest quality, 10000 the highest. The minidriver determines its own default value.

Minidrivers that support this property should set the KS_CompressionCaps_CanQuality flag in the Capabilities member of the KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S structure that retrieves the minidriver's video compression capabilities. If a minidriver sets the KS_CompressionCaps_CanQuality, it should support both get and set requests for the property.

Values for this property range from 0 to 10000. Zero indicates the lowest quality, 10000 the highest. The minidriver determines its own default value.

Requirements

Header

Ksmedia.h (include Ksmedia.h)

See also

KSPROPERTY

KSPROPERTY_VIDEOCOMPRESSION_S

KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S