Introduction to the HMPP
Overview
This document describes the structure, operations, and main functions of the
HMPP Interface Functions
Module |
Description |
|---|---|
Basic functions |
This module enables 63 basic functions, including functions for byte alignment, memory allocation, memory release, multi-thread setting, obtaining status code description, thread information, CPU cache, time frequency and CPU timestamp, and HMPP version, obtaining and setting instruction information, and enabling and disabling the FlushToZero mode. |
Signal library interface functions |
This module implements the following functions:
|
Image library interface functions |
This module implements functions such as image color model conversion, thresholding, arithmetic logic operation, and image geometric transformation. |
Audio library interface functions |
This module encodes and decodes audio data streams. The protocols include amrnb, amrwb, evrc, gsmefr, gsmfr, gsmhr, g726, g729a, silk and wav. |
HMPP Interface Declaration
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. |
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