This file is indexed.

/usr/include/movit/unsharp_mask_effect.h is in libmovit-dev 1.3.1-1.

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
#ifndef _MOVIT_UNSHARP_MASK_EFFECT_H
#define _MOVIT_UNSHARP_MASK_EFFECT_H 1

// Unsharp mask is probably the most popular way of doing sharpening today,
// although it does not always deliver the best results (it is very prone
// to haloing). It simply consists of removing a blurred copy of the image from
// itself (multiplied by some strength factor). In this aspect, it's similar to
// glow, except by subtracting instead of adding.
//
// See DeconvolutionSharpenEffect for a different, possibly better
// sharpening algorithm.

#include <epoxy/gl.h>
#include <assert.h>
#include <string>

#include "effect.h"

namespace movit {

class BlurEffect;
class EffectChain;
class MixEffect;
class Node;

class UnsharpMaskEffect : public Effect {
public:
	UnsharpMaskEffect();
	virtual std::string effect_type_id() const { return "UnsharpMaskEffect"; }

	virtual bool needs_srgb_primaries() const { return false; }

	virtual void rewrite_graph(EffectChain *graph, Node *self);
	virtual bool set_float(const std::string &key, float value);

	virtual std::string output_fragment_shader() {
		assert(false);
	}
	virtual void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num) {
		assert(false);
	}

private:
	BlurEffect *blur;
	MixEffect *mix;
};

}  // namespace movit

#endif // !defined(_MOVIT_UNSHARP_MASK_EFFECT_H)