/usr/share/movit/overlay_matte_effect.frag is in libmovit5 1.4.0-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 | vec4 FUNCNAME(vec2 tc) {
vec4 orig = INPUT1(tc);
vec4 blurred = INPUT2(tc);
float luminance = clamp(dot(orig.rgb, vec3(0.2126, 0.7152, 0.0722)), 0.0, 1.0);
return mix(orig, blurred, luminance * vec4(PREFIX(blurred_mix_amount)));
}
|