multimedia/device/mpp/sample
a74589669 c3baada6e9 应对oom,使用静态分配的内存,降低码率 2019-09-29 00:55:18 +08:00
..
audio 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
common 应对oom,使用静态分配的内存,降低码率 2019-09-29 00:55:18 +08:00
hifb 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
hisi_rtsp_demo-master 整合rtp推流的代码 2019-09-18 03:24:46 +08:00
ive 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
region 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
scene_auto 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
tde 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
venc 应对oom,使用静态分配的内存,降低码率 2019-09-29 00:55:18 +08:00
vio 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
Makefile 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
Makefile.param 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00
readme 添加3518 开发板 例子代码 用于二次开发 2019-09-10 01:17:53 +08:00

readme

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

Usage Descriptions of the HiSilicon Hi3518 Sample Programs

1. Sample Program File Structure
   sample            # MPP sample program
    |-- common       # Common function used by the sample program
    |-- vio          # Video input/output implementation demo
    |-- venc         # Video encoding implementation demo
    |-- region       # Region implementation demo
    |-- vda          # Video detection analysis (VDA) implementation demo
    |-- audio        # Audio implementation demo
    |-- hifb         # Frame buffer (FB) implementation demo
    |-- tde          # TDE implementation demo
    |-- ......    


2. Compilation and Makefile
   1) Compilation dependency descriptions
   The compilation of the sample programs depends on MPP header files in /mpp/include and library files in mpp/lib.
   
   2) Makefile descriptions    
   A Makefile is available on each service sample demo module (such as the vio and venc). The Makefile quotes the Makefile.param file in the sample directory, and this file quotes the Makefile.param file in the mpp directory.
   mpp -- Makefile.param                 # Defines the variables required by the MPP compilation.
    |---sample---Makefile.param          # Defines the variables required by the sample compilation.
          |--- vio/venc/...---Makefile   # Sample compilation script

   Run the make command on each service sample demo module to compile the module; run the make clean command to delete the executable files and target files after compilation; run the make cleanstream command to delete stream files generated after some of the sample programs run. 

   Run the make command in the sample directory to compile various service sample demo programs; run the make clean command to delete the executable files and target files after all service sample demo programs are compiled; run the make cleanall command to delete stream files generated after all service sample demo programs run.

3. Running Descriptions of Sample Programs
   1) Sample program running depends on the media driver. Before running a sample demo program, execute the load3518 script in the mpp/ko_hi3518 to load a specified module.
   
   2) Note that the corresponding sensor library must be selected. The default sensor is Aptina AR0130. If you want to select other sensors, modify the Makefile.param file. For example, if you select Sony IMX104, you should modify the Makefile.param file as follows:
   		#SENSOR_TYPE ?= APTINA_AR0130_DC_720P_30FPS
	 	SENSOR_TYPE ?= SONY_IMX104_DC_720P_30FPS

4. Change History
   1) 2012-07 This document was created.
   2) 2012-11-26 Descriptions of sensor library selection were added.


5. Copyright
Copyright © HiSilicon Technologies Co., Ltd. 2012. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of HiSiliconTechnologies Co., Ltd. The sample programs are only used as user guides. All statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied.


-------------------------------------------------------------------------------
HiSilicon Technologies Co., Ltd.
Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China
Website: http://www.hisilicon.comEmail: support@hisilicon.com