Lines Matching refs:exif
129 static ExifEntry *init_tag(ExifData *exif, ExifIfd ifd, ExifTag tag) in init_tag() argument
133 if (!((entry = exif_content_get_entry (exif->ifd[ifd], tag)))) { in init_tag()
141 exif_content_add_entry (exif->ifd[ifd], entry); in init_tag()
162 static ExifEntry *create_tag(ExifData *exif, ExifIfd ifd, ExifTag tag, size_t len) in create_tag() argument
187 exif_content_add_entry (exif->ifd[ifd], entry); in create_tag()
203 ExifData *exif = exif_data_new(); in main() local
204 if (!exif) { in main()
210 exif_data_set_option(exif, EXIF_DATA_OPTION_FOLLOW_SPECIFICATION); in main()
211 exif_data_set_data_type(exif, EXIF_DATA_TYPE_COMPRESSED); in main()
212 exif_data_set_byte_order(exif, FILE_BYTE_ORDER); in main()
215 exif_data_fix(exif); in main()
219 entry = init_tag(exif, EXIF_IFD_EXIF, EXIF_TAG_PIXEL_X_DIMENSION); in main()
222 entry = init_tag(exif, EXIF_IFD_EXIF, EXIF_TAG_PIXEL_Y_DIMENSION); in main()
225 entry = init_tag(exif, EXIF_IFD_EXIF, EXIF_TAG_COLOR_SPACE); in main()
233 entry = create_tag(exif, EXIF_IFD_EXIF, EXIF_TAG_USER_COMMENT, in main()
243 entry = create_tag(exif, EXIF_IFD_EXIF, EXIF_TAG_SUBJECT_AREA, in main()
253 exif_data_save_data(exif, &exif_data, &exif_data_len); in main()
259 exif_data_unref(exif); in main()
298 exif_data_unref(exif); in main()