Lines Matching refs:ifd
203 virtual std::unique_ptr<ExifEntry> AddVariableLengthEntry(ExifIfd ifd,
213 virtual std::unique_ptr<ExifEntry> AddEntry(ExifIfd ifd, ExifTag tag);
216 virtual bool SetShort(ExifIfd ifd, ExifTag tag, uint16_t value,
219 virtual bool SetLong(ExifIfd ifd, ExifTag tag, uint32_t value,
222 virtual bool SetRational(ExifIfd ifd, ExifTag tag, uint32_t numerator,
225 virtual bool SetSRational(ExifIfd ifd, ExifTag tag, int32_t numerator,
228 virtual bool SetString(ExifIfd ifd, ExifTag tag, ExifFormat format,
252 #define SET_SHORT(ifd, tag, value) \ argument
254 if (SetShort(ifd, tag, value, #tag) == false) return false; \
257 #define SET_LONG(ifd, tag, value) \ argument
259 if (SetLong(ifd, tag, value, #tag) == false) return false; \
262 #define SET_RATIONAL(ifd, tag, numerator, denominator) \ argument
264 if (SetRational(ifd, tag, numerator, denominator, #tag) == false) \
268 #define SET_SRATIONAL(ifd, tag, numerator, denominator) \ argument
270 if (SetSRational(ifd, tag, numerator, denominator, #tag) == false) \
274 #define SET_STRING(ifd, tag, format, buffer) \ argument
276 if (SetString(ifd, tag, format, buffer, #tag) == false) return false; \
502 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], ref_entry.get()); in SetGpsAltitude()
531 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], ref_entry.get()); in SetGpsLatitude()
559 exif_content_remove_entry(exif_data_->ifd[EXIF_IFD_GPS], ref_entry.get()); in SetGpsLongitude()
783 ExifIfd ifd, ExifTag tag, ExifFormat format, uint64_t components, in AddVariableLengthEntry() argument
786 exif_content_remove_entry(exif_data_->ifd[ifd], in AddVariableLengthEntry()
787 exif_content_get_entry(exif_data_->ifd[ifd], tag)); in AddVariableLengthEntry()
812 exif_content_add_entry(exif_data_->ifd[ifd], entry.get()); in AddVariableLengthEntry()
818 std::unique_ptr<ExifEntry> ExifUtilsImpl::AddEntry(ExifIfd ifd, ExifTag tag) { in AddEntry() argument
820 exif_content_get_entry(exif_data_->ifd[ifd], tag)); in AddEntry()
832 exif_content_add_entry(exif_data_->ifd[ifd], entry.get()); in AddEntry()
837 bool ExifUtilsImpl::SetShort(ExifIfd ifd, ExifTag tag, uint16_t value, in SetShort() argument
839 std::unique_ptr<ExifEntry> entry = AddEntry(ifd, tag); in SetShort()
848 bool ExifUtilsImpl::SetLong(ExifIfd ifd, ExifTag tag, uint32_t value, in SetLong() argument
850 std::unique_ptr<ExifEntry> entry = AddEntry(ifd, tag); in SetLong()
859 bool ExifUtilsImpl::SetRational(ExifIfd ifd, ExifTag tag, uint32_t numerator, in SetRational() argument
861 std::unique_ptr<ExifEntry> entry = AddEntry(ifd, tag); in SetRational()
871 bool ExifUtilsImpl::SetSRational(ExifIfd ifd, ExifTag tag, int32_t numerator, in SetSRational() argument
873 std::unique_ptr<ExifEntry> entry = AddEntry(ifd, tag); in SetSRational()
883 bool ExifUtilsImpl::SetString(ExifIfd ifd, ExifTag tag, ExifFormat format, in SetString() argument
892 AddVariableLengthEntry(ifd, tag, format, entry_size, entry_size); in SetString()