Struct AddSubBlockInfoStridedBitmap#

Inheritance Relationships#

Base Type#

Struct Documentation#

struct AddSubBlockInfoStridedBitmap : public libCZI::AddSubBlockInfoBase#

This struct defines the data to be added to the subblock segment. This variant is used if the uncompressed bitmap-data has an arbitrary stride. Note that when writing compressed data, this variant does not make much sense to use.

Public Functions

inline AddSubBlockInfoStridedBitmap()#

Default constructor.

inline virtual void Clear() override#

Clears this object to its blank/initial state.

Public Members

const void *ptrBitmap#

Pointer to the bitmap to be put into the subblock. The size of the memory-block must be (strideBitmap * physicalWidth).

std::uint32_t strideBitmap#

The stride of the bitmap.

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).