Rate This Document
Findability
Accuracy
Completeness
Readability

Introduction to the HMPP

Overview

This document describes the structure, operations, and main functions of the Hyper Media Performance Primitives (HMPP). The HMPP provides functions for allocating and releasing vector buffers, vector initialization, vector mathematical operations, vector statistics operations, vector sampling, and vector conversion, filtering functions, as well as transform (such as fast Fourier transform) functions. These functions comply with the IEEE 754 (a technical standard for floating-point arithmetic) and can be used on the Kunpeng platform only. To ensure the optimal performance, the HMPP interfaces do not verify all input parameters. The validity and reasonableness of the input parameters are ensured by the services that call the interfaces.

Application Scenarios

HMPP involves image processing, color conversion, filtering, transformation, and geometry. It provides abundant functional interfaces and ultimate performance optimization for vision computing, vector computing, statistics, signal filtering, signal conversion, and fixed-precision operation. HMPP can be applied to the following fields:

  • Digital media
  • Data communication
  • Biomedicine
  • Aeronautics and astronautics

HMPP Interface Declaration

Table 1 describes HMPP header files.
Table 1 Description of HMPP header files

File

Description

hmpp.h

Defines the version of the function library.

hmpp_core.h

Defines the public byte alignment, memory allocation, and memory release functions of the function library.

hmpps.h

Declaration file of the signal library

hmppi.h

Declaration file of the image library

hmppa.h

Declaration file of the audio library

hmpp_type.h

Defines the structure, enumeration type, and error code used by the function library.

hmpp_typebase.h

Defines the basic data types of the function library.