Compartilhar via


IImageSinkFilter::SetQuality (Compact 2013)

3/26/2014

This method sets the quality level for image encoding.

Syntax

HRESULT SetQuality(
  DWORD dwQuality
);   

Parameters

  • dwQuality
    [in] A DWORD value that identifies which of the quality levels defined in the registry the filter should use to produce its output. For more information, see Encoder Quality Settings in DirectShow Registry Settings.

Return Value

Returns an HRESULT value. The following table shows some of the possible return values.

Value

Description

S_OK

Success.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IImageSinkFilter Interface
IKsPropertySet Interface