WICBitmapPlane structure (wincodec.h)

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;

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 pointed 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

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Header wincodec.h

See also

IWICPlanarBitmapSourceTransform::CopyPixels

IWICPlanarBitmapSourceTransform::DoesSupportTransform