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

ID 790148
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

ConvertUTF

DEPRECATED. Converts the UTF16BE or UTF16LE format to UTF8 and vice versa.

Syntax

IppStatus ippsConvertUTF_8u16u(const Ipp8u* pSrc, Ipp32u* pSrcLen, Ipp16u* pDst, Ipp32u* pDstLen, int BEFlag);

IppStatus ippsConvertUTF_16u8u(const Ipp16u* pSrc, Ipp32u* pSrcLen, Ipp8u* pDst, Ipp32u* pDstLen, int BEFlag);

Include Files

ippch.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Parameters

pSrc

Pointer to the source vector.

pSrcLen

Length of the pSrc vector on input; its used length on output.

pDst

Pointer to the destination vector.

pDstLen

Length of the pDst vector on input; its used length on output.

BEFlag

Flag to indicate the UTF16BE format. 0 means the UTF16LE format.

Description

NOTE:
This function is deprecated and will be removed in a future release. If you have concerns, open a ticket and provide feedback at https://supporttickets.intel.com/.

The function flavor ippsConvertUTF_8u16u converts the UTF8 format to the UTF16LE or UTF16BE format. The function flavor ippsConvertUTF_16u8u converts UTF16LE or UTF16BE format to the UTF8 format.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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