~ubuntu-branches/ubuntu/jaunty/libgdiplus/jaunty-updates

« back to all changes in this revision

Viewing changes to cairo/test/pdiff/lpyramid.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-05-17 13:38:42 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517133842-t8b8d4lxmhb3vnp0
Tags: 1.2.4-1ubuntu1
* Sync with Debian:
  + debian/control:
    - Add sparc to archs
    - Set Maintainer field...

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Laplacian Pyramid
 
3
  Copyright (C) 2006 Yangli Hector Yee
 
4
 
 
5
  This program is free software; you can redistribute it and/or modify it under the terms of the
 
6
  GNU General Public License as published by the Free Software Foundation; either version 2 of the License,
 
7
  or (at your option) any later version.
 
8
 
 
9
  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 
10
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
11
  See the GNU General Public License for more details.
 
12
 
 
13
  You should have received a copy of the GNU General Public License along with this program;
 
14
  if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
15
*/
 
16
#ifndef _LPYRAMID_H
 
17
#define _LPYRAMID_H
 
18
 
 
19
#define MAX_PYR_LEVELS 8
 
20
 
 
21
typedef struct _lpyramid lpyramid_t;
 
22
 
 
23
lpyramid_t *
 
24
lpyramid_create (float *image, int width, int height);
 
25
 
 
26
void
 
27
lpyramid_destroy (lpyramid_t *pyramid);
 
28
 
 
29
float
 
30
lpyramid_get_value (lpyramid_t *pyramid, int x, int y, int level);
 
31
 
 
32
#endif /* _LPYRAMID_H */