/usr/share/movit/padding_effect.frag is in libmovit2 1.1.2-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 | uniform vec2 PREFIX(offset);
uniform vec2 PREFIX(scale);
uniform vec2 PREFIX(texcoord_min);
uniform vec2 PREFIX(texcoord_max);
vec4 FUNCNAME(vec2 tc) {
tc -= PREFIX(offset);
tc *= PREFIX(scale);
if (any(lessThan(tc, PREFIX(texcoord_min))) ||
any(greaterThan(tc, PREFIX(texcoord_max)))) {
return PREFIX(border_color);
}
return INPUT(tc);
}
|