How does an iPhone stream HD content to an Apple TV over AirPlay?
The video is not sent pixel by pixel, but is encoded with a suitable video compression algorithm specifically designed to use much less bandwith while still being able to reproduce the original video faithfully to the human eye.

Without having investigated a suitable guess would be that the h264 encoding is used.