WIAS_DOWN_SAMPLE_INFO structure

The WIAS_DOWN_SAMPLE_INFO structure stores information used by the downsampling helper function, wiasDownSampleBuffer.

Syntax


typedef struct _WIAS_DOWN_SAMPLE_INFO {
  ULONG ulOriginalWidth;
  ULONG ulOriginalHeight;
  ULONG ulBitsPerPixel;
  ULONG ulXRes;
  ULONG ulYRes;
  ULONG ulDownSampledWidth;
  ULONG ulDownSampledHeight;
  ULONG ulActualSize;
  ULONG ulDestBufSize;
  ULONG ulSrcBufSize;
  BYTE  *pSrcBuffer;
  BYTE  *pDestBuffer;
} WIAS_DOWN_SAMPLE_INFO, *PWIAS_DOWN_SAMPLE_INFO;

Members

ulOriginalWidth

Specifies the width, in pixels, of the input data.

ulOriginalHeight

Specifies the height, in pixels, of the input data.

ulBitsPerPixel

Specifies the number of bits per pixel of the input data.

ulXRes

Specifies the horizontal resolution of the input data.

ulYRes

Specifies the vertical resolution of the input data.

ulDownSampledWidth

Specifies the width, in pixels, of the output data.

ulDownSampledHeight

Specifies the width, in pixels, of the output data.

ulActualSize

Specifies the number of bytes placed in the destination buffer.

ulDestBufSize

Specifies the size, in bytes, of the destination buffer.

ulSrcBufSize

Specifies the size, in bytes, of the source buffer.

pSrcBuffer

Points to the source buffer.

pDestBuffer

Points to the destination buffer.

Requirements

Version

Available in Windows Me and in Windows XP and later versions of the Windows operating systems.

Header

Wiamindr_lh.h (include Wiamindr.h)

See also

wiasDownSampleBuffer

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft