def _get_zoom(self):
    self._check_camera_open()
    mp = self._camera.control.params[mmal.MMAL_PARAMETER_INPUT_CROP]
    return ((mp.rect.x / 65535.0), (mp.rect.y / 65535.0), (mp.rect.width / 65535.0), (mp.rect.height / 65535.0))
def _get_zoom(self):
    self._check_camera_open()
    mp = self._camera.control.params[mmal.MMAL_PARAMETER_INPUT_CROP]
    return ((mp.rect.x / 65535.0), (mp.rect.y / 65535.0), (mp.rect.width / 65535.0), (mp.rect.height / 65535.0))