MF_QUALITY_LEVEL enumeration
Specifies the quality level for a pipeline component. The quality level determines how the component consumes or produces samples.
Syntax
typedef enum _MF_QUALITY_LEVEL { MF_QUALITY_NORMAL = 0x0, MF_QUALITY_NORMAL_MINUS_1 = 0x1, MF_QUALITY_NORMAL_MINUS_2 = 0x2, MF_QUALITY_NORMAL_MINUS_3 = 0x3, MF_QUALITY_NORMAL_MINUS_4 = 0x4, MF_QUALITY_NORMAL_MINUS_5 = 0x5, MF_NUM_QUALITY_LEVELS = 0x6 } MF_QUALITY_LEVEL;
Constants
- MF_QUALITY_NORMAL
-
Normal quality.
- MF_QUALITY_NORMAL_MINUS_1
-
One level below normal quality.
- MF_QUALITY_NORMAL_MINUS_2
-
Two levels below normal quality.
- MF_QUALITY_NORMAL_MINUS_3
-
Three levels below normal quality.
- MF_QUALITY_NORMAL_MINUS_4
-
Four levels below normal quality.
- MF_QUALITY_NORMAL_MINUS_5
-
Five levels below normal quality.
- MF_NUM_QUALITY_LEVELS
-
Maximum number of quality levels. This value is not a valid flag.
Remarks
Each successive quality level decreases the amount of processing that is needed, while also reducing the resulting quality of the audio or video. The specific algorithm used to reduce quality depends on the component. Mode 1 is the least aggressive mode, and mode 5 is the most aggressive. A component is not required to implement all five levels. Also, the same quality level might not be comparable between two different components.
Video decoders can often reduce quality by leaving out certain post-processing steps. The enhanced video renderer (EVR) can sometimes reduce quality by switching to a different deinterlacing mode.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
See also