Serializes image buffers generated by camera sensors. More...
#include <NormalsImageSerializer.h>
Classes | |
struct | ImageHeader |
Static Public Member Functions | |
static SharedPtr< SensorData > | Deserialize (RawData &&data) |
static const ImageHeader & | DeserializeHeader (const RawData &data) |
template<typename Sensor > | |
static Buffer | Serialize (const Sensor &sensor, Buffer &&bitmap) |
Static Public Attributes | |
static constexpr auto | header_offset = sizeof(ImageHeader) |
Serializes image buffers generated by camera sensors.
Definition at line 21 of file NormalsImageSerializer.h.
|
static |
Definition at line 14 of file NormalsImageSerializer.cpp.
Referenced by DeserializeHeader().
|
inlinestatic |
Definition at line 34 of file NormalsImageSerializer.h.
References carla::sensor::RawData::begin(), Deserialize(), and Serialize().
|
inlinestatic |
Definition at line 45 of file NormalsImageSerializer.h.
References DEBUG_ASSERT.
Referenced by DeserializeHeader().
|
static |
Definition at line 32 of file NormalsImageSerializer.h.