OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimCodecBase.h>
Public Member Functions | |
virtual ossimString | getCodecType () const =0 |
Will return the identifier used to identify the codec type. More... | |
virtual bool | encode (const ossimRefPtr< ossimImageData > &in, std::vector< ossim_uint8 > &out) const =0 |
Encode method. More... | |
virtual bool | decode (const std::vector< ossim_uint8 > &in, ossimRefPtr< ossimImageData > &out) const =0 |
Decode method. More... | |
virtual const std::string & | getExtension () const =0 |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
![]() | |
ossimPropertyInterface () | |
virtual | ~ossimPropertyInterface () |
virtual void | setProperty (const ossimString &name, const ossimString &value) |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 17 of file ossimCodecBase.h.
|
pure virtual |
Decode method.
in | Input data to decode. |
out | Output tile. If the pointer to ossimImageData is null internally it will be created. For code loops it is better to pre initialized to correct size. |
Implemented in ossimJpegCodec, ossimKakaduJ2kCodec, and ossimPngCodec.
|
pure virtual |
Encode method.
Pure virtual method that encodes the passed in buffer to this codec.
in | Input data to encode. |
out | Encoded output data. |
Implemented in ossimJpegCodec, ossimKakaduJ2kCodec, and ossimPngCodec.
Referenced by ossimGpkgWriter::writeTile().
|
pure virtual |
Will return the identifier used to identify the codec type.
For example the Jpeg codec will have "jpeg" as the identifier
Implemented in ossimJpegCodec, ossimKakaduJ2kCodec, and ossimPngCodec.
|
pure virtual |
Implemented in ossimJpegCodec, ossimKakaduJ2kCodec, and ossimPngCodec.