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

iwiColorToChannels

Syntax

IW_DECL(int) iwiColorToChannels(
    IwiColorFmt color,
    int         planeNum
);

Parameters

color

Color format.

planeNum

Plane number for the planar format. Must be equal to or greater than 0. Ignored for interleaved formats.

Description

This function converts IwColorFmt to the number of channels.

Return Values