A scalable all-digital 64x48 pixel flash LiDaR image sensor