1*4882a593SmuzhiyunMPL-1.1 / GPL-2.0 / LGPL-2.1 2*4882a593Smuzhiyun============================ 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSkGifImageReader.cpp and SkGifImageReader.h: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun ***** BEGIN LICENSE BLOCK ***** 7*4882a593Smuzhiyun Version: MPL 1.1/GPL 2.0/LGPL 2.1 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun The contents of this file are subject to the Mozilla Public License Version 10*4882a593Smuzhiyun 1.1 (the "License"); you may not use this file except in compliance with 11*4882a593Smuzhiyun the License. You may obtain a copy of the License at 12*4882a593Smuzhiyun http://www.mozilla.org/MPL/ 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun Software distributed under the License is distributed on an "AS IS" basis, 15*4882a593Smuzhiyun WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 16*4882a593Smuzhiyun for the specific language governing rights and limitations under the 17*4882a593Smuzhiyun License. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun The Original Code is mozilla.org code. 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun The Initial Developer of the Original Code is 22*4882a593Smuzhiyun Netscape Communications Corporation. 23*4882a593Smuzhiyun Portions created by the Initial Developer are Copyright (C) 1998 24*4882a593Smuzhiyun the Initial Developer. All Rights Reserved. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun Contributor(s): 27*4882a593Smuzhiyun Chris Saari <saari@netscape.com> 28*4882a593Smuzhiyun Apple Computer 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun Alternatively, the contents of this file may be used under the terms of 31*4882a593Smuzhiyun either the GNU General Public License Version 2 or later (the "GPL"), or 32*4882a593Smuzhiyun the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), 33*4882a593Smuzhiyun in which case the provisions of the GPL or the LGPL are applicable instead 34*4882a593Smuzhiyun of those above. If you wish to allow use of your version of this file only 35*4882a593Smuzhiyun under the terms of either the GPL or the LGPL, and not to allow others to 36*4882a593Smuzhiyun use your version of this file under the terms of the MPL, indicate your 37*4882a593Smuzhiyun decision by deleting the provisions above and replace them with the notice 38*4882a593Smuzhiyun and other provisions required by the GPL or the LGPL. If you do not delete 39*4882a593Smuzhiyun the provisions above, a recipient may use your version of this file under 40*4882a593Smuzhiyun the terms of any one of the MPL, the GPL or the LGPL. 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun ***** END LICENSE BLOCK ***** */ 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun 45*4882a593SmuzhiyunBSD-3-Clause 46*4882a593Smuzhiyun============ 47*4882a593Smuzhiyun 48*4882a593Smuzhiyunlibgifcodec.gni, SkGifCodec.h, SkLibGifCodec.cpp, SkLibGifCodec.h: 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun Copyright 2019 Google LLC. All rights reserved. 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun Redistribution and use in source and binary forms, with or without 53*4882a593Smuzhiyun modification, are permitted provided that the following conditions are 54*4882a593Smuzhiyun met: 55*4882a593Smuzhiyun 56*4882a593Smuzhiyun * Redistributions of source code must retain the above copyright 57*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer. 58*4882a593Smuzhiyun 59*4882a593Smuzhiyun * Redistributions in binary form must reproduce the above 60*4882a593Smuzhiyun copyright notice, this list of conditions and the following 61*4882a593Smuzhiyun disclaimer in the documentation and/or other materials provided 62*4882a593Smuzhiyun with the distribution. 63*4882a593Smuzhiyun 64*4882a593Smuzhiyun * Neither the name of the copyright holder nor the names of its 65*4882a593Smuzhiyun contributors may be used to endorse or promote products derived 66*4882a593Smuzhiyun from this software without specific prior written permission. 67*4882a593Smuzhiyun 68*4882a593Smuzhiyun THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 69*4882a593Smuzhiyun "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 70*4882a593Smuzhiyun LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 71*4882a593Smuzhiyun A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 72*4882a593Smuzhiyun OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 73*4882a593Smuzhiyun SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 74*4882a593Smuzhiyun LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 75*4882a593Smuzhiyun DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 76*4882a593Smuzhiyun THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 77*4882a593Smuzhiyun (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 78*4882a593Smuzhiyun OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 79*4882a593Smuzhiyun 80*4882a593Smuzhiyun 81*4882a593SmuzhiyunBSD-2-Clause 82*4882a593Smuzhiyun============ 83*4882a593Smuzhiyun 84*4882a593SmuzhiyunSkLibGifCodec.cpp: 85*4882a593Smuzhiyun 86*4882a593Smuzhiyun Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 87*4882a593Smuzhiyun 88*4882a593Smuzhiyun Redistribution and use in source and binary forms, with or without 89*4882a593Smuzhiyun modification, are permitted provided that the following conditions 90*4882a593Smuzhiyun are met: 91*4882a593Smuzhiyun 92*4882a593Smuzhiyun 1. Redistributions of source code must retain the above copyright 93*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer. 94*4882a593Smuzhiyun 95*4882a593Smuzhiyun 2. Redistributions in binary form must reproduce the above copyright 96*4882a593Smuzhiyun notice, this list of conditions and the following disclaimer in the 97*4882a593Smuzhiyun documentation and/or other materials provided with the distribution. 98*4882a593Smuzhiyun 99*4882a593Smuzhiyun THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 100*4882a593Smuzhiyun EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 101*4882a593Smuzhiyun IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 102*4882a593Smuzhiyun PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 103*4882a593Smuzhiyun CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 104*4882a593Smuzhiyun EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 105*4882a593Smuzhiyun PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 106*4882a593Smuzhiyun PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 107*4882a593Smuzhiyun OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 108*4882a593Smuzhiyun (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 109*4882a593Smuzhiyun OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 110