Uppercase, UppercaseLatin

Converts alphabetic characters of a string to all uppercase symbols.

Syntax

IppStatus ippsUppercase_16u(const Ipp16u* pSrc, Ipp16u* pDst, int len);

IppStatus ippsUppercase_16u_I(Ipp16u* pSrcDst, int len);

IppStatus ippsUppercaseLatin_8u(const Ipp8u* pSrc, Ipp8u* pDst, int len);

IppStatus ippsUppercaseLatin_16u(const Ipp16u* pSrc, Ipp16u* pDst, int len);

IppStatus ippsUppercaseLatin_8u_I(Ipp8u* pSrcDst, int len);

IppStatus ippsUppercaseLatin_16u_I(Ipp16u* pSrcDst, int len);

Parameters

pSrc

Pointer to the source string.

pDst

Pointer to the destination string.

pSrcDst

Pointer to the source and destination string for the in-place operation.

len

Number of elements in the string.

Description

The functions ippsUppercase and ippsUppercaseLatin are declared in the ippch.h file. These functions convert each alphabetic character of the source string pSrc to upper case and stores the result in pDst.

The in-place flavors of these functions convert each alphabetic character of the source string pSrcDst to upper case and store the result in pSrcDst.

The function ippsUppercase operates with Unicode characters. The function ippsUppercaseLatin operates with ASCII characters.

Code example  shows how to use the function ippsUppercaseLatin_8u.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if at least one of the specified pointers is NULL.

ippStsLengthErr

Indicates an error condition if len is negative.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.