MPP System Control Module User Guide /V1.0 Nulllindeni Nulllindeni Nulllindeni Nulllindeni Nulllindeni Nulllindeni Nulllindeni Nulllindeni
Total Page:16
File Type:pdf, Size:1020Kb
nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni MPP System Control Module User Guide /V1.0 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni Document version:V1.0 Release Date:2017.4.13 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni Copyright © Zhuhai Allwinner Technology Co., Ltd. 2018. All rights reserved. No part or all of the contents of this document may be copied or reproduced without the written permission of the company, and may not be used.What form of communication. nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni Trademark statement 、Allwinner and other Allwinner trademarks are trademarks of Zhuhai Allwinner Technology Co., Ltd.All other trademarks or registered trademarks mentioned in this document are the property of their respective owners. Note The products, services or features you purchase are subject to the terms and conditions of the company and all or part of the products, services or features described in this document may not be covered by your purchase or use. Unless otherwise agreed by the contract, Allwinner Company makes no representations or warranties, nulllindeni expressnulllindenior implied, regarnulllindeniding the contentsnulllindeniof this document.nulllindeni nulllindeni nulllindeni nulllindeni The contents of this document may be updated from time to time due to product version upgrades or other reasons. Unless otherwise agreed, this document is provided as a guide only, and all statements, information, and recommendations in this document are not warranties of any kind, express or implied. nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni MPP System Control Module User Guide About this document About this document Overview nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni Product Version Product name Product version Intended audience nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni This document is primarily intended for the following engineers: Electronic product development staff Modify History Version No Modify Date Modify Contents V1.0 2019-07-15 First released nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni 版权所有 侵权必究 Copyright © by Allwinner. All rights reserved i nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni MPP System Control Module User Guide Content Content 1. System Control.......................................................................................................................................1 nulllindeni nulllindeni1.1. Overview...nulllindeni............................nulllindeni............................nulllindeni.............................nulllindeni............................nulllindeni.................1 nulllindeni 1.2. Function Description.................................................................................................................. 1 1.2.1. Status................................................................................................................................1 1.2.2. System Binding................................................................................................................1 1.2.3. Data Transfer Mode of Component Port......................................................................... 2 1.2.4. Media Memory Allocation...............................................................................................5 1.3. API Reference............................................................................................................................. 5 1.3.1. AW_MPI_SYS_Init......................................................................................................... 5 1.3.2. AW_MPI_SYS_Exit........................................................................................................6 1.3.3. AW_MPI_SYS_SetConf..................................................................................................6 1.3.4. AW_MPI_SYS_GetConf.................................................................................................7 1.3.5. AW_MPI_SYS_Bind.......................................................................................................8 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni 1.3.6. AW_MPI_SYS_UnBind..................................................................................................8 1.3.7. AW_MPI_SYS_GetBindbyDest......................................................................................9 1.3.8. AW_MPI_SYS_GetVersion.............................................................................................9 1.3.9. AW_MPI_SYS_GetCurPts............................................................................................10 1.3.10. AW_MPI_SYS_InitPtsBase........................................................................................ 10 1.3.11. AW_MPI_SYS_SyncPts..............................................................................................11 1.3.12. AW_MPI_SYS_MmzAlloc_Cached........................................................................... 11 1.3.13. AW_MPI_SYS_MmzFree...........................................................................................12 1.3.14. AW_MPI_SYS_MmzFlushCache............................................................................... 13 1.3.15. AW_MPI_SYS_Mmap................................................................................................ 13 1.3.16. AW_MPI_SYS_Munmap............................................................................................ 14 nulllindeni nulllindeni1.3.17. AWnulllindeni_MPI_SYS_SetRnulllindenieg........................nulllindeni............................nulllindeni.............................nulllindeni.............. 14 nulllindeni 1.3.18. AW_MPI_SYS_GetReg.............................................................................................. 15 1.3.19. AW_MPI_SYS_SetProfile...........................................................................................16 1.3.20. AW_MPI_SYS_GetVirMemInfo.................................................................................16 1.3.21. AW_MPI_SYS_HANDLE_ZERO..............................................................................17 1.3.22. AW_MPI_SYS_HANDLE_SET.................................................................................17 1.3.23. AW_MPI_SYS_HANDLE_ISSET............................................................................. 18 1.3.24. AW_MPI_SYS_HANDLE_Select.............................................................................. 19 1.4. Data Type.................................................................................................................................. 19 版权所有 侵权必究 Copyright © by Allwinner. All rights reserved ii nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni MPP System Control Module User Guide Content 1.5. Error Code.................................................................................................................................19 2. Shorthand............................................................................................................................................. 21 3. Declaration...........................................................................................................................................32 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni 版权所有 侵权必究 Copyright © by Allwinner. All rights reserved iii nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni MPP System Control Module User Guide 1 System Control 1. System Control nulllindeni 1.1. Onulllindeniverview nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni The MPP system control module completes the resetting and basic initialization of each hardware component according to the characteristics of the chip, and it is responsible for completing the initialization, de-initialization, and management status of various service modules of the MPP system and providing version information of the current MPP system, etc. Before the application starts the MPP service, the MPP system initialization must be completed. Similarly, after the application exits the MPP service, it also needs to complete the de-initialize of the MPP system and release the resources. 1.2. Function Description (1) Initialize the environment of the MPP component, and complete the initial configuration of hardware devices such as audio input and output, video input and output. nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni (2) Provide an interface to bind components. (3) Provide an interface for media memory allocation, release, and query. 1.2.1. Status