Definition at line 462 of file rt_serialize.c.
468 RASTER_DEBUGF(3,
"Serialized size with just header:%d - now adding size of %d bands",
471 for (i = 0; i <
raster->numBands; ++i) {
477 rterror(
"rt_raster_serialized_size: Corrupted band: unknown pixtype");
492 size += strlen(
band->data.offline.path) + 1;
void rterror(const char *fmt,...)
Wrappers used for reporting errors and info.
#define RASTER_DEBUGF(level, msg,...)
int rt_pixtype_size(rt_pixtype pixtype)
Return size in bytes of a value in the given pixtype.
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
References ovdump::band, rtrowdump::raster, RASTER_DEBUGF, rt_pixtype_size(), rterror(), and rt_raster_serialized_t::size.
Referenced by rt_raster_serialize().