Short version: Using a number(six) of dedicated video cameras around the venue and (a lot of) image processing.
There is a nice article in wired about it(include a picture of one of the cameras and the view from another) http://www.wired.com/playbook/2011/04/nba-data-revolution/al...