MrSID Decode SDK for Raster Reference Manual
9.5.4.4709
|
00001 /* $Id$ */ 00002 /* ////////////////////////////////////////////////////////////////////////// 00003 // // 00004 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, // 00005 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution // 00006 // prohibited. Access to and use of this code is permitted only under // 00007 // license from LizardTech, Inc. Portions of the code are protected by // 00008 // US and foreign patents and other filings. All Rights Reserved. // 00009 // // 00011 /* PUBLIC */ 00012 00013 #ifndef LTI_WATERMARKFILTER_H 00014 #define LTI_WATERMARKFILTER_H 00015 00016 // lt_lib_mrsid_core 00017 #include "lti_imageFilter.h" 00018 00019 00020 LT_BEGIN_NAMESPACE(LizardTech) 00021 00022 class LTIEmbeddedImage; 00023 00029 class LTIWatermarkFilter : public LTIImageFilter 00030 { 00031 LTI_REFERENCE_COUNTED_BOILERPLATE(LTIWatermarkFilter); 00032 public: 00050 LT_STATUS initialize(LTIImageStage* srcImage, 00051 LTIImageStage* watermarkImage, 00052 LTIPosition position, 00053 lt_uint32 edgePadding); 00054 00055 // LTIImageStage 00056 virtual lt_uint32 getModifications(const LTIScene &scene) const; 00057 00058 protected: 00059 LT_STATUS decodeBegin(const LTIPixel &pixelProps, 00060 const LTIScene &fullScene); 00061 LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, 00062 const LTIScene &stripScene); 00063 LT_STATUS decodeEnd(void); 00064 00065 private: 00066 LTIEmbeddedImage *m_embeddedWatermark; 00067 }; 00068 00069 00070 LT_END_NAMESPACE(LizardTech) 00071 00072 #endif // LTI_WATERMARKFILTER_H