annotate src/similar.h @ 1672:831c79e50d34

updated ca.po - submitted by Mecatxis
author nadvornik
date Thu, 02 Jul 2009 17:31:38 +0000
parents 3a9fb1b52559
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 9
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
1284
8b89e3ff286b Add year 2009 to copyright info everywhere.
zas_
parents: 1055
diff changeset
4 * Copyright (C) 2008 - 2009 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef SIMILAR_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define SIMILAR_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 typedef struct _ImageSimilarityData ImageSimilarityData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 struct _ImageSimilarityData
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20 {
442
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 196
diff changeset
21 guint8 avg_r[1024];
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 196
diff changeset
22 guint8 avg_g[1024];
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 196
diff changeset
23 guint8 avg_b[1024];
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24
1420
3a9fb1b52559 Use gboolean where applicable, for the sake of consistency.
zas_
parents: 1284
diff changeset
25 gboolean filled;
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 ImageSimilarityData *image_sim_new(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 void image_sim_free(ImageSimilarityData *sd);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 void image_sim_fill_data(ImageSimilarityData *sd, GdkPixbuf *pixbuf);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 ImageSimilarityData *image_sim_new_from_pixbuf(GdkPixbuf *pixbuf);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 gdouble image_sim_compare(ImageSimilarityData *a, ImageSimilarityData *b);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 gdouble image_sim_compare_fast(ImageSimilarityData *a, ImageSimilarityData *b, gdouble min);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 void image_sim_alternate_processing(ImageSimilarityData *sd);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
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: */