6 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version. The Blender
12 * Foundation also sells licenses for use in proprietary software under
13 * the Blender License. See http://www.blender.org/BL/ for information
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software Foundation,
23 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
26 * All rights reserved.
28 * The Original Code is: all of this file.
30 * Contributor(s): none yet.
32 * ***** END GPL/BL DUAL LICENSE BLOCK *****
35 #ifndef IMB_ALLOCIMBUF_H
36 #define IMB_ALLOCIMBUF_H
40 short imb_addrectImBuf(struct ImBuf * ibuf);
41 short imb_addplanesImBuf(struct ImBuf *ibuf);
43 short imb_addencodedbufferImBuf(struct ImBuf *ibuf);
44 short imb_enlargeencodedbufferImBuf(struct ImBuf *ibuf);
46 void imb_freerectImBuf(struct ImBuf *ibuf);
47 void imb_freeplanesImBuf(struct ImBuf *ibuf);
49 short imb_addcmapImBuf(struct ImBuf *ibuf);