The helper functions in this section are used primarily for working with individual samples or arrays of samples. The sample allocation functions are typically used to create working buffers for reading, modifying, and writing image data. The sample modification functions can change the sample pixel format and combine two colors to produce a weighted average. The compositing functions do DXSurface fills and standard composite operations on samples.
Transform writers who are combining several images into one should find these functions especially useful. To use them, include in your code the file Dxhelper.h, which is located in the DXMedia\Include folder.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.