This file is indexed.

/usr/include/gegl-0.3/sc/sc-sample.h is in libgegl-dev 0.3.4-1ubuntu2.

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
/* This file is an image processing operation for GEGL
 *
 * sc-sample.h
 * Copyright (C) 2011 Barak Itkin <lightningismyname@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef __GEGL_SC_SAMPLE_H__
#define __GEGL_SC_SAMPLE_H__

#include <glib.h>
#include <poly2tri-c/refine/refine.h>

#include "sc-outline.h"

typedef struct {
  /** Should the point behind this list be sampled directly?        */
  gboolean   direct_sample;
  /** An array of GeglScPoint* (pointers) of the points to sample       */
  GPtrArray *points;
  /** An array of weights to assign to the samples from the points  */
  GArray    *weights;
  /** The total weight of the samples, used to normalize the result */
  gdouble    total_weight;
} GeglScSampleList;

typedef GHashTable GeglScMeshSampling;

/**
 * Compute the list of points that should be sampled in order to
 * compute the color assigned to the given point in the color
 * difference mesh.
 */
GeglScSampleList*   gegl_sc_sample_list_compute   (GeglScOutline     *outline,
                                                   gdouble            x,
                                                   gdouble            y);

GeglScSampleList*   gegl_sc_sample_list_direct    (void);
/**
 * Free an GeglScSampleList object created by gegl_sc_sample_list_compute
 */
void                gegl_sc_sample_list_free      (GeglScSampleList   *self);

/**
 * Compute the sample lists for all the points in a given mesh
 */
GeglScMeshSampling* gegl_sc_mesh_sampling_compute (GeglScOutline      *outline,
                                                   P2trMesh           *mesh);

/**
 * Free an GeglScMeshSampling object created by gegl_sc_mesh_sampling_compute
 */
void                gegl_sc_mesh_sampling_free    (GeglScMeshSampling *self);

#endif