init and deinit components in rpicam_still