diff options
Diffstat (limited to 'media/img_utils/src/TiffEntryImpl.cpp')
-rw-r--r-- | media/img_utils/src/TiffEntryImpl.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/media/img_utils/src/TiffEntryImpl.cpp b/media/img_utils/src/TiffEntryImpl.cpp index 6efa458..257c266 100644 --- a/media/img_utils/src/TiffEntryImpl.cpp +++ b/media/img_utils/src/TiffEntryImpl.cpp @@ -15,30 +15,11 @@ */ #include <img_utils/TiffEntryImpl.h> -#include <img_utils/TiffIfd.h> #include <utils/Vector.h> namespace android { namespace img_utils { -template<> -size_t TiffEntryImpl<TiffIfd>::getSize() const { - uint32_t total = 0; - for (uint32_t i = 0; i < mCount; ++i) { - total += mData[i].getSize(); - } - return total; -} - -template<> -status_t TiffEntryImpl<TiffIfd>::writeData(uint32_t offset, EndianOutput* out) const { - status_t ret = OK; - for (uint32_t i = 0; i < mCount; ++i) { - BAIL_ON_FAIL(mData[i].writeData(offset, out), ret); - } - return ret; -} - } /*namespace img_utils*/ } /*namespace android*/ |