aboutsummaryrefslogtreecommitdiff
path: root/zetsubou/tpl.c
diff options
context:
space:
mode:
authorAlex Marshall <SquidMan72@gmail.com>2009-03-21 01:29:51 -0700
committerAlex Marshall <SquidMan72@gmail.com>2009-03-21 01:29:51 -0700
commit404938db8a4544add6afb4a5a37c5f7218d24f7d (patch)
tree5b0ea143618ea893276e1b4b77dbd328613cfec5 /zetsubou/tpl.c
parent41f312b1a3e703edd56627342fdd358c22890480 (diff)
Updated license for seghers stuff
Diffstat (limited to 'zetsubou/tpl.c')
-rw-r--r--zetsubou/tpl.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/zetsubou/tpl.c b/zetsubou/tpl.c
index af0bff1..5638c2a 100644
--- a/zetsubou/tpl.c
+++ b/zetsubou/tpl.c
@@ -3,7 +3,9 @@
* Zetsubou
*
* Created by Alex Marshall on 09/03/17.
- * Copyright 2009 __MyCompanyName__. All rights reserved.
+ * Copyright 2009 HACKERCHANNEL. All rights reserved.
+ *
+ * Licensed under the terms of the GNU GPLv2.
*
*/
@@ -518,6 +520,15 @@ int TPL_ConvertBitMapToIA8(u8* bitmapdata, u32 bitmapsize, u8** tplbuf, u32 widt
return outsz;
}
+
+/* This section of code was taken from Segher's Wii.git @ http://git.infradead.org/users/segher/wii.git?a=blob_plain;f=tpl2ppm.c;hb=HEAD
+
+ Copyright 2007,2008 Segher Boessenkool <segher@kernel.crashing.org>
+ Licensed under the terms of the GNU GPL, version 2
+ http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
+
+*/
+
#define round_up(x,n) (-(-(x) & -(n)))
static u16 avg(u16 w0, u16 w1, u16 c0, u16 c1)
@@ -594,6 +605,8 @@ int TPL_ConvertCMPToBitMap(u8* tplbuf, u32 tplsize, u32 tplpoint, u8** bitmapdat
return outsz;
}
+/* End Segher's stuff. */
+
int TPL_ConvertToGD(u8* tplbuf, u32 tplsize, char basename[], u32 format)
{
char formatstr[4];