• Home
  • Raw
  • Download

Lines Matching refs:ifd

96     sp<TiffIfd> ifd = mIfd;  in write()  local
97 while(ifd != NULL) { in write()
98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); in write()
99 offset += ifd->getSize(); in write()
100 ifd = ifd->getNextIfd(); in write()
143 sp<TiffIfd> ifd = mIfd; in write() local
144 while(ifd != NULL) { in write()
145 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); in write()
146 offset += ifd->getSize(); in write()
147 ifd = ifd->getNextIfd(); in write()
169 sp<TiffEntry> TiffWriter::getEntry(uint16_t tag, uint32_t ifd) const { in getEntry()
170 ssize_t index = mNamedIfds.indexOfKey(ifd); in getEntry()
172 ALOGE("%s: No IFD %d set for this writer.", __FUNCTION__, ifd); in getEntry()
178 void TiffWriter::removeEntry(uint16_t tag, uint32_t ifd) { in removeEntry() argument
179 ssize_t index = mNamedIfds.indexOfKey(ifd); in removeEntry()
185 status_t TiffWriter::addEntry(const sp<TiffEntry>& entry, uint32_t ifd) { in addEntry() argument
195 ssize_t index = mNamedIfds.indexOfKey(ifd); in addEntry()
199 ALOGE("%s: No IFD %u exists.", __FUNCTION__, ifd); in addEntry()
207 status_t TiffWriter::addStrip(uint32_t ifd) { in addStrip() argument
208 ssize_t index = mNamedIfds.indexOfKey(ifd); in addStrip()
210 ALOGE("%s: Ifd %u doesn't exist, cannot add strip entries.", __FUNCTION__, ifd); in addStrip()
217 status_t TiffWriter::addIfd(uint32_t ifd) { in addIfd() argument
218 ssize_t index = mNamedIfds.indexOfKey(ifd); in addIfd()
220 ALOGE("%s: Ifd with ID 0x%x already exists.", __FUNCTION__, ifd); in addIfd()
224 sp<TiffIfd> newIfd = new TiffIfd(ifd); in addIfd()
232 if(mNamedIfds.add(ifd, newIfd) < 0) { in addIfd()
233 ALOGE("%s: Failed to add new IFD 0x%x.", __FUNCTION__, ifd); in addIfd()
240 status_t TiffWriter::addSubIfd(uint32_t parentIfd, uint32_t ifd, SubIfdType type) { in addSubIfd() argument
241 ssize_t index = mNamedIfds.indexOfKey(ifd); in addSubIfd()
243 ALOGE("%s: Ifd with ID 0x%x already exists.", __FUNCTION__, ifd); in addSubIfd()
254 sp<TiffIfd> newIfd = new TiffIfd(ifd); in addSubIfd()
275 ifd); in addSubIfd()
303 if(mNamedIfds.add(ifd, newIfd) < 0) { in addSubIfd()
304 ALOGE("%s: Failed to add new IFD 0x%x.", __FUNCTION__, ifd); in addSubIfd()
329 bool TiffWriter::hasIfd(uint32_t ifd) const { in hasIfd()
330 ssize_t index = mNamedIfds.indexOfKey(ifd); in hasIfd()
347 sp<TiffIfd> ifd = mIfd; in findLastIfd() local
348 while(ifd != NULL) { in findLastIfd()
349 sp<TiffIfd> nextIfd = ifd->getNextIfd(); in findLastIfd()
353 ifd = nextIfd; in findLastIfd()
355 return ifd; in findLastIfd()
373 sp<TiffIfd> ifd = mIfd; in getTotalSize() local
374 while(ifd != NULL) { in getTotalSize()
375 totalSize += ifd->getSize(); in getTotalSize()
376 ifd = ifd->getNextIfd(); in getTotalSize()