def _get_still_stats(self):
    self._check_camera_open()
    return self._camera.control.params[mmal.MMAL_PARAMETER_CAPTURE_STATS_PASS]
def _get_still_stats(self):
    self._check_camera_open()
    return self._camera.control.params[mmal.MMAL_PARAMETER_CAPTURE_STATS_PASS]