Visible to Intel only — GUID: GUID-C6654042-44C2-4D6B-A4B0-83B95B016E28
iwiColorGetPlaneSize
Syntax
IW_DECL(IppiSizeL) iwiColorGetPlaneSize(
IwiColorFmt color,
IppiSizeL origSize,
int planeNum
);
Parameters
color |
Color format. |
origSize |
Full size of the input plane image. |
planeNum |
Plane number for the planar format. Must be equal to or greater than 0. Ignored for interleaved formats. |
Description
This function calculates the image size required to store a particular plane for the input color format.
Return Values
If the color format is of the interleaved type, returns origSize.
If the color format is of the planar type, returns the size for the specified plane.
If the color format is undefined or the number of planes is incorrect, returns {0,0}.
Parent topic: Color Conversion