Mercurial > geeqie.yaz
annotate src/similar.h @ 1442:e37cde2857c1
fixed XMP and IPTC entry names in exif pane
author | nadvornik |
---|---|
date | Sun, 15 Mar 2009 12:41:39 +0000 |
parents | 3a9fb1b52559 |
children |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1284 | 4 * Copyright (C) 2008 - 2009 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 | |
14 #ifndef SIMILAR_H | |
15 #define SIMILAR_H | |
16 | |
17 | |
18 typedef struct _ImageSimilarityData ImageSimilarityData; | |
19 struct _ImageSimilarityData | |
20 { | |
442 | 21 guint8 avg_r[1024]; |
22 guint8 avg_g[1024]; | |
23 guint8 avg_b[1024]; | |
9 | 24 |
1420
3a9fb1b52559
Use gboolean where applicable, for the sake of consistency.
zas_
parents:
1284
diff
changeset
|
25 gboolean filled; |
9 | 26 }; |
27 | |
28 | |
29 ImageSimilarityData *image_sim_new(void); | |
30 void image_sim_free(ImageSimilarityData *sd); | |
31 | |
32 void image_sim_fill_data(ImageSimilarityData *sd, GdkPixbuf *pixbuf); | |
33 ImageSimilarityData *image_sim_new_from_pixbuf(GdkPixbuf *pixbuf); | |
34 | |
35 gdouble image_sim_compare(ImageSimilarityData *a, ImageSimilarityData *b); | |
36 gdouble image_sim_compare_fast(ImageSimilarityData *a, ImageSimilarityData *b, gdouble min); | |
37 | |
38 | |
1420
3a9fb1b52559
Use gboolean where applicable, for the sake of consistency.
zas_
parents:
1284
diff
changeset
|
39 void image_sim_alternate_set(gboolean enable); |
3a9fb1b52559
Use gboolean where applicable, for the sake of consistency.
zas_
parents:
1284
diff
changeset
|
40 gboolean image_sim_alternate_enabled(void); |
9 | 41 void image_sim_alternate_processing(ImageSimilarityData *sd); |
42 | |
43 | |
44 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
475
diff
changeset
|
45 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |