This file is indexed.

/usr/include/minidjvu/alg/classify.h is in libminidjvu-dev 0.8.svn.2010.05.06+dfsg-5build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
 * classify.h - classifying patterns
 */


#ifndef MDJVU_CLASSIFY_H
#define MDJVU_CLASSIFY_H

/* Classifies a set of patterns.
 * result - array of tags ranging from 1 to return value,
 *    and 0 for those cells which were NULL (yes, NULLs are permitted).
 * Every tag has at least one pattern to which it's attached.
 * Equally tagged images are classified equivalent.
 */

MDJVU_FUNCTION int32 mdjvu_classify_patterns
    (mdjvu_pattern_t *, int32 *result, int32 n, int32 dpi,
     mdjvu_matcher_options_t);

#ifndef NO_MINIDJVU /* that's for DjVuLibre */

/* Special tag 0 is reserved for bitmaps marked "no-substitution".
 * If centers_needed, also extract bitmap centers from the patterns.
 */
MDJVU_FUNCTION int32 mdjvu_classify_bitmaps
    (mdjvu_image_t, int32 *result, mdjvu_matcher_options_t, int centers_needed);



/* MULTIPAGE CLASSIFICATION */

/* npages - number of pages
 * total_npatterns - total number of patterns (must be sum over npatterns)
 * npatterns[i] - number of patterns on the i-th page
 * dpi[i] - resolution of the i-th page
 * result[i] - i-th tag; tags from all pages are put consecutively
 *
 * return value - maximal tag
 *
 * XXX: dpi is not correctly handled
 */

MDJVU_FUNCTION int32 mdjvu_multipage_classify_patterns
    (int32 npages, int32 total_npatterns, int32 *npatterns, mdjvu_pattern_t **,
     int32 *result, int32 *dpi, mdjvu_matcher_options_t,
     void (*report)(void *, int), void *param);

MDJVU_FUNCTION int32 mdjvu_multipage_classify_bitmaps
    (int32 npages, int32 total_npatterns, mdjvu_image_t *,
     int32 *result, mdjvu_matcher_options_t,
     void (*report)(void *, int), void *param, int centers_needed);


/* Decide what bitmaps will be put into the dictionary (by tag).
 * This implementation simply chooses tags which occur more than in one page.
 *
 * Arguments:
 *      dictionary_flags - [0..max_tag] array of 1/0 flags; it's the result
 */

MDJVU_FUNCTION void mdjvu_multipage_get_dictionary_flags
    (int32 npages, int32 *npatterns, int32 max_tag,
     int32 *tags, unsigned char *dictionary_flags);



#endif /* NO_MINIDJVU */

#endif /* MDJVU_CLASSIFY_H */