diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2014-05-28 18:42:37 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2014-07-10 15:37:26 -0700 |
commit | 4510de26e5361f3a9f07057ec6f26483c888c1fa (patch) | |
tree | 5a474839318779c1e6eff96a4f98e3e1f74ef85a /media/img_utils/include/img_utils/TiffEntry.h | |
parent | 5c68f959eaa2e02fed5643c78e281fff42bcc0a2 (diff) | |
download | frameworks_av-4510de26e5361f3a9f07057ec6f26483c888c1fa.zip frameworks_av-4510de26e5361f3a9f07057ec6f26483c888c1fa.tar.gz frameworks_av-4510de26e5361f3a9f07057ec6f26483c888c1fa.tar.bz2 |
DNG: Update TiffWriter to handle thumbnails and SubIfds.
- Fix SubIfd handling.
- Add StripSources, convenience functions for writing image strips.
- Update Input classes to use with JNI.
- Add skip method.
- Add tag definitions for GPS tags.
- Add name string to tag definitions.
Bug: 15112503
Change-Id: I9535b21261027f6c06a041c1621de8f865a0ad32
Diffstat (limited to 'media/img_utils/include/img_utils/TiffEntry.h')
-rw-r--r-- | media/img_utils/include/img_utils/TiffEntry.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/media/img_utils/include/img_utils/TiffEntry.h b/media/img_utils/include/img_utils/TiffEntry.h index cd01640..4d672b2 100644 --- a/media/img_utils/include/img_utils/TiffEntry.h +++ b/media/img_utils/include/img_utils/TiffEntry.h @@ -34,10 +34,11 @@ inline bool operator op (const TiffEntry& entry) const; /** * This class holds a single TIFF IFD entry. + * + * Subclasses are expected to support assignment and copying operations. */ class ANDROID_API TiffEntry : public TiffWritable { public: - // TODO: Copy constructor/equals here. virtual ~TiffEntry(); /** @@ -83,7 +84,7 @@ class ANDROID_API TiffEntry : public TiffWritable { template<typename T> const T* getData() const; - String8 toString() const; + virtual String8 toString() const; /** * Force the type used here to be a valid TIFF type. @@ -99,10 +100,10 @@ class ANDROID_API TiffEntry : public TiffWritable { COMPARE_DEF(>) COMPARE_DEF(<) - protected: - enum { - MAX_PRINT_STRING_LENGTH = 256 - }; + protected: + enum { + MAX_PRINT_STRING_LENGTH = 256 + }; }; #define COMPARE(op) \ |