项目介绍
上海海思媒体软件开发包用于适配不同芯片复杂的底层处理,为“媒体子系统”提供基础的多媒体处理功能。主要功能有:音视频采集、音视频编解码、音视频输出、视频前处理、封装、解封装、文件管理、存储管理、日志系统等。该软件包功能对应"媒体子系统"框架中红色框标注部分,如图1所示。
上海海思媒体软件开发包所在的目录为vendor\hisi\hi35xx,子目录结构如以下7个表所示:
表 1 hardware目录结构
表 2 hi35xx_init目录结构
表 3 hi3516dv300目录结构
表 4 hi3518ev300目录结构
表 5 middleware目录结构
表 6 platform目录结构
表 7 third_party目录结构
当前支持Hi3518EV300、Hi3516DV300芯片。
-
hi35xx\hi3516dv300\module_init\lib和hi35xx\hi3516dv300\soc\lib里面为上海海思的自研库,遵循End User License Agreement,这两个目录下均有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为上海海思的二进制文件,遵循End User License Agreement,该目录下有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。
-
hi35xx\hi3518ev300\module_init\lib和hi35xx\hi3518ev300\soc\lib里面为上海海思的自研库,遵循End User License Agreement,这两个目录下均有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为上海海思的二进制文件,遵循End User License Agreement,该目录下有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。
hi35xx\third_party\uboot\u-boot-2020.01为uboot开源代码,遵循软件版本自带的开源许可声明,具体请参看hi35xx\third_party\uboot\u-boot-2020.01\Licenses目录下的README。