Ansel 0.0
A darktable fork - bloat + design vision
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
imageio_storage_api.h File Reference
+ Include dependency graph for imageio_storage_api.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 REQUIRED (const char *, name, const struct dt_imageio_module_storage_t *self)
 
 REQUIRED (void, gui_init, struct dt_imageio_module_storage_t *self)
 
 REQUIRED (void, gui_cleanup, struct dt_imageio_module_storage_t *self)
 
 REQUIRED (void, gui_reset, struct dt_imageio_module_storage_t *self)
 
 REQUIRED (void, init, struct dt_imageio_module_storage_t *self)
 
 DEFAULT (gboolean, supported, struct dt_imageio_module_storage_t *self, struct dt_imageio_module_format_t *format)
 
 OPTIONAL (int, dimension, struct dt_imageio_module_storage_t *self, struct dt_imageio_module_data_t *data, uint32_t *width, uint32_t *height)
 
 OPTIONAL (int, recommended_dimension, struct dt_imageio_module_storage_t *self, struct dt_imageio_module_data_t *data, uint32_t *width, uint32_t *height)
 
 OPTIONAL (int, initialize_store, struct dt_imageio_module_storage_t *self, struct dt_imageio_module_data_t *data, struct dt_imageio_module_format_t **format, struct dt_imageio_module_data_t **fdata, GList **images, const gboolean high_quality)
 
 REQUIRED (int, store, struct dt_imageio_module_storage_t *self, struct dt_imageio_module_data_t *self_data, const int32_t imgid, struct dt_imageio_module_format_t *format, struct dt_imageio_module_data_t *fdata, const int num, const int total, const gboolean high_quality, const gboolean export_masks, const enum dt_colorspaces_color_profile_type_t icc_type, const gchar *icc_filename, enum dt_iop_color_intent_t icc_intent, struct dt_export_metadata_t *metadata)
 
 OPTIONAL (void, finalize_store, struct dt_imageio_module_storage_t *self, struct dt_imageio_module_data_t *data)
 
 OPTIONAL (void *, legacy_params, struct dt_imageio_module_storage_t *self, const void *const old_params, const size_t old_params_size, const int old_version, const int new_version, size_t *new_size)
 
 REQUIRED (size_t, params_size, struct dt_imageio_module_storage_t *self)
 
 REQUIRED (void *, get_params, struct dt_imageio_module_storage_t *self)
 
 REQUIRED (void, free_params, struct dt_imageio_module_storage_t *self, struct dt_imageio_module_data_t *data)
 
 REQUIRED (int, set_params, struct dt_imageio_module_storage_t *self, const void *params, const int size)
 
 OPTIONAL (void, export_dispatched, struct dt_imageio_module_storage_t *self)
 
 OPTIONAL (char *, ask_user_confirmation, struct dt_imageio_module_storage_t *self)
 

Function Documentation

◆ DEFAULT()

DEFAULT ( gboolean  ,
supported  ,
struct dt_imageio_module_storage_t self,
struct dt_imageio_module_format_t format 
)

◆ OPTIONAL() [1/7]

OPTIONAL ( char *  ,
ask_user_confirmation  ,
struct dt_imageio_module_storage_t self 
)

◆ OPTIONAL() [2/7]

OPTIONAL ( int  ,
dimension  ,
struct dt_imageio_module_storage_t self,
struct dt_imageio_module_data_t data,
uint32_t *  width,
uint32_t *  height 
)

◆ OPTIONAL() [3/7]

OPTIONAL ( int  ,
initialize_store  ,
struct dt_imageio_module_storage_t self,
struct dt_imageio_module_data_t data,
struct dt_imageio_module_format_t **  format,
struct dt_imageio_module_data_t **  fdata,
GList **  images,
const gboolean  high_quality 
)

◆ OPTIONAL() [4/7]

OPTIONAL ( int  ,
recommended_dimension  ,
struct dt_imageio_module_storage_t self,
struct dt_imageio_module_data_t data,
uint32_t *  width,
uint32_t *  height 
)

◆ OPTIONAL() [5/7]

OPTIONAL ( void ,
legacy_params  ,
struct dt_imageio_module_storage_t self,
const void *const  old_params,
const size_t  old_params_size,
const int  old_version,
const int  new_version,
size_t *  new_size 
)

◆ OPTIONAL() [6/7]

OPTIONAL ( void  ,
export_dispatched  ,
struct dt_imageio_module_storage_t self 
)

◆ OPTIONAL() [7/7]

OPTIONAL ( void  ,
finalize_store  ,
struct dt_imageio_module_storage_t self,
struct dt_imageio_module_data_t data 
)

◆ REQUIRED() [1/10]

REQUIRED ( const char *  ,
name  ,
const struct dt_imageio_module_storage_t self 
)

◆ REQUIRED() [2/10]

REQUIRED ( int  ,
set_params  ,
struct dt_imageio_module_storage_t self,
const void params,
const int  size 
)

◆ REQUIRED() [3/10]

REQUIRED ( int  ,
store  ,
struct dt_imageio_module_storage_t self,
struct dt_imageio_module_data_t self_data,
const int32_t  imgid,
struct dt_imageio_module_format_t format,
struct dt_imageio_module_data_t fdata,
const int  num,
const int  total,
const gboolean  high_quality,
const gboolean  export_masks,
const enum dt_colorspaces_color_profile_type_t  icc_type,
const gchar *  icc_filename,
enum dt_iop_color_intent_t  icc_intent,
struct dt_export_metadata_t metadata 
)

◆ REQUIRED() [4/10]

REQUIRED ( size_t  ,
params_size  ,
struct dt_imageio_module_storage_t self 
)

◆ REQUIRED() [5/10]

REQUIRED ( void ,
get_params  ,
struct dt_imageio_module_storage_t self 
)

◆ REQUIRED() [6/10]

REQUIRED ( void  ,
free_params  ,
struct dt_imageio_module_storage_t self,
struct dt_imageio_module_data_t data 
)

◆ REQUIRED() [7/10]

REQUIRED ( void  ,
gui_cleanup  ,
struct dt_imageio_module_storage_t self 
)

◆ REQUIRED() [8/10]

REQUIRED ( void  ,
gui_init  ,
struct dt_imageio_module_storage_t self 
)

◆ REQUIRED() [9/10]

REQUIRED ( void  ,
gui_reset  ,
struct dt_imageio_module_storage_t self 
)

◆ REQUIRED() [10/10]

REQUIRED ( void  ,
init  ,
struct dt_imageio_module_storage_t self 
)