It would probably be done using linear interpolation, which takes that linear path that the camera normally uses, and curves the linear path to make the camera move in a smoother way.
There is also someone else who asked this sort of question, so hopefully this helps