![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
The XMP-sidecar half of what used to be common/exif.cc. More...
#include <errno.h>#include "common/paths.h"#include <glib.h>#include <glib/gstdio.h>#include <time.h>#include <cmath>#include <cstdlib>#include <cstring>#include <fstream>#include <iostream>#include <sstream>#include <string>#include <exiv2/exiv2.hpp>#include <pugixml.hpp>#include "common/xmp_sidecar.h"#include "metadata/exif.h"#include "metadata/exif_internal.h"#include "caches/image_cache.h"#include "common/conf.h"#include "common/datetime.h"#include "common/deprecations.h"#include "history/history.h"#include "common/utility.h"#include "common/variables.h"#include "database/colorlabel_repository.h"#include "database/database.h"#include "database/history_repository.h"#include "database/image_repository.h"#include "database/metadata_repository.h"#include "develop/blend.h"#include "develop/iop_order.h"#include "develop/masks.h"#include "imageio/imageio_core.h"#include "metadata/metadata.h"#include "metadata/notify.h"#include "metadata/tags.h"#include "system/macros.h"#include "system/mem_alloc.h"Go to the source code of this file.
Data Structures | |
| struct | history_entry_t |
| struct | mask_entry_t |
| struct | _xmp_mask_ctx_t |
| struct | _xmp_history_ctx_t |
| struct | _xmp_metadata_ctx_t |
Macros | |
| #define | __STDC_FORMAT_MACROS |
| #define | DT_XMP_EXIF_VERSION 5 |
| #define | ERROR_CODE(a) |
Typedefs | |
| typedef struct history_entry_t | history_entry_t |
| typedef struct mask_entry_t | mask_entry_t |
| typedef struct _xmp_mask_ctx_t | _xmp_mask_ctx_t |
| typedef struct _xmp_history_ctx_t | _xmp_history_ctx_t |
| typedef struct _xmp_metadata_ctx_t | _xmp_metadata_ctx_t |
Functions | |
| static const char * | _exif_get_exiv2_tag_type (const char *tagname) |
| static void | read_xmp_timestamps (Exiv2::XmpData &xmpData, dt_image_t *img, const int xmp_version) |
| static bool | _read_xmp_packet (const char *filename, std::string &packet) |
Read an XMP packet off disk into packet, FALSE if the file cannot be read. | |
| static void | dt_remove_known_keys (Exiv2::XmpData &xmp) |
| static void | dt_remove_xmp_keys (Exiv2::XmpData &xmp, const char *keys[], unsigned int n_keys) |
| static void | dt_remove_exif_geotag (Exiv2::ExifData &exifData) |
| int | dt_exif_read_blob (uint8_t **buf, const char *path, const int32_t imgid, const int sRGB, const int out_width, const int out_height, const int dng_mode) |
| static void | print_history_entry (history_entry_t *entry) __attribute__((unused)) |
| static void | free_history_entry (gpointer data) |
| static GList * | read_history_v1 (const std::string &xmpPacket, const char *filename, const int superold) |
| static GList * | read_history_v2 (Exiv2::XmpData &xmpData, const char *filename) |
| void | free_mask_entry (gpointer data) |
| static GHashTable * | read_masks (Exiv2::XmpData &xmpData, const char *filename, const int version) |
| static GList * | read_masks_v3 (Exiv2::XmpData &xmpData, const char *filename, const int version) |
| static void | add_mask_entry_to_db (int32_t imgid, mask_entry_t *entry) |
| static void | add_non_clone_mask_entries_to_db (gpointer key, gpointer value, gpointer user_data) |
| static void | add_mask_entries_to_db (int32_t imgid, GHashTable *mask_entries, int mask_id) |
| int | _get_max_multi_priority (GList *history, const char *operation) |
| int | dt_exif_xmp_read (dt_image_t *img, const char *filename, const int history_only) |
| static void | _xmp_append_mask (void *user_data, const int mask_num, const int mask_id, const int mask_type, const char *mask_name, const int mask_version, const void *points, const int points_len, const int mask_nb, const void *source, const int source_len) |
| static void | _xmp_append_history (void *user_data, const int32_t row_imgid, const int hist_num, const int modversion, const char *operation, const void *op_params, const int params_len, const gboolean enabled, const void *blendop_params_blob, const int blendop_params_len, const int blendop_version, const int multi_priority, const char *multi_name, const char *preset_name) |
| static void | dt_set_xmp_dt_history (Exiv2::XmpData &xmpData, const int32_t imgid, int history_end) |
| static void | set_xmp_timestamps (Exiv2::XmpData &xmpData, const int32_t imgid) |
| GTimeSpan | _convert_unix_to_gtimespan (const time_t unix) |
| static void | dt_remove_xmp_exif_geotag (Exiv2::XmpData &xmpData) |
| static void | dt_set_xmp_exif_geotag (Exiv2::XmpData &xmpData, double longitude, double latitude, double altitude) |
| static void | _xmp_append_metadata (void *user_data, const int keyid, const char *value) |
| static void | _xmp_append_colorlabel (void *user_data, const int color) |
| static void | dt_set_xmp_dt_metadata (Exiv2::XmpData &xmpData, const int32_t imgid, const gboolean export_flag) |
| static void | _exif_xmp_append_history_hash (Exiv2::XmpData &xmpData, const int32_t imgid, const dt_image_t *image) |
| static void | _exif_xmp_read_data (Exiv2::XmpData &xmpData, const int32_t imgid, const dt_image_t *image) |
| static void | _exif_xmp_read_data_export (Exiv2::XmpData &xmpData, const int32_t imgid, dt_export_metadata_t *metadata) |
| char * | dt_exif_xmp_read_string (const int32_t imgid) |
| static void | dt_remove_xmp_key (Exiv2::XmpData &xmp, const char *key) |
| static void | _remove_xmp_keys (Exiv2::XmpData &xmpData, const char *key) |
| static void | dt_remove_exif_key (Exiv2::ExifData &exif, const char *key) |
| static void | dt_remove_iptc_key (Exiv2::IptcData &iptc, const char *key) |
| int | dt_exif_xmp_attach_export (const int32_t imgid, const char *filename, void *metadata) |
| int | dt_exif_xmp_write_with_imgpath (const dt_image_t *image, const char *filename, const char *imgpath) |
Variables | |
| const char * | dt_xmp_keys [] |
| static const guint | dt_xmp_keys_n = G_N_ELEMENTS(dt_xmp_keys) |
The XMP-sidecar half of what used to be common/exif.cc.
Cut out of a 4775-line translation unit that was doing two unrelated jobs. This one serialises the development – history stack, mask shapes, module order – into and out of the XMP document; the other, the photograph's own tags, is metadata/exif.cc. See common/xmp_sidecar.h, including why this is not in src/metadata.
Definition in file xmp_sidecar.cc.
| #define __STDC_FORMAT_MACROS |
Definition at line 73 of file xmp_sidecar.cc.
| #define DT_XMP_EXIF_VERSION 5 |
Definition at line 135 of file xmp_sidecar.cc.
Referenced by _exif_xmp_read_data(), and _exif_xmp_read_data_export().
| #define ERROR_CODE | ( | a | ) |
Definition at line 2216 of file xmp_sidecar.cc.
Referenced by dt_exif_xmp_read_string(), and dt_exif_xmp_write_with_imgpath().
| typedef struct _xmp_history_ctx_t _xmp_history_ctx_t |
| typedef struct _xmp_mask_ctx_t _xmp_mask_ctx_t |
| typedef struct _xmp_metadata_ctx_t _xmp_metadata_ctx_t |
| typedef struct history_entry_t history_entry_t |
| typedef struct mask_entry_t mask_entry_t |
| GTimeSpan _convert_unix_to_gtimespan | ( | const time_t | unix | ) |
Definition at line 1787 of file xmp_sidecar.cc.
References dt_datetime_gdatetime_to_gtimespan().
Referenced by read_xmp_timestamps().
|
static |
Definition at line 142 of file xmp_sidecar.cc.
References dt_exif_get_exiv2_taglist(), IS_NULL_PTR, and t.
Referenced by dt_exif_xmp_attach_export().
|
static |
Definition at line 1931 of file xmp_sidecar.cc.
References dt_exif_xmp_encode(), dt_free, dt_image_cache_get(), dt_image_cache_read_release(), dt_image_t::history_hash, IS_NULL_PTR, and value.
Referenced by _exif_xmp_read_data(), and _exif_xmp_read_data_export().
|
static |
Definition at line 1955 of file xmp_sidecar.cc.
References _exif_xmp_append_history_hash(), dt_datetime_gtimespan_to_exif(), DT_DATETIME_LENGTH, dt_free, dt_free_gpointer(), DT_IMAGE_AUTO_PRESETS_APPLIED, dt_image_get_xmp_rating_from_flags(), dt_image_repository_get_xmp_row(), dt_image_repository_xmp_row_cleanup(), DT_IOP_ORDER_ANSEL_RAW, DT_IOP_ORDER_CUSTOM, dt_ioppr_get_iop_order_list(), dt_ioppr_get_iop_order_version(), dt_ioppr_has_multiple_instances(), dt_ioppr_serialize_text_iop_order_list(), dt_set_xmp_dt_history(), dt_set_xmp_dt_metadata(), dt_set_xmp_exif_geotag(), dt_tag_get_hierarchical(), dt_tag_get_list(), DT_XMP_EXIF_VERSION, FALSE, row, set_xmp_timestamps(), and TRUE.
Referenced by dt_exif_xmp_read_string(), and dt_exif_xmp_write_with_imgpath().
|
static |
Definition at line 2078 of file xmp_sidecar.cc.
References _exif_xmp_append_history_hash(), dt_datetime_gtimespan_to_exif(), DT_DATETIME_LENGTH, dt_free, dt_free_gpointer(), DT_IMAGE_AUTO_PRESETS_APPLIED, dt_image_get_xmp_rating_from_flags(), dt_image_repository_get_xmp_row(), dt_image_repository_xmp_row_cleanup(), DT_IOP_ORDER_ANSEL_RAW, DT_IOP_ORDER_CUSTOM, dt_ioppr_get_iop_order_list(), dt_ioppr_get_iop_order_version(), dt_ioppr_has_multiple_instances(), dt_ioppr_serialize_text_iop_order_list(), DT_META_DT_HISTORY, DT_META_EXIF, DT_META_GEOTAG, DT_META_HIERARCHICAL_TAG, DT_META_METADATA, DT_META_TAG, dt_remove_xmp_exif_geotag(), dt_set_xmp_dt_history(), dt_set_xmp_dt_metadata(), dt_set_xmp_exif_geotag(), dt_tag_get_hierarchical_export(), dt_tag_get_list_export(), DT_XMP_EXIF_VERSION, dt_export_metadata_t::flags, row, and TRUE.
Referenced by dt_exif_xmp_attach_export().
| int _get_max_multi_priority | ( | GList * | history, |
| const char * | operation ) |
Definition at line 1223 of file xmp_sidecar.cc.
References MAX, history_entry_t::multi_priority, and history_entry_t::operation.
|
static |
Read an XMP packet off disk into packet, FALSE if the file cannot be read.
Exiv2::readFile() would do this, but only through exiv2's own path handling – which is exactly the capability 0.28 dropped on Windows (see WIDEN() in metadata/exif_internal.h). These are small sidecar files and Ansel already has a reader that goes through g_fopen(), so there is no reason to route them back out through exiv2 and depend on something it may not be able to do. It also drops the 0.27-vs-0.28 fork over DataBuf's members that each of those call sites carried.
Definition at line 195 of file xmp_sidecar.cc.
References dt_free, dt_read_file(), and IS_NULL_PTR.
Referenced by dt_exif_xmp_attach_export(), and dt_exif_xmp_read_string().
|
static |
Definition at line 2294 of file xmp_sidecar.cc.
Referenced by dt_exif_xmp_attach_export().
Definition at line 1908 of file xmp_sidecar.cc.
Referenced by dt_set_xmp_dt_metadata().
|
static |
Definition at line 1687 of file xmp_sidecar.cc.
References dt_exif_xmp_encode(), dt_free, enabled, IS_NULL_PTR, key, _xmp_history_ctx_t::num, params, and _xmp_history_ctx_t::xmpData.
Referenced by dt_set_xmp_dt_history().
|
static |
Definition at line 1645 of file xmp_sidecar.cc.
References dt_exif_xmp_encode(), dt_free, key, mask_id, mask_name, _xmp_mask_ctx_t::num, and _xmp_mask_ctx_t::xmpData.
Referenced by dt_set_xmp_dt_history().
Definition at line 1890 of file xmp_sidecar.cc.
References dt_conf_get_int(), dt_free, DT_METADATA_FLAG_HIDDEN, DT_METADATA_FLAG_PRIVATE, dt_metadata_get_key(), dt_metadata_get_name(), dt_metadata_get_type(), DT_METADATA_TYPE_INTERNAL, dt_util_dstrcat(), _xmp_metadata_ctx_t::export_flag, flag, name, value, and _xmp_metadata_ctx_t::xmpData.
Referenced by dt_set_xmp_dt_metadata().
|
static |
Definition at line 1197 of file xmp_sidecar.cc.
References add_mask_entries_to_db(), add_mask_entry_to_db(), DT_MASKS_GROUP, i, IS_NULL_PTR, mask_id, mask_entry_t::mask_nb, mask_entry_t::mask_points, mask_entry_t::mask_points_len, and mask_entry_t::mask_type.
Referenced by add_mask_entries_to_db(), and dt_exif_xmp_read().
|
static |
Definition at line 1161 of file xmp_sidecar.cc.
References mask_entry_t::already_added, dt_history_repository_write_mask_item(), mask_entry_t::mask_id, mask_entry_t::mask_name, mask_entry_t::mask_nb, mask_entry_t::mask_num, mask_entry_t::mask_points, mask_entry_t::mask_points_len, mask_entry_t::mask_src, mask_entry_t::mask_src_len, mask_entry_t::mask_type, mask_entry_t::mask_version, TRUE, and mask_entry_t::version.
Referenced by add_mask_entries_to_db(), add_non_clone_mask_entries_to_db(), and dt_exif_xmp_read().
|
static |
Definition at line 1190 of file xmp_sidecar.cc.
References add_mask_entry_to_db(), DT_MASKS_CLONE, DT_MASKS_NON_CLONE, key, mask_entry_t::mask_type, and value.
Referenced by dt_exif_xmp_read().
| int dt_exif_read_blob | ( | uint8_t ** | blob, |
| const char * | path, | ||
| const int32_t | imgid, | ||
| const int | sRGB, | ||
| const int | out_width, | ||
| const int | out_height, | ||
| const int | dng_mode ) |
write exif to blob, return length in bytes. blob will be allocated by the function. sRGB should be true if sRGB colorspace is used as output.
Definition at line 270 of file xmp_sidecar.cc.
References darktable_package_string, dt_conf_get_int(), DT_DATETIME_EXIF_LENGTH, dt_datetime_img_to_exif(), DT_DATETIME_LENGTH, dt_datetime_now_to_exif(), dt_free, dt_free_gpointer(), dt_image_cache_get(), dt_image_cache_read_release(), dt_metadata_get(), dt_remove_exif_geotag(), dt_remove_exif_keys(), dt_image_geoloc_t::elevation, dt_image_t::geoloc, i, IS_NULL_PTR, dt_image_geoloc_t::latitude, dt_image_geoloc_t::longitude, memcpy(), res, sRGB, and WIDEN.
Referenced by dt_control_merge_hdr_job_run(), and dt_imageio_export_with_flags().
| int dt_exif_xmp_attach_export | ( | const int32_t | imgid, |
| const char * | filename, | ||
| void * | metadata ) |
write xmp packet inside an image.
Definition at line 2338 of file xmp_sidecar.cc.
References _exif_get_exiv2_tag_type(), _exif_xmp_read_data_export(), _read_xmp_packet(), _remove_xmp_keys(), dt_exif_read_exif_tag(), dt_free, dt_image_full_path(), dt_image_path_append_version(), DT_META_EXIF, DT_META_GEOTAG, DT_PATH_MAX, dt_remove_exif_geotag(), dt_remove_exif_key(), dt_remove_iptc_key(), dt_remove_known_keys(), dt_remove_xmp_key(), dt_remove_xmp_keys(), dt_variables_expand(), dt_variables_params_destroy(), dt_variables_params_init(), dt_variables_set_tags_flags(), FALSE, g_strfreev(), i, IS_NULL_PTR, key, m, params, TRUE, type, and WIDEN.
Referenced by dt_imageio_export_with_flags().
| int dt_exif_xmp_read | ( | dt_image_t * | img, |
| const char * | filename, | ||
| const int | history_only ) |
read xmp sidecar file.
Definition at line 1239 of file xmp_sidecar.cc.
References add_mask_entries_to_db(), add_mask_entry_to_db(), add_non_clone_mask_entries_to_db(), history_entry_t::blendop_params, history_entry_t::blendop_params_len, history_entry_t::blendop_version, dt_database_get_last_error(), dt_database_release_transaction, dt_database_rollback_transaction(), dt_database_start_transaction, dt_deprecated(), dt_exif_decode_xmp_data(), dt_exif_xmp_decode(), dt_free, dt_free_gpointer(), dt_history_repository_count_mask_items(), dt_history_repository_delete_history(), dt_history_repository_delete_masks_history(), dt_history_repository_get_next_num(), dt_history_repository_set_end(), dt_history_repository_shift_nums(), dt_history_repository_write_item(), DT_IMAGE_AUTO_PRESETS_APPLIED, DT_IMAGE_NO_LEGACY_PRESETS, DT_IMAGE_REMOVE, DT_IOP_ORDER_ANSEL_RAW, DT_IOP_ORDER_LEGACY, dt_ioppr_deserialize_text_iop_order_list(), dt_ioppr_get_iop_order_link(), dt_ioppr_get_iop_order_list_version(), dt_ioppr_insert_missing_modules(), dt_ioppr_write_iop_order_list(), dt_sort_iop_list_by_order_f(), history_entry_t::enabled, FALSE, dt_image_t::flags, free_history_entry(), free_mask_entry(), dt_image_t::history_hash, dt_image_t::id, in, dt_iop_order_entry_t::instance, history_entry_t::iop_order, dt_iop_order_entry_t::iop_order_f, IS_NULL_PTR, dt_image_raw_parameters_t::legacy, dt_image_t::legacy_flip, memcpy(), MIN, history_entry_t::modversion, history_entry_t::multi_name, history_entry_t::multi_priority, history_entry_t::num, dt_iop_order_entry_t::o, dt_iop_order_entry_t::operation, history_entry_t::operation, out, history_entry_t::params, history_entry_t::params_len, read_history_v1(), read_history_v2(), read_masks(), read_masks_v3(), read_xmp_timestamps(), TRUE, dt_image_raw_parameters_t::user_flip, and WIDEN.
Referenced by _history_load_and_apply_apply(), _image_import_internal(), dt_image_read_duplicates(), and main().
| char * dt_exif_xmp_read_string | ( | const int32_t | imgid | ) |
get the xmp blob for imgid.
Definition at line 2219 of file xmp_sidecar.cc.
References _exif_xmp_read_data(), _read_xmp_packet(), dt_image_full_path(), dt_image_path_append_version(), DT_PATH_MAX, dt_remove_known_keys(), ERROR_CODE, and FALSE.
Referenced by write_image(), and write_image().
| int dt_exif_xmp_write_with_imgpath | ( | const dt_image_t * | image, |
| const char * | filename, | ||
| const char * | imgpath ) |
Definition at line 2585 of file xmp_sidecar.cc.
References _exif_xmp_read_data(), dt_free, DT_METADATA_NOTICE_MESSAGE, dt_metadata_notify(), dt_read_file(), dt_remove_known_keys(), ERROR_CODE, dt_image_t::id, IS_NULL_PTR, and TRUE.
Referenced by _write_sidecar_file_from_image_locked(), and write_image().
|
static |
Definition at line 254 of file xmp_sidecar.cc.
References dt_remove_exif_keys().
Referenced by dt_exif_read_blob(), and dt_exif_xmp_attach_export().
|
static |
Definition at line 2312 of file xmp_sidecar.cc.
References key.
Referenced by dt_exif_xmp_attach_export().
|
static |
Definition at line 2325 of file xmp_sidecar.cc.
References key.
Referenced by dt_exif_xmp_attach_export().
|
static |
Definition at line 214 of file xmp_sidecar.cc.
References dt_xmp_keys, dt_xmp_keys_n, i, and key.
Referenced by dt_exif_xmp_attach_export(), dt_exif_xmp_read_string(), and dt_exif_xmp_write_with_imgpath().
|
static |
Definition at line 1828 of file xmp_sidecar.cc.
References dt_remove_xmp_keys().
Referenced by _exif_xmp_read_data_export(), and dt_set_xmp_exif_geotag().
|
static |
Definition at line 2281 of file xmp_sidecar.cc.
References key.
Referenced by dt_exif_xmp_attach_export().
|
static |
Definition at line 234 of file xmp_sidecar.cc.
References i.
Referenced by dt_exif_xmp_attach_export(), dt_remove_xmp_exif_geotag(), and set_xmp_timestamps().
|
static |
Definition at line 1736 of file xmp_sidecar.cc.
References _xmp_append_history(), _xmp_append_mask(), dt_history_repository_foreach_mask_item(), dt_history_repository_foreach_row(), MIN, _xmp_history_ctx_t::num, and _xmp_mask_ctx_t::num.
Referenced by _exif_xmp_read_data(), and _exif_xmp_read_data_export().
|
static |
Definition at line 1916 of file xmp_sidecar.cc.
References _xmp_append_colorlabel(), _xmp_append_metadata(), dt_colorlabel_repository_foreach(), dt_metadata_repository_foreach(), and v.
Referenced by _exif_xmp_read_data(), and _exif_xmp_read_data_export().
|
static |
Definition at line 1842 of file xmp_sidecar.cc.
References double(), dt_free, and dt_remove_xmp_exif_geotag().
Referenced by _exif_xmp_read_data(), and _exif_xmp_read_data_export().
|
static |
Definition at line 689 of file xmp_sidecar.cc.
References history_entry_t::blendop_params, data, dt_free, history_entry_t::multi_name, history_entry_t::operation, and history_entry_t::params.
Referenced by dt_exif_xmp_read(), and read_history_v2().
| void free_mask_entry | ( | gpointer | data | ) |
Definition at line 981 of file xmp_sidecar.cc.
References data, dt_free, mask_entry_t::mask_name, mask_entry_t::mask_points, and mask_entry_t::mask_src.
Referenced by dt_exif_xmp_read(), read_masks(), and read_masks_v3().
|
static |
Definition at line 669 of file xmp_sidecar.cc.
References history_entry_t::blendop_params, history_entry_t::blendop_version, history_entry_t::enabled, history_entry_t::iop_order, IS_NULL_PTR, history_entry_t::modversion, history_entry_t::multi_name, history_entry_t::multi_priority, history_entry_t::operation, and history_entry_t::params.
|
static |
Definition at line 702 of file xmp_sidecar.cc.
References history_entry_t::blendop_params, history_entry_t::blendop_params_len, history_entry_t::blendop_version, dt_exif_xmp_decode(), enabled, history_entry_t::enabled, history_entry_t::iop_order, history_entry_t::modversion, history_entry_t::multi_name, history_entry_t::multi_priority, history_entry_t::operation, history_entry_t::params, params, and history_entry_t::params_len.
Referenced by dt_exif_xmp_read().
|
static |
Definition at line 837 of file xmp_sidecar.cc.
References history_entry_t::blendop_params, history_entry_t::blendop_params_len, history_entry_t::blendop_version, dt_exif_xmp_decode(), dt_free, history_entry_t::enabled, free_history_entry(), history_entry_t::have_modversion, history_entry_t::have_operation, history_entry_t::have_params, history_entry_t::iop_order, key, history_entry_t::modversion, history_entry_t::multi_name, history_entry_t::multi_priority, n, history_entry_t::num, history_entry_t::operation, history_entry_t::params, history_entry_t::params_len, and TRUE.
Referenced by dt_exif_xmp_read().
|
static |
Definition at line 990 of file xmp_sidecar.cc.
References dt_exif_xmp_decode(), free_mask_entry(), i, mask_entry_t::mask_id, mask_id, mask_entry_t::mask_name, mask_name, mask_entry_t::mask_nb, mask_entry_t::mask_points, mask_entry_t::mask_points_len, mask_entry_t::mask_src, mask_entry_t::mask_src_len, mask_entry_t::mask_type, mask_entry_t::mask_version, and mask_entry_t::version.
Referenced by dt_exif_xmp_read().
|
static |
Definition at line 1056 of file xmp_sidecar.cc.
References dt_exif_xmp_decode(), dt_free, free_mask_entry(), key, mask_entry_t::mask_id, mask_entry_t::mask_name, mask_entry_t::mask_nb, mask_entry_t::mask_num, mask_entry_t::mask_points, mask_entry_t::mask_points_len, mask_entry_t::mask_src, mask_entry_t::mask_src_len, mask_entry_t::mask_type, mask_entry_t::mask_version, n, and mask_entry_t::version.
Referenced by dt_exif_xmp_read().
|
static |
Definition at line 1800 of file xmp_sidecar.cc.
References _convert_unix_to_gtimespan(), dt_image_t::change_timestamp, dt_image_t::export_timestamp, and dt_image_t::print_timestamp.
Referenced by dt_exif_xmp_read().
|
static |
Definition at line 1765 of file xmp_sidecar.cc.
References dt_image_timestamps_t::change_timestamp, dt_image_repository_get_timestamps(), dt_remove_xmp_keys(), dt_image_timestamps_t::export_timestamp, dt_image_timestamps_t::has_change, dt_image_timestamps_t::has_export, dt_image_timestamps_t::has_import, dt_image_timestamps_t::has_print, dt_image_timestamps_t::import_timestamp, and dt_image_timestamps_t::print_timestamp.
Referenced by _exif_xmp_read_data().
| const char* dt_xmp_keys[] |
Definition at line 166 of file xmp_sidecar.cc.
Referenced by dt_remove_known_keys().
|
static |
Definition at line 184 of file xmp_sidecar.cc.
Referenced by dt_remove_known_keys().