Mercurial > hg > dmlib
view COPYING @ 1463:bde6a66bc2f6
Change dmDecodeGenericRLE() to use DMGrowBuf as output. Also add support
for two different common types of RLE encoding. Add stub function of
dmEncodeGenericRLE(), not implemented yet. Change functions using
dmDecodeGenericRLE to use the new API. Also fix a problem in Amica Paint
RLE decoding as the format seems to save one byte less than is necessary.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 10 May 2018 21:27:24 +0300 |
parents | 7eedcf1d5af7 |
children | 9c3dd6f8dbda |
line wrap: on
line source
----------------------------------------------------------------------- The license below does not apply to "stb_image.c", which is originally by Sean Barrett and various other authors, and distributed as "public domain". This also applies to all modifications made for use in DMLIB. ----------------------------------------------------------------------- DMLIB - Demo engine / development and utility framework Programmed and designed by Matti Hämäläinen (ccr/TNSP) (C) Copyright 2002-2017 Tecnic Software productions (TNSP) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -----------------------------------------------------------------------