API Quick Reference Guide

  • 2020
  • 09/30/2019
  • Public Content



IW_DECL(int) iwiColorToChannels( IwiColorFmt color, int planeNum );
Color format.
Plane number for the planar format. Must be equal to or greater than 0. Ignored for interleaved formats.
This function converts
to the number of channels.
Return Values
  • If the color format is of the interleaved type, returns the number of channels.
  • If the color format is of the planar type, returns the number of channels for the specified plane.
  • If the color format is undefined or the number of planes is incorrect, returns 0.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804