This file is indexed.

/usr/share/movit/vignette_effect.frag is in libmovit4 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
// A simple, circular vignette, with a cosĀ² falloff.

// Implicit uniforms:
// uniform float PREFIX(pihalf_div_radius);
//
// uniform vec2 PREFIX(aspect_correction);
// uniform vec2 PREFIX(flipped_center);

vec4 FUNCNAME(vec2 tc) {
	vec4 x = INPUT(tc);

	const float pihalf = 0.5 * 3.14159265358979324;

	vec2 normalized_pos = (tc - PREFIX(flipped_center)) * PREFIX(aspect_correction);
	float dist = (length(normalized_pos) - PREFIX(inner_radius)) * PREFIX(pihalf_div_radius);
	float linear_falloff = clamp(dist, 0.0, pihalf);
	float falloff = cos(linear_falloff) * cos(linear_falloff);
	x.rgb *= vec3(falloff);

	return x;
}