This file is indexed.

/usr/src/castle-game-engine-4.1.1/images/images_transformrgb_implement.inc is in castle-game-engine-src 4.1.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
var NewColor: TVector3Single;
    p: PPixel;
    i: integer;
begin
 p := PPixel(RawPixels);
 for i := 1 to Width * Height do
 begin
  NewColor[0] := Matrix[0, 0]*p^[0] + Matrix[1, 0]*p^[1]+ Matrix[2, 0]*p^[2];
  NewColor[1] := Matrix[0, 1]*p^[0] + Matrix[1, 1]*p^[1]+ Matrix[2, 1]*p^[2];
  NewColor[2] := Matrix[0, 2]*p^[0] + Matrix[1, 2]*p^[1]+ Matrix[2, 2]*p^[2];

  p^[0] := Clamped(Round(NewColor[0]), 0, High(Byte));
  p^[1] := Clamped(Round(NewColor[1]), 0, High(Byte));
  p^[2] := Clamped(Round(NewColor[2]), 0, High(Byte));
  Inc(P);
 end;
end;