# Hi3518ev300介绍 项目介绍 ## 简介 海思(上海)媒体软件开发包用于适配不同芯片复杂的底层处理,为“媒体子系统”提供基础的多媒体处理功能。主要功能有:音视频采集、音视频编解码、音视频输出、视频前处理、封装、解封装、文件管理、存储管理、日志系统等。该软件包功能对应"媒体子系统"框架中红色框标注部分,如图1所示。所对应的目录为:vendor\\hisi\\hi35xx。 **图 1** 多媒体子系统框架图 ![](http://tools.harmonyos.com/mirrors/hpm-image/hi3518ev300_uboot_README/figures/多媒体子系统框架图.png "多媒体子系统框架图") ## 目录 海思(上海)媒体软件开发包目录结构如表1所示: **表 1** hardware目录结构

名称

描述

hi35xx\hardware

媒体南向接口实现、框架及芯片对接层库目录

**表 2** hi35xx\_init目录结构

名称

描述

hi35xx\hi35xx_init\hi3516dv300

编译打包16dv300内核镜像的编译脚本

hi35xx\hi35xx_init\hi3518ev300

编译打包18ev300内核镜像的编译脚本

**表 3** hi3516dv300目录结构

名称

描述

hi35xx\hi3516dv300

Hi3516DV300芯片驱动软件,包括:媒体驱动子目录、媒体用户态库子目录、uboot的差异化内容目录、NOTICE文件

hi35xx\hi3516dv300\module_init\lib

Hi3516DV300芯片媒体各模块驱动对应的库、LICENSE文件

hi35xx\hi3516dv300\module_init\src

内核驱动初始化源代码、LICENSE文件

hi35xx\hi3516dv300\soc\lib

Hi3516DV300芯片的媒体库文件、LICENSE文件

hi35xx\hi3516dv300\uboot\out\boot

采用hi35xx\third_party\uboot\u-boot-2020.01和hi35xx\hi3516dv300\uboot\reg\reg_info_hi3516dv300.bin编译成的uboot、README文件

hi35xx\hi3516dv300\uboot\reg

uboot配置文件、LICENSE文件

hi35xx\hi3516dv300\uboot\secureboot_ohos

鸿蒙OS安全启动相关的编译脚本

hi35xx\hi3516dv300\uboot\secureboot_release

生成安全uboot的源代码、License目录

**表 4** hi3518ev300目录结构

名称

描述

hi35xx\hi3518ev300

Hi3518EV300芯片驱动软件,包括:媒体驱动子目录、媒体用户态库子目录、uboot的差异化内容目录、NOTICE文件

hi35xx\hi3518ev300\module_init\lib

Hi3518EV300芯片媒体各模块驱动对应的库、LICENSE文件

hi35xx\hi3518ev300\module_init\src

内核驱动初始化源代码、LICENSE文件

hi35xx\hi3518ev300\soc\lib

Hi3518EV300芯片的媒体库文件、LICENSE文件

hi35xx\hi3518ev300\uboot\out\boot

采用hi35xx\third_party\uboot\u-boot-2020.01和hi35xx\hi3518ev300\uboot\reg\reg_info_hi3518ev300.bin编译成的uboot、README文件

hi35xx\hi3518ev300\uboot\reg

uboot配置文件、LICENSE文件

hi35xx\hi3518ev300\uboot\secureboot_ohos

鸿蒙OS安全启动相关的编译脚本

hi35xx\hi3518ev300\uboot\secureboot_release

生成安全uboot的源代码、License目录

**表 5** middleware目录结构

名称

描述

hi35xx\middleware\source\common

南向组件公共模块库目录

hi35xx\middleware\source\component

南向组件非公共模块库目录

hi35xx\middleware\source\thirdparty

南向插件依赖第三方开源软件目录

**表 6** platform目录结构

名称

描述

hi35xx\platform

hi35xx平台驱动

**表 7** third\_party目录结构

名称

描述

hi35xx\third_party\uboot\u-boot-2020.01

uboot开源代码

