Header Files and Library Files

The header files on which the media data processing function depends are stored in the ${INSTALL_DIR}/include/ directory, and the library files are stored in the ${INSTALL_DIR}/lib64/ directory. Replace ${INSTALL_DIR} with the CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /usr/local/Ascend/cann.

Table 1 DVPP header file list

Category

Header File

Function

Matching Library File

Media data processing operators

In the acldvppop directory:

acldvpp_base.h

acldvpp_op_api.h

Defines the functional APIs of digital vision preprocessing (DVPP) operators.

libacl_dvpp_op.so

Media data processing operators

In the aclnn directory:

acl_meta.h

aclnn_base.h

Common meta APIs such as those for creating aclTensor, aclScalar, and aclIntArray

libnnopbase.so

Media data processing V2

acl/dvpp/hi_dvpp.h

Defines the DVPP APIs for media data processing V2.

libacl_dvpp_mpi.so

Media data processing V2

In the acl/media directory:

hi_mpi_vi.h

hi_common_vi.h

hi_common_dis.h

hi_common_gdc.h

hi_media_common.h

hi_media_type.h

hi_mpi_sys.h

Declares the video input (VI) data obtaining APIs.

libacl_vi_mpi.so

libacl_dvpp_mpi.so

Media data processing V2

In the acl/media directory:

hi_mpi_isp.h

hi_common_isp.h

hi_common_3a.h

hi_mpi_ae.h

hi_common_ae.h

hi_mpi_awb.h

hi_common_awb.h

hi_common_sns.h

hi_media_common.h

hi_media_type.h

hi_mpi_sys.h

Declares the image signal processing (ISP) system control APIs.

libacl_isp_ae_mpi.so

libacl_isp_awb_mpi.so

libacl_isp_mpi.so

libacl_dvpp_mpi.so

Media data processing V2

In the acl/media directory:

hi_mpi_vpss.h

hi_media_common.h

hi_media_type.h

hi_mpi_sys.h

Declares the video process sub-system (VPSS) image processing APIs.

libacl_vpss_mpi.so

libacl_dvpp_mpi.so

Media data processing V2

acl/media/hi_mipi_rx.h

Declares the MIPI RX ioctl command word.

-

Media data processing V2

In the acl/media directory:

hi_mpi_audio.h

hi_common_aio.h

Declares the audio input and output APIs.

libacl_audio_mpi.so

Media data processing V2

acl/media/hi_acodec.h

Declares the volume adjusting command word.

-

Media data processing V2

In the acl/media directory:

hi_common_vo.h

hi_mpi_vo.h

Declares the video output APIs.

libacl_vo_mpi.so

Media data processing V2

acl/media/hi_mpi_hdmi.h

Declares the HDMI APIs for connecting to peripherals.

libacl_hdmi_mpi.so

Media data processing V2

acl/media/hi_mpi_tde.h

Declares the TDE APIs for graphics drawing.

libacl_tde_mpi.so

Media data processing V2

acl/media/hifb.h

Declares APIs for managing overlaid graphics layers.

-

Media data processing V1

acl/ops/acl_dvpp.h

Declares the media data processing V1 APIs.

libacl_dvpp.so