18d6344f9Sopenharmony_ciOPEN SOURCE SOFTWARE NOTICE 28d6344f9Sopenharmony_ci 38d6344f9Sopenharmony_ciPlease note we provide an open source software notice for the third party open source software along with this software and/or this software component (in the following just “this SOFTWARE”). The open source software licenses are granted by the respective right holders. 48d6344f9Sopenharmony_ci 58d6344f9Sopenharmony_ciWarranty Disclaimer 68d6344f9Sopenharmony_ciTHE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. 78d6344f9Sopenharmony_ci 88d6344f9Sopenharmony_ciCopyright Notice and License Texts 98d6344f9Sopenharmony_ci 108d6344f9Sopenharmony_ci---------------------------------------------------------------------- 118d6344f9Sopenharmony_ciSoftware: hdf audio driver 128d6344f9Sopenharmony_ci 138d6344f9Sopenharmony_ciCopyright notice: 148d6344f9Sopenharmony_ciCopyright (c) 2022 Huawei Device Co., Ltd. 158d6344f9Sopenharmony_ciCopyright (c) 2022 Institute of Software, CAS. 168d6344f9Sopenharmony_ciCopyright (c) 2021 Rockchip Electronics Co., Ltd. 178d6344f9Sopenharmony_ciCopyright (C) 2022 HiHope Open Source Organization . 188d6344f9Sopenharmony_ci 198d6344f9Sopenharmony_ciLicense:Apache License V2.0 208d6344f9Sopenharmony_ciLicensed under the Apache License, Version 2.0 (the "License"); 218d6344f9Sopenharmony_ciyou may not use this file except in compliance with the License. 228d6344f9Sopenharmony_ciYou may obtain a copy of the License at: 238d6344f9Sopenharmony_ci 248d6344f9Sopenharmony_ci http://www.apache.org/licenses/LICENSE-2.0 258d6344f9Sopenharmony_ci 268d6344f9Sopenharmony_ciUnless required by applicable law or agreed to in writing, software 278d6344f9Sopenharmony_cidistributed under the License is distributed on an "AS IS" BASIS, 288d6344f9Sopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 298d6344f9Sopenharmony_ciSee the License for the specific language governing permissions and 308d6344f9Sopenharmony_cilimitations under the License. 318d6344f9Sopenharmony_ci 328d6344f9Sopenharmony_ci---------------------------------------------------------------------- 338d6344f9Sopenharmony_ciSoftware: hdf audio driver 348d6344f9Sopenharmony_ci 358d6344f9Sopenharmony_ciCopyright notice: 368d6344f9Sopenharmony_ciCopyright (c) 2021 Rockchip Electronics Co., Ltd. 378d6344f9Sopenharmony_ci 388d6344f9Sopenharmony_ciLicense:GNU GENERAL PUBLIC LICENSE 398d6344f9Sopenharmony_ciGNU GENERAL PUBLIC LICENSE 408d6344f9Sopenharmony_ciVersion 2, June 1991 418d6344f9Sopenharmony_ci 428d6344f9Sopenharmony_ciCopyright (C) 1989, 1991 Free Software Foundation, Inc., 438d6344f9Sopenharmony_ci51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 448d6344f9Sopenharmony_ciEveryone is permitted to copy and distribute verbatim copies 458d6344f9Sopenharmony_ciof this license document, but changing it is not allowed. 468d6344f9Sopenharmony_ci 478d6344f9Sopenharmony_ci Preamble 488d6344f9Sopenharmony_ci 498d6344f9Sopenharmony_ciThe licenses for most software are designed to take away your 508d6344f9Sopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 518d6344f9Sopenharmony_ciLicense is intended to guarantee your freedom to share and change free 528d6344f9Sopenharmony_cisoftware--to make sure the software is free for all its users. This 538d6344f9Sopenharmony_ciGeneral Public License applies to most of the Free Software 548d6344f9Sopenharmony_ciFoundation's software and to any other program whose authors commit to 558d6344f9Sopenharmony_ciusing it. (Some other Free Software Foundation software is covered by 568d6344f9Sopenharmony_cithe GNU Lesser General Public License instead.) You can apply it to 578d6344f9Sopenharmony_ciyour programs, too. 588d6344f9Sopenharmony_ci 598d6344f9Sopenharmony_ciWhen we speak of free software, we are referring to freedom, not 608d6344f9Sopenharmony_ciprice. Our General Public Licenses are designed to make sure that you 618d6344f9Sopenharmony_cihave the freedom to distribute copies of free software (and charge for 628d6344f9Sopenharmony_cithis service if you wish), that you receive source code or can get it 638d6344f9Sopenharmony_ciif you want it, that you can change the software or use pieces of it 648d6344f9Sopenharmony_ciin new free programs; and that you know you can do these things. 658d6344f9Sopenharmony_ci 668d6344f9Sopenharmony_ciTo protect your rights, we need to make restrictions that forbid 678d6344f9Sopenharmony_cianyone to deny you these rights or to ask you to surrender the rights. 688d6344f9Sopenharmony_ciThese restrictions translate to certain responsibilities for you if you 698d6344f9Sopenharmony_cidistribute copies of the software, or if you modify it. 708d6344f9Sopenharmony_ci 718d6344f9Sopenharmony_ciFor example, if you distribute copies of such a program, whether 728d6344f9Sopenharmony_cigratis or for a fee, you must give the recipients all the rights that 738d6344f9Sopenharmony_ciyou have. You must make sure that they, too, receive or can get the 748d6344f9Sopenharmony_cisource code. And you must show them these terms so they know their 758d6344f9Sopenharmony_cirights. 768d6344f9Sopenharmony_ci 778d6344f9Sopenharmony_ciWe protect your rights with two steps: (1) copyright the software, and 788d6344f9Sopenharmony_ci(2) offer you this license which gives you legal permission to copy, 798d6344f9Sopenharmony_cidistribute and/or modify the software. 808d6344f9Sopenharmony_ci 818d6344f9Sopenharmony_ciAlso, for each author's protection and ours, we want to make certain 828d6344f9Sopenharmony_cithat everyone understands that there is no warranty for this free 838d6344f9Sopenharmony_cisoftware. If the software is modified by someone else and passed on, we 848d6344f9Sopenharmony_ciwant its recipients to know that what they have is not the original, so 858d6344f9Sopenharmony_cithat any problems introduced by others will not reflect on the original 868d6344f9Sopenharmony_ciauthors' reputations. 878d6344f9Sopenharmony_ci 888d6344f9Sopenharmony_ciFinally, any free program is threatened constantly by software 898d6344f9Sopenharmony_cipatents. We wish to avoid the danger that redistributors of a free 908d6344f9Sopenharmony_ciprogram will individually obtain patent licenses, in effect making the 918d6344f9Sopenharmony_ciprogram proprietary. To prevent this, we have made it clear that any 928d6344f9Sopenharmony_cipatent must be licensed for everyone's free use or not licensed at all. 938d6344f9Sopenharmony_ci 948d6344f9Sopenharmony_ciThe precise terms and conditions for copying, distribution and 958d6344f9Sopenharmony_cimodification follow. 968d6344f9Sopenharmony_ci 978d6344f9Sopenharmony_ci GNU GENERAL PUBLIC LICENSE 988d6344f9Sopenharmony_ciTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 998d6344f9Sopenharmony_ci 1008d6344f9Sopenharmony_ci0. This License applies to any program or other work which contains 1018d6344f9Sopenharmony_cia notice placed by the copyright holder saying it may be distributed 1028d6344f9Sopenharmony_ciunder the terms of this General Public License. The "Program", below, 1038d6344f9Sopenharmony_cirefers to any such program or work, and a "work based on the Program" 1048d6344f9Sopenharmony_cimeans either the Program or any derivative work under copyright law: 1058d6344f9Sopenharmony_cithat is to say, a work containing the Program or a portion of it, 1068d6344f9Sopenharmony_cieither verbatim or with modifications and/or translated into another 1078d6344f9Sopenharmony_cilanguage. (Hereinafter, translation is included without limitation in 1088d6344f9Sopenharmony_cithe term "modification".) Each licensee is addressed as "you". 1098d6344f9Sopenharmony_ci 1108d6344f9Sopenharmony_ciActivities other than copying, distribution and modification are not 1118d6344f9Sopenharmony_cicovered by this License; they are outside its scope. The act of 1128d6344f9Sopenharmony_cirunning the Program is not restricted, and the output from the Program 1138d6344f9Sopenharmony_ciis covered only if its contents constitute a work based on the 1148d6344f9Sopenharmony_ciProgram (independent of having been made by running the Program). 1158d6344f9Sopenharmony_ciWhether that is true depends on what the Program does. 1168d6344f9Sopenharmony_ci 1178d6344f9Sopenharmony_ci1. You may copy and distribute verbatim copies of the Program's 1188d6344f9Sopenharmony_cisource code as you receive it, in any medium, provided that you 1198d6344f9Sopenharmony_ciconspicuously and appropriately publish on each copy an appropriate 1208d6344f9Sopenharmony_cicopyright notice and disclaimer of warranty; keep intact all the 1218d6344f9Sopenharmony_cinotices that refer to this License and to the absence of any warranty; 1228d6344f9Sopenharmony_ciand give any other recipients of the Program a copy of this License 1238d6344f9Sopenharmony_cialong with the Program. 1248d6344f9Sopenharmony_ci 1258d6344f9Sopenharmony_ciYou may charge a fee for the physical act of transferring a copy, and 1268d6344f9Sopenharmony_ciyou may at your option offer warranty protection in exchange for a fee. 1278d6344f9Sopenharmony_ci 1288d6344f9Sopenharmony_ci2. You may modify your copy or copies of the Program or any portion 1298d6344f9Sopenharmony_ciof it, thus forming a work based on the Program, and copy and 1308d6344f9Sopenharmony_cidistribute such modifications or work under the terms of Section 1 1318d6344f9Sopenharmony_ciabove, provided that you also meet all of these conditions: 1328d6344f9Sopenharmony_ci 1338d6344f9Sopenharmony_cia) You must cause the modified files to carry prominent notices 1348d6344f9Sopenharmony_cistating that you changed the files and the date of any change. 1358d6344f9Sopenharmony_ci 1368d6344f9Sopenharmony_cib) You must cause any work that you distribute or publish, that in 1378d6344f9Sopenharmony_ciwhole or in part contains or is derived from the Program or any 1388d6344f9Sopenharmony_cipart thereof, to be licensed as a whole at no charge to all third 1398d6344f9Sopenharmony_ciparties under the terms of this License. 1408d6344f9Sopenharmony_ci 1418d6344f9Sopenharmony_cic) If the modified program normally reads commands interactively 1428d6344f9Sopenharmony_ciwhen run, you must cause it, when started running for such 1438d6344f9Sopenharmony_ciinteractive use in the most ordinary way, to print or display an 1448d6344f9Sopenharmony_ciannouncement including an appropriate copyright notice and a 1458d6344f9Sopenharmony_cinotice that there is no warranty (or else, saying that you provide 1468d6344f9Sopenharmony_cia warranty) and that users may redistribute the program under 1478d6344f9Sopenharmony_cithese conditions, and telling the user how to view a copy of this 1488d6344f9Sopenharmony_ciLicense. (Exception: if the Program itself is interactive but 1498d6344f9Sopenharmony_cidoes not normally print such an announcement, your work based on 1508d6344f9Sopenharmony_cithe Program is not required to print an announcement.) 1518d6344f9Sopenharmony_ci 1528d6344f9Sopenharmony_ciThese requirements apply to the modified work as a whole. If 1538d6344f9Sopenharmony_ciidentifiable sections of that work are not derived from the Program, 1548d6344f9Sopenharmony_ciand can be reasonably considered independent and separate works in 1558d6344f9Sopenharmony_cithemselves, then this License, and its terms, do not apply to those 1568d6344f9Sopenharmony_cisections when you distribute them as separate works. But when you 1578d6344f9Sopenharmony_cidistribute the same sections as part of a whole which is a work based 1588d6344f9Sopenharmony_cion the Program, the distribution of the whole must be on the terms of 1598d6344f9Sopenharmony_cithis License, whose permissions for other licensees extend to the 1608d6344f9Sopenharmony_cientire whole, and thus to each and every part regardless of who wrote it. 1618d6344f9Sopenharmony_ci 1628d6344f9Sopenharmony_ciThus, it is not the intent of this section to claim rights or contest 1638d6344f9Sopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 1648d6344f9Sopenharmony_ciexercise the right to control the distribution of derivative or 1658d6344f9Sopenharmony_cicollective works based on the Program. 1668d6344f9Sopenharmony_ci 1678d6344f9Sopenharmony_ciIn addition, mere aggregation of another work not based on the Program 1688d6344f9Sopenharmony_ciwith the Program (or with a work based on the Program) on a volume of 1698d6344f9Sopenharmony_cia storage or distribution medium does not bring the other work under 1708d6344f9Sopenharmony_cithe scope of this License. 1718d6344f9Sopenharmony_ci 1728d6344f9Sopenharmony_ci3. You may copy and distribute the Program (or a work based on it, 1738d6344f9Sopenharmony_ciunder Section 2) in object code or executable form under the terms of 1748d6344f9Sopenharmony_ciSections 1 and 2 above provided that you also do one of the following: 1758d6344f9Sopenharmony_ci 1768d6344f9Sopenharmony_cia) Accompany it with the complete corresponding machine-readable 1778d6344f9Sopenharmony_cisource code, which must be distributed under the terms of Sections 1788d6344f9Sopenharmony_ci1 and 2 above on a medium customarily used for software interchange; or, 1798d6344f9Sopenharmony_ci 1808d6344f9Sopenharmony_cib) Accompany it with a written offer, valid for at least three 1818d6344f9Sopenharmony_ciyears, to give any third party, for a charge no more than your 1828d6344f9Sopenharmony_cicost of physically performing source distribution, a complete 1838d6344f9Sopenharmony_cimachine-readable copy of the corresponding source code, to be 1848d6344f9Sopenharmony_cidistributed under the terms of Sections 1 and 2 above on a medium 1858d6344f9Sopenharmony_cicustomarily used for software interchange; or, 1868d6344f9Sopenharmony_ci 1878d6344f9Sopenharmony_cic) Accompany it with the information you received as to the offer 1888d6344f9Sopenharmony_cito distribute corresponding source code. (This alternative is 1898d6344f9Sopenharmony_ciallowed only for noncommercial distribution and only if you 1908d6344f9Sopenharmony_cireceived the program in object code or executable form with such 1918d6344f9Sopenharmony_cian offer, in accord with Subsection b above.) 1928d6344f9Sopenharmony_ci 1938d6344f9Sopenharmony_ciThe source code for a work means the preferred form of the work for 1948d6344f9Sopenharmony_cimaking modifications to it. For an executable work, complete source 1958d6344f9Sopenharmony_cicode means all the source code for all modules it contains, plus any 1968d6344f9Sopenharmony_ciassociated interface definition files, plus the scripts used to 1978d6344f9Sopenharmony_cicontrol compilation and installation of the executable. However, as a 1988d6344f9Sopenharmony_cispecial exception, the source code distributed need not include 1998d6344f9Sopenharmony_cianything that is normally distributed (in either source or binary 2008d6344f9Sopenharmony_ciform) with the major components (compiler, kernel, and so on) of the 2018d6344f9Sopenharmony_cioperating system on which the executable runs, unless that component 2028d6344f9Sopenharmony_ciitself accompanies the executable. 2038d6344f9Sopenharmony_ci 2048d6344f9Sopenharmony_ciIf distribution of executable or object code is made by offering 2058d6344f9Sopenharmony_ciaccess to copy from a designated place, then offering equivalent 2068d6344f9Sopenharmony_ciaccess to copy the source code from the same place counts as 2078d6344f9Sopenharmony_cidistribution of the source code, even though third parties are not 2088d6344f9Sopenharmony_cicompelled to copy the source along with the object code. 2098d6344f9Sopenharmony_ci 2108d6344f9Sopenharmony_ci4. You may not copy, modify, sublicense, or distribute the Program 2118d6344f9Sopenharmony_ciexcept as expressly provided under this License. Any attempt 2128d6344f9Sopenharmony_ciotherwise to copy, modify, sublicense or distribute the Program is 2138d6344f9Sopenharmony_civoid, and will automatically terminate your rights under this License. 2148d6344f9Sopenharmony_ciHowever, parties who have received copies, or rights, from you under 2158d6344f9Sopenharmony_cithis License will not have their licenses terminated so long as such 2168d6344f9Sopenharmony_ciparties remain in full compliance. 2178d6344f9Sopenharmony_ci 2188d6344f9Sopenharmony_ci5. You are not required to accept this License, since you have not 2198d6344f9Sopenharmony_cisigned it. However, nothing else grants you permission to modify or 2208d6344f9Sopenharmony_cidistribute the Program or its derivative works. These actions are 2218d6344f9Sopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 2228d6344f9Sopenharmony_cimodifying or distributing the Program (or any work based on the 2238d6344f9Sopenharmony_ciProgram), you indicate your acceptance of this License to do so, and 2248d6344f9Sopenharmony_ciall its terms and conditions for copying, distributing or modifying 2258d6344f9Sopenharmony_cithe Program or works based on it. 2268d6344f9Sopenharmony_ci 2278d6344f9Sopenharmony_ci6. Each time you redistribute the Program (or any work based on the 2288d6344f9Sopenharmony_ciProgram), the recipient automatically receives a license from the 2298d6344f9Sopenharmony_cioriginal licensor to copy, distribute or modify the Program subject to 2308d6344f9Sopenharmony_cithese terms and conditions. You may not impose any further 2318d6344f9Sopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 2328d6344f9Sopenharmony_ciYou are not responsible for enforcing compliance by third parties to 2338d6344f9Sopenharmony_cithis License. 2348d6344f9Sopenharmony_ci 2358d6344f9Sopenharmony_ci7. If, as a consequence of a court judgment or allegation of patent 2368d6344f9Sopenharmony_ciinfringement or for any other reason (not limited to patent issues), 2378d6344f9Sopenharmony_ciconditions are imposed on you (whether by court order, agreement or 2388d6344f9Sopenharmony_ciotherwise) that contradict the conditions of this License, they do not 2398d6344f9Sopenharmony_ciexcuse you from the conditions of this License. If you cannot 2408d6344f9Sopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 2418d6344f9Sopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 2428d6344f9Sopenharmony_cimay not distribute the Program at all. For example, if a patent 2438d6344f9Sopenharmony_cilicense would not permit royalty-free redistribution of the Program by 2448d6344f9Sopenharmony_ciall those who receive copies directly or indirectly through you, then 2458d6344f9Sopenharmony_cithe only way you could satisfy both it and this License would be to 2468d6344f9Sopenharmony_cirefrain entirely from distribution of the Program. 2478d6344f9Sopenharmony_ci 2488d6344f9Sopenharmony_ciIf any portion of this section is held invalid or unenforceable under 2498d6344f9Sopenharmony_ciany particular circumstance, the balance of the section is intended to 2508d6344f9Sopenharmony_ciapply and the section as a whole is intended to apply in other 2518d6344f9Sopenharmony_cicircumstances. 2528d6344f9Sopenharmony_ci 2538d6344f9Sopenharmony_ciIt is not the purpose of this section to induce you to infringe any 2548d6344f9Sopenharmony_cipatents or other property right claims or to contest validity of any 2558d6344f9Sopenharmony_cisuch claims; this section has the sole purpose of protecting the 2568d6344f9Sopenharmony_ciintegrity of the free software distribution system, which is 2578d6344f9Sopenharmony_ciimplemented by public license practices. Many people have made 2588d6344f9Sopenharmony_cigenerous contributions to the wide range of software distributed 2598d6344f9Sopenharmony_cithrough that system in reliance on consistent application of that 2608d6344f9Sopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 2618d6344f9Sopenharmony_cito distribute software through any other system and a licensee cannot 2628d6344f9Sopenharmony_ciimpose that choice. 2638d6344f9Sopenharmony_ci 2648d6344f9Sopenharmony_ciThis section is intended to make thoroughly clear what is believed to 2658d6344f9Sopenharmony_cibe a consequence of the rest of this License. 2668d6344f9Sopenharmony_ci 2678d6344f9Sopenharmony_ci8. If the distribution and/or use of the Program is restricted in 2688d6344f9Sopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 2698d6344f9Sopenharmony_cioriginal copyright holder who places the Program under this License 2708d6344f9Sopenharmony_cimay add an explicit geographical distribution limitation excluding 2718d6344f9Sopenharmony_cithose countries, so that distribution is permitted only in or among 2728d6344f9Sopenharmony_cicountries not thus excluded. In such case, this License incorporates 2738d6344f9Sopenharmony_cithe limitation as if written in the body of this License. 2748d6344f9Sopenharmony_ci 2758d6344f9Sopenharmony_ci9. The Free Software Foundation may publish revised and/or new versions 2768d6344f9Sopenharmony_ciof the General Public License from time to time. Such new versions will 2778d6344f9Sopenharmony_cibe similar in spirit to the present version, but may differ in detail to 2788d6344f9Sopenharmony_ciaddress new problems or concerns. 2798d6344f9Sopenharmony_ci 2808d6344f9Sopenharmony_ciEach version is given a distinguishing version number. If the Program 2818d6344f9Sopenharmony_cispecifies a version number of this License which applies to it and "any 2828d6344f9Sopenharmony_cilater version", you have the option of following the terms and conditions 2838d6344f9Sopenharmony_cieither of that version or of any later version published by the Free 2848d6344f9Sopenharmony_ciSoftware Foundation. If the Program does not specify a version number of 2858d6344f9Sopenharmony_cithis License, you may choose any version ever published by the Free Software 2868d6344f9Sopenharmony_ciFoundation. 2878d6344f9Sopenharmony_ci 2888d6344f9Sopenharmony_ci10. If you wish to incorporate parts of the Program into other free 2898d6344f9Sopenharmony_ciprograms whose distribution conditions are different, write to the author 2908d6344f9Sopenharmony_cito ask for permission. For software which is copyrighted by the Free 2918d6344f9Sopenharmony_ciSoftware Foundation, write to the Free Software Foundation; we sometimes 2928d6344f9Sopenharmony_cimake exceptions for this. Our decision will be guided by the two goals 2938d6344f9Sopenharmony_ciof preserving the free status of all derivatives of our free software and 2948d6344f9Sopenharmony_ciof promoting the sharing and reuse of software generally. 2958d6344f9Sopenharmony_ci 2968d6344f9Sopenharmony_ci NO WARRANTY 2978d6344f9Sopenharmony_ci 2988d6344f9Sopenharmony_ci11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 2998d6344f9Sopenharmony_ciFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 3008d6344f9Sopenharmony_ciOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 3018d6344f9Sopenharmony_ciPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 3028d6344f9Sopenharmony_ciOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 3038d6344f9Sopenharmony_ciMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 3048d6344f9Sopenharmony_ciTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 3058d6344f9Sopenharmony_ciPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 3068d6344f9Sopenharmony_ciREPAIR OR CORRECTION. 3078d6344f9Sopenharmony_ci 3088d6344f9Sopenharmony_ci12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 3098d6344f9Sopenharmony_ciWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 3108d6344f9Sopenharmony_ciREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 3118d6344f9Sopenharmony_ciINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 3128d6344f9Sopenharmony_ciOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 3138d6344f9Sopenharmony_ciTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 3148d6344f9Sopenharmony_ciYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 3158d6344f9Sopenharmony_ciPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 3168d6344f9Sopenharmony_ciPOSSIBILITY OF SUCH DAMAGES. 3178d6344f9Sopenharmony_ci 3188d6344f9Sopenharmony_ci END OF TERMS AND CONDITIONS 3198d6344f9Sopenharmony_ci 3208d6344f9Sopenharmony_ci How to Apply These Terms to Your New Programs 3218d6344f9Sopenharmony_ci 3228d6344f9Sopenharmony_ciIf you develop a new program, and you want it to be of the greatest 3238d6344f9Sopenharmony_cipossible use to the public, the best way to achieve this is to make it 3248d6344f9Sopenharmony_cifree software which everyone can redistribute and change under these terms. 3258d6344f9Sopenharmony_ci 3268d6344f9Sopenharmony_ciTo do so, attach the following notices to the program. It is safest 3278d6344f9Sopenharmony_cito attach them to the start of each source file to most effectively 3288d6344f9Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least 3298d6344f9Sopenharmony_cithe "copyright" line and a pointer to where the full notice is found. 3308d6344f9Sopenharmony_ci 3318d6344f9Sopenharmony_ci<one line to give the program's name and a brief idea of what it does.> 3328d6344f9Sopenharmony_ciCopyright (C) <year> <name of author> 3338d6344f9Sopenharmony_ci 3348d6344f9Sopenharmony_ciThis program is free software; you can redistribute it and/or modify 3358d6344f9Sopenharmony_ciit under the terms of the GNU General Public License as published by 3368d6344f9Sopenharmony_cithe Free Software Foundation; either version 2 of the License, or 3378d6344f9Sopenharmony_ci(at your option) any later version. 3388d6344f9Sopenharmony_ci 3398d6344f9Sopenharmony_ciThis program is distributed in the hope that it will be useful, 3408d6344f9Sopenharmony_cibut WITHOUT ANY WARRANTY; without even the implied warranty of 3418d6344f9Sopenharmony_ciMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3428d6344f9Sopenharmony_ciGNU General Public License for more details. 3438d6344f9Sopenharmony_ci 3448d6344f9Sopenharmony_ciYou should have received a copy of the GNU General Public License along 3458d6344f9Sopenharmony_ciwith this program; if not, write to the Free Software Foundation, Inc., 3468d6344f9Sopenharmony_ci51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 3478d6344f9Sopenharmony_ci 3488d6344f9Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 3498d6344f9Sopenharmony_ci 3508d6344f9Sopenharmony_ciIf the program is interactive, make it output a short notice like this 3518d6344f9Sopenharmony_ciwhen it starts in an interactive mode: 3528d6344f9Sopenharmony_ci 3538d6344f9Sopenharmony_ciGnomovision version 69, Copyright (C) year name of author 3548d6344f9Sopenharmony_ciGnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 3558d6344f9Sopenharmony_ciThis is free software, and you are welcome to redistribute it 3568d6344f9Sopenharmony_ciunder certain conditions; type `show c' for details. 3578d6344f9Sopenharmony_ci 3588d6344f9Sopenharmony_ciThe hypothetical commands `show w' and `show c' should show the appropriate 3598d6344f9Sopenharmony_ciparts of the General Public License. Of course, the commands you use may 3608d6344f9Sopenharmony_cibe called something other than `show w' and `show c'; they could even be 3618d6344f9Sopenharmony_cimouse-clicks or menu items--whatever suits your program. 3628d6344f9Sopenharmony_ci 3638d6344f9Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 3648d6344f9Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the program, if 3658d6344f9Sopenharmony_cinecessary. Here is a sample; alter the names: 3668d6344f9Sopenharmony_ci 3678d6344f9Sopenharmony_ciYoyodyne, Inc., hereby disclaims all copyright interest in the program 3688d6344f9Sopenharmony_ci`Gnomovision' (which makes passes at compilers) written by James Hacker. 3698d6344f9Sopenharmony_ci 3708d6344f9Sopenharmony_ci<signature of Ty Coon>, 1 April 1989 3718d6344f9Sopenharmony_ciTy Coon, President of Vice 3728d6344f9Sopenharmony_ci 3738d6344f9Sopenharmony_ciThis General Public License does not permit incorporating your program into 3748d6344f9Sopenharmony_ciproprietary programs. If your program is a subroutine library, you may 3758d6344f9Sopenharmony_ciconsider it more useful to permit linking proprietary applications with the 3768d6344f9Sopenharmony_cilibrary. If this is what you want to do, use the GNU Lesser General 3778d6344f9Sopenharmony_ciPublic License instead of this License. 3788d6344f9Sopenharmony_ci 3798d6344f9Sopenharmony_ci---------------------------------------------------------------------- 3808d6344f9Sopenharmony_ciSoftware: hdf camera driver 3818d6344f9Sopenharmony_ci 3828d6344f9Sopenharmony_ciCopyright notice: 3838d6344f9Sopenharmony_ciCopyright (c) 2021 Huawei Device Co., Ltd. 3848d6344f9Sopenharmony_ciCopyright (c) 2022 Huawei Device Co., Ltd. 3858d6344f9Sopenharmony_ci 3868d6344f9Sopenharmony_ciLicense:Apache License V2.0 3878d6344f9Sopenharmony_ciLicensed under the Apache License, Version 2.0 (the "License"); 3888d6344f9Sopenharmony_ciyou may not use this file except in compliance with the License. 3898d6344f9Sopenharmony_ciYou may obtain a copy of the License at: 3908d6344f9Sopenharmony_ci 3918d6344f9Sopenharmony_ci http://www.apache.org/licenses/LICENSE-2.0 3928d6344f9Sopenharmony_ci 3938d6344f9Sopenharmony_ciUnless required by applicable law or agreed to in writing, software 3948d6344f9Sopenharmony_cidistributed under the License is distributed on an "AS IS" BASIS, 3958d6344f9Sopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3968d6344f9Sopenharmony_ciSee the License for the specific language governing permissions and 3978d6344f9Sopenharmony_cilimitations under the License. 3988d6344f9Sopenharmony_ci 3998d6344f9Sopenharmony_ci--------------------------------------------------------------------