Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2019

iwiColorToPlanes

Syntax

IW_DECL(int) iwiColorToPlanes(
    IwiColorFmt color
);

Parameters

color

Color format.

Description

This function converts IwColorFmt to the number of planes required to store an image.

Return Values

Number of planes in the specified color format. If the color format is undefined, returns 0.