xref: /OK3568_Linux_fs/external/common_algorithm/LICENSE (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun// Copyright 2020 Rockchip Electronics Co.,Ltd.
2*4882a593Smuzhiyun// All rights reserved.
3*4882a593Smuzhiyun//
4*4882a593Smuzhiyun// Redistribution and use in source and binary forms, with or without
5*4882a593Smuzhiyun// modification, are permitted provided that the following conditions are met:
6*4882a593Smuzhiyun//
7*4882a593Smuzhiyun// 1. Redistributions of source code must retain the above copyright notice,
8*4882a593Smuzhiyun// this list of conditions and the following disclaimer.
9*4882a593Smuzhiyun//
10*4882a593Smuzhiyun// 2. Redistributions in binary form must reproduce the above copyright notice,
11*4882a593Smuzhiyun// this list of conditions and the following disclaimer in the documentation
12*4882a593Smuzhiyun// and/or other materials provided with the distribution.
13*4882a593Smuzhiyun//
14*4882a593Smuzhiyun// 3. Neither the name of the copyright holder nor the names of its contributors
15*4882a593Smuzhiyun// may be used to endorse or promote products derived from this software without
16*4882a593Smuzhiyun// specific prior written permission.
17*4882a593Smuzhiyun//
18*4882a593Smuzhiyun// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19*4882a593Smuzhiyun// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*4882a593Smuzhiyun// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*4882a593Smuzhiyun// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22*4882a593Smuzhiyun// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23*4882a593Smuzhiyun// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24*4882a593Smuzhiyun// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25*4882a593Smuzhiyun// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26*4882a593Smuzhiyun// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27*4882a593Smuzhiyun// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28*4882a593Smuzhiyun// POSSIBILITY OF SUCH DAMAGE.
29