## 约束 当前支持Hi3518EV300、Hi3516DV300芯片。 ## 许可协议 ## hi3516dv300许可说明 - hi35xx\\hi3516dv300\\module\_init\\lib和hi35xx\\hi3516dv300\\soc\\lib里面为海思(上海)的自研库,遵循海思(上海)的LICENSE,这两个目录下均有LICENSE文件,LICENSE文件结尾可以看到版权信息: ``` Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved. ``` - hi35xx\\hi3516dv300\\module\_init\\src目录下为海思(上海)自研代码,使用基于Apache License Version 2.0许可的Hisilicon \(Shanghai\) 版权声明,在该目录下有Apache License Version 2.0的LICENSE文件,许可信息和版权信息通常可以在文件开头看到: ``` / *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. Licensed under the Apache License,* ... * / ``` - hi35xx\\hi3516dv300\\uboot\\reg为海思(上海)的二进制文件,遵循海思(上海)的LICENSE,该目录下有LICENSE文件,LICENSE文件结尾可以看到: ``` Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved. ``` - hi35xx\\hi3516dv300\\uboot\\out\\boot是由u-boot-2020.01和reg\_info\_hi3516dv300.bin编译成的uboot二进制文件,完全遵从u-boot-2020.01的整体协议,具体请参看hi35xx\\third\_party\\uboot\\u-boot-2020.01\\Licenses目录下的README。 - hi35xx\\hi3516dv300\\uboot\\secureboot\_release为安全uboot的开源代码,其中自研的部分使用基于GPL许可的Hisilicon \(Shanghai\) 版权声明,在该目录下有License目录,许可信息和版权信息通常可以在文件开头看到: ``` / *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * ... * / ``` - hi35xx\\hi3516dv300\\NOTICE文件描述了使用到的三款开源软件:Das U-Boot 2020.01、mbed TLS 2.16.6、fdk-aac v2.0.1。 ## hi3518ev300许可说明 - hi35xx\\hi3518ev300\\module\_init\\lib和hi35xx\\hi3518ev300\\soc\\lib里面为海思(上海)的自研库,遵循海思(上海)的LICENSE,这两个目录下均有LICENSE文件,LICENSE文件结尾可以看到版权信息: ``` Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved. ``` - hi35xx\\hi3518ev300\\module\_init\\src目录下为海思(上海)自研代码,使用基于Apache License Version 2.0许可的Hisilicon \(Shanghai\) 版权声明,在该目录下有Apache License Version 2.0的LICENSE文件,许可信息和版权信息通常可以在文件开头看到: ``` / *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. Licensed under the Apache License,* ... * / ``` - hi35xx\\hi3518ev300\\uboot\\reg为海思(上海)的二进制文件,遵循海思(上海)的LICENSE,该目录下有LICENSE文件,LICENSE文件结尾可以看到: ``` Copyright (C) 2020 Hisilicon (Shanghai) Technologies Co., Ltd. All rights reserved. ``` - hi35xx\\hi3518ev300\\uboot\\out\\boot是由u-boot-2020.01和reg\_info\_hi3518ev300.bin编译成的uboot二进制文件,完全遵从u-boot-2020.01的整体协议,具体请参看hi35xx\\third\_party\\uboot\\u-boot-2020.01\\Licenses目录下的README。 - hi35xx\\hi3518ev300\\uboot\\secureboot\_release为安全uboot的开源代码,其中自研的部分使用基于GPL许可的Hisilicon \(Shanghai\) 版权声明,在该目录下有License目录,许可信息和版权信息通常可以在文件开头看到: ``` / *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * ... * / ``` - hi35xx\\hi3518ev300\\NOTICE文件描述了使用到的三款开源软件:Das U-Boot 2020.01、mbed TLS 2.16.6、fdk-aac v2.0.1。 ## third\_party许可说明 hi35xx\\third\_party\\uboot\\u-boot-2020.01为uboot开源代码,遵循软件版本自带的开源许可声明,具体请参看hi35xx\\third\_party\\uboot\\u-boot-2020.01\\Licenses目录下的README。