~ubuntu-branches/ubuntu/jaunty/kaa-imlib2/jaunty

« back to all changes in this revision

Viewing changes to src/rawformats.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremie Corbier
  • Date: 2007-05-29 12:48:02 UTC
  • Revision ID: james.westby@ubuntu.com-20070529124802-7rqvjajce01xpyly
Tags: upstream-0.2.1
ImportĀ upstreamĀ versionĀ 0.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * ----------------------------------------------------------------------------
 
3
 * Imlib2 wrapper for Python
 
4
 * ----------------------------------------------------------------------------
 
5
 * $Id: rawformats.h 2604 2007-03-28 09:21:52Z dmeyer $
 
6
 *
 
7
 * ----------------------------------------------------------------------------
 
8
 * kaa.imlib2 - An imlib2 wrapper for Python
 
9
 * Copyright (C) 2004-2006 Jason Tackaberry <tack@urandom.ca>
 
10
 *
 
11
 * First Edition: Jason Tackaberry <tack@urandom.ca>
 
12
 * Maintainer:    Jason Tackaberry <tack@urandom.ca>
 
13
 *
 
14
 * Please see the file AUTHORS for a complete list of authors.
 
15
 *
 
16
 * This library is free software; you can redistribute it and/or modify
 
17
 * it under the terms of the GNU Lesser General Public License version
 
18
 * 2.1 as published by the Free Software Foundation.
 
19
 *
 
20
 * This library is distributed in the hope that it will be useful, but
 
21
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
23
 * Lesser General Public License for more details.
 
24
 *
 
25
 * You should have received a copy of the GNU Lesser General Public
 
26
 * License along with this library; if not, write to the Free Software
 
27
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
28
 * 02110-1301 USA
 
29
 *
 
30
 * ----------------------------------------------------------------------------
 
31
 */
 
32
 
 
33
unsigned int get_raw_bytes_size(char *format);
 
34
unsigned char *get_raw_bytes(char *format, unsigned char *dstbuf);
 
35
unsigned char *convert_raw_rgba_bytes(char *from_format, char *to_format,
 
36
                                      unsigned char *from_buf,
 
37
                                      unsigned char *to_buf,
 
38
                                      int w, int h);