8#ifndef LTI_IMAGEWRITER_H
9#define LTI_IMAGEWRITER_H
16LT_BEGIN_LIZARDTECH_NAMESPACE
235 const char *comment =
nullptr);
263LT_END_LIZARDTECH_NAMESPACE
This file contains a number of enums, typedefs, etc, that are used throughout the MrSID SDK.
lt_uint32 LT_STATUS
An integral status code.
unsigned int lt_uint32
unsigned 32-bit integer
long long int lt_int64
signed 64-bit integer
interrupt delegate (callback) base class
progress delegate (callback) base class
abstract class for decoding from an image
abstract class for implementing an image writer
virtual LT_STATUS deleteOutput(void)=0
clean up a failed encode (write) operation
virtual lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode the scene
virtual LT_STATUS writeEnd(void)=0
complete an encode (write) operation
lt_uint32 getStripHeight(void) const
get the stripheight for the encode
LT_STATUS init(LTIImageStage *imageStage)
initialization function
virtual LT_STATUS writeBegin(const LTIScene &scene)=0
begin an encode (write) operation
virtual LT_STATUS setEncodingApplication(const char *name, const char *version, const char *comment=nullptr)
set name and version of the creating application
LT_STATUS setStripHeight(lt_uint32 stripHeight)
set the stripheight for the encode
virtual LT_STATUS writeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)=0
encode one strip of the scene
LTIProgressDelegate * getProgressDelegate(void) const
get progress delegate
const LTIImageStage * getSourceImageStage(void) const
get the source image stage
void setProgressDelegate(LTIProgressDelegate *delegate)
set progress delegate
virtual LT_STATUS write(const LTIScene &scene)
write (encode) a scene to the output format
LT_STATUS writeCleanup(LT_STATUS sts)
virtual lt_uint32 getDefaultStripHeight(void) const
get the preferred stripheight for the encode
LTIInterruptDelegate * getInterruptDelegate(void) const
get interrupt delegate
virtual ~LTIImageWriter()
void setInterruptDelegate(LTIInterruptDelegate *delegate)
set interrupt delegate
representation of a scene
class to hold data passed between image stages