No, it's not just a simple distortion correction filter. A Google research team has been working on eliminating the face-stretching distortion you get from wide angle lenses, without the ugly bending ...
One of the lesser-known ways that camera manufacturers have been able to make digital cameras ever smaller and less expensive is by using in-camera software to correct for lens distortion on the fly.