And that’s using the same hardware as you have in your phone. Not similar, the same.A snapdragon 801. Such as used in Galaxy S5, from 2014.
https://en.m.wikipedia.org/wiki/List_of_devices_using_Qualcomm_Snapdragon_systems_on_chips
Snapdragon took care of image processing, guidance processing, and storing flight data—with readings 500 times a second—while the microcontroller was in charge of navigation and running the helicopter’s motors.