WICBitmapPlane structure

Specifies the pixel format, buffer, stride and size of a component plane for a planar pixel format.

Syntax


typedef struct _WICBitmapPlane {
  WICPixelFormatGUID Format;
  BYTE               *pbBuffer;
  UINT               cbStride;
  UINT               cbBufferSize;
} WICBitmapPlane, *PWICBitmapPlane;

Members

Format

Type: WICPixelFormatGUID

Describes the pixel format of the plane.

pbBuffer

Type: BYTE*

Pointer to the buffer that holds the plane’s pixel components.

cbStride

Type: UINT

The stride of the buffer ponted to by pbData. Stride indicates the total number of bytes to go from the beginning of one scanline to the beginning of the next scanline.

cbBufferSize

Type: UINT

The total size of the buffer pointed to by pbBuffer.

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

See also

IWICPlanarBitmapSourceTransform::DoesSupportTransform
IWICPlanarBitmapSourceTransform::CopyPixels

 

 

Show: