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.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)