Please note that this is NOT THE REAL THING, but a staged reconstruction from "Prison Me No Way" (1999), a film made by the Singapore authorities to deter youngsters from crime. It seems reasonable to assume that this scene was actually filmed in a Singapore prison and that all the details of the equipment are authentic.
Presumably the man playing the part of the prisoner is an actor, but one could imagine that the man shown wielding the cane might possibly be an actual prison officer who performs this task in real life.
HERE IS THE CLIP:
Stills from the film showing caning trestle in detail: