Microsoft DirectX 8.1 (C++) |
The SetClipFactor method specifies the video mode based on the maximum data that will be lost.
Syntax
HRESULT SetClipFactor(
long ClipFactor
);
Parameters
ClipFactor
[in] Maximum allowable amount of the image to lose.
Return Value
Returns an HRESULT value.
Remarks
Clip loss factor is a means of enabling full-screen modes that is more generic and easier for applications to use. This method defines the amount of video that can be lost when deciding which display mode to use. For example, assuming the decoder cannot compress the video, playing an MPEG file (say 352 × 288 pixels) into a 320 × 200 display will lose about 25 percent of the image. The clip loss factor specifies the upper range permissible. To allow typical QCIF-sized MPEG video (352 × 288 pixels) to be played in a 320 × 200 display mode, it defaults to 25 percent.
See Also