Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference

ID 790148
Date 10/31/2024
Public
Document Table of Contents

Channel and Planar Image Data Layouts

Intel® IPP functions operate on two fundamental data layouts: channel and planar.

In channel format, all values share the same buffer and all values for the same pixel position are interleaved together. Functions working with channel data have a _Cn descriptor, where n can take one of the following values: 1, 2, 3, or 4. The figure below shows 24 bit per pixel RGB data, which is represented as _C3.

RGB data in _C3 layout

For planar format, there is one value per pixel but potentially several related planes. Functions working with planar data have a _Pn descriptor, where n can take one of the following values: 1, 2, 3, or 4. The figure below shows 24 bit per pixel RGB data represented as _P3.

RGB data in _P3 layout

NOTE:

For many video and image processing formats planes may have different sizes.