CDXScale class

This template class uses a pre-computed lookup table to scale samples.

CDXScale has these types of members:

Remarks

Used for scaling large arrays of samples to a constant scale, which is much faster than using even MMX instructions. This class is usually declared as a member of another class and is most often used to apply a global opacity to a set of samples. When using this class, always check for the two special cases of clear and opaque before calling any of the scaling member functions. Do this by using the ScaleType() inline function.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

DirectX 6.1

Header

Dxhelper.h

 

 

Show: