Ultrafast all-optical solid-state framing camera with picosecond temporal resolution