MCPcopy Create free account
hub / github.com/PDAL/PDAL / WriteImage2DData

Method WriteImage2DData

plugins/e57/libE57Format/src/E57SimpleWriter.cpp:169–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 int64_t Writer::WriteImage2DData( Image2D &image2DHeader, Image2DType imageType,
170 Image2DProjection imageProjection, int64_t startPos,
171 void *pBuffer, int64_t byteCount )
172 {
173 auto *buffer = static_cast<uint8_t *>( pBuffer );
174 const auto sizeInBytes = static_cast<size_t>( byteCount );
175
176 const int64_t imageIndex = impl_->NewImage2D( image2DHeader );
177
178 const size_t written = impl_->WriteImage2DData( imageIndex, imageType, imageProjection,
179 buffer, startPos, sizeInBytes );
180
181 return static_cast<int64_t>( written );
182 }
183
184 int64_t Writer::NewImage2D( Image2D &image2DHeader )
185 {

Callers

nothing calls this directly

Calls 1

NewImage2DMethod · 0.45

Tested by

no test coverage detected