Struct AddSubBlockInfoMemPtr#

Inheritance Relationships#

Base Type#

Struct Documentation#

struct AddSubBlockInfoMemPtr : public libCZI::AddSubBlockInfoBase#

This struct defines the data to be added to the subblock segment. Unused entries (e.g. no subblock-metadata) must have a size of 0. This variant is used if the data is readily available in contiguous memory. Note that for an uncompressed bitmap, the stride must be exactly width*bytes_per_pixel.

Public Functions

inline AddSubBlockInfoMemPtr()#

Default constructor.

inline virtual void Clear() override#

Clears this object to its blank/initial state.

Public Members

const void *ptrData#

Pointer to the data to be put into the subblock.

std::uint32_t dataSize#

The size of the data in bytes. If this is 0, then ptrSbBlkMetadata is not used (and no sub-block-data written).

const void *ptrSbBlkMetadata#

Pointer to the subblock-metadata.

std::uint32_t sbBlkMetadataSize#

The size of the subblock-metadata in bytes. If this is 0, then ptrSbBlkMetadata is not used (and no sub-block-metadata written).

const void *ptrSbBlkAttachment#

Pointer to the subblock-attachment.

std::uint32_t sbBlkAttachmentSize#

The size of the subblock-attachment in bytes. If this is 0, then ptrSbBlkAttachment is not used (and no sub-block-attachment written).