// Copyright (c) 2022 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see . #include "carla/sensor/s11n/GBufferUint8Serializer.h" #include "carla/sensor/data/Image.h" namespace carla { namespace sensor { namespace s11n { SharedPtr GBufferUint8Serializer::Deserialize(RawData &&data) { auto image = SharedPtr(new data::Image{std::move(data)}); return image; } } // namespace s11n } // namespace sensor } // namespace carla