xref: /OK3568_Linux_fs/external/chromium/licenses/LICENSE.93 (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunThe MIT License (MIT)
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunCopyright (c) 2015 Bodymovin
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy
6*4882a593Smuzhiyunof this software and associated documentation files (the "Software"), to deal
7*4882a593Smuzhiyunin the Software without restriction, including without limitation the rights
8*4882a593Smuzhiyunto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9*4882a593Smuzhiyuncopies of the Software, and to permit persons to whom the Software is
10*4882a593Smuzhiyunfurnished to do so, subject to the following conditions:
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be included in all
13*4882a593Smuzhiyuncopies or substantial portions of the Software.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21*4882a593SmuzhiyunSOFTWARE.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun################################################################################
25*4882a593Smuzhiyun# License headers for subpackages
26*4882a593Smuzhiyun################################################################################
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunTransformation Matrix v2.0
29*4882a593Smuzhiyun(c) Epistemex 2014-2015
30*4882a593Smuzhiyunwww.epistemex.com
31*4882a593SmuzhiyunBy Ken Fyrstenberg
32*4882a593SmuzhiyunContributions by leeoniya.
33*4882a593SmuzhiyunLicense: MIT, header required.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun################################################################################
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunCopyright 2014 David Bau.
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining
41*4882a593Smuzhiyuna copy of this software and associated documentation files (the
42*4882a593Smuzhiyun"Software"), to deal in the Software without restriction, including
43*4882a593Smuzhiyunwithout limitation the rights to use, copy, modify, merge, publish,
44*4882a593Smuzhiyundistribute, sublicense, and/or sell copies of the Software, and to
45*4882a593Smuzhiyunpermit persons to whom the Software is furnished to do so, subject to
46*4882a593Smuzhiyunthe following conditions:
47*4882a593Smuzhiyun
48*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be
49*4882a593Smuzhiyunincluded in all copies or substantial portions of the Software.
50*4882a593Smuzhiyun
51*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
52*4882a593SmuzhiyunEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
53*4882a593SmuzhiyunMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
54*4882a593SmuzhiyunIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
55*4882a593SmuzhiyunCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
56*4882a593SmuzhiyunTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
57*4882a593SmuzhiyunSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
58*4882a593Smuzhiyun
59*4882a593Smuzhiyun################################################################################
60*4882a593Smuzhiyun
61*4882a593SmuzhiyunBezierEasing - use bezier curve for transition easing function
62*4882a593Smuzhiyunby Gaëtan Renaudeau 2014 - 2015 – MIT License
63*4882a593Smuzhiyun
64*4882a593SmuzhiyunCredits: is based on Firefox's nsSMILKeySpline.cpp
65*4882a593SmuzhiyunUsage:
66*4882a593Smuzhiyunvar spline = BezierEasing([ 0.25, 0.1, 0.25, 1.0 ])
67*4882a593Smuzhiyunspline.get(x) => returns the easing value | x must be in [0, 1] range
68