28.03.2017 Views

Primitives

ippi_0

ippi_0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If a function operates on source and destination images that have different data types, the respective data<br />

type identifiers are listed in the function name in order of source and destination as follows:<br />

= [src2Datatype][dstDatatype]<br />

Intel ® Integrated Performance <strong>Primitives</strong> Concepts 2<br />

For example, the function that converts 8-bit unsigned source image data to 32-bit floating point destination<br />

image data has the 8u32f value for the datatype field.<br />

NOTE<br />

In the lists of function parameters (arguments), the Ipp prefix is written in the data type. For<br />

example, the 8-bit unsigned data is denoted as Ipp8u type. These Intel IPP-specific data types are<br />

defined in the respective library header files.<br />

Descriptors<br />

The descriptors field further describes the operation. Descriptors are individual characters that indicate<br />

additional details of the operation.<br />

The following descriptors are used in image and video processing functions:<br />

Descriptor Description Example<br />

A<br />

A0<br />

C1, C2, C3, C4<br />

C<br />

I<br />

M<br />

P2, P3, P4<br />

R<br />

Sfs<br />

s<br />

Image data contains an alpha channel as the last<br />

channel, requires C4, alpha-channel is not processed<br />

Image data contains an alpha channel as the first<br />

channel, requires C4, alpha-channel is not processed<br />

Image data is in pixel order and made up of 1, 2, 3 or<br />

4 discrete interleaved channels<br />

Channel of interest (COI) is used in the operation<br />

Operation is performed in-place - that is result of<br />

operation is written back into the source (default is notin-place)<br />

Operation uses a mask to determine pixels to be<br />

processed<br />

Image data is in planar order and made up of 2, 3 or 4<br />

discrete planar (non-interleaved) channels, with a<br />

separate pointer to each plane<br />

Function operates on a defined region of interest (ROI)<br />

for each source image<br />

Saturation and fixed scaling mode is used<br />

Saturation and no scaling (default)<br />

ippiAddC_8u_AC4R,<br />

ippiLUTPalette_8u_C3A<br />

0C4R<br />

ippiFilter_32f_C1Ripp<br />

iFilter_32f_C3RippiFi<br />

lter_32f_C4RippiResiz<br />

eCCRotate_8u_C2R<br />

ippiSet_8u_C3CR<br />

ippiMulPack_32f_C3IR<br />

ippiCopy_8u_C1MR<br />

ippiResizeYUV420_8u_P<br />

2R,<br />

ippiGammaFwd_8u_P3R,<br />

ippiCopy_32f_P4R<br />

ippiMean_8u_C4R<br />

ippiSubC_8u_C1RSfs<br />

ippiConvert_16s16u_C1<br />

Rs<br />

If more that one descriptor is used, they are presented in the function name in alphabetical order.<br />

Every function that operates on image data has a channel count descriptor Cn (for interleaved image) or Pn<br />

(for planar). No default channel count is defined.<br />

If input and output channel layouts are different, both source and destination layouts are listed. For example,<br />

the function ippiHLSToBGR_8u_C3P3R converts three-channel interleaved HLS image to the three-plane BGR<br />

image.<br />

25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!