Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
imageio_format_api.h File Reference
+ Include dependency graph for imageio_format_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,)
 
 OPTIONAL (void, gui_init, struct dt_imageio_module_format_t *self)
 
 REQUIRED (void, gui_cleanup, struct dt_imageio_module_format_t *self)
 
 REQUIRED (void, gui_reset, struct dt_imageio_module_format_t *self)
 
 REQUIRED (void, init, struct dt_imageio_module_format_t *self)
 
 REQUIRED (void, cleanup, struct dt_imageio_module_format_t *self)
 
 OPTIONAL (void *, legacy_params, struct dt_imageio_module_format_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_format_t *self)
 
 REQUIRED (void *, get_params, struct dt_imageio_module_format_t *self)
 
 REQUIRED (void, free_params, struct dt_imageio_module_format_t *self, struct dt_imageio_module_data_t *data)
 
 REQUIRED (int, set_params, struct dt_imageio_module_format_t *self, const void *params, const int size)
 
 REQUIRED (const char *, mime, struct dt_imageio_module_data_t *data)
 
 REQUIRED (const char *, extension, struct dt_imageio_module_data_t *data)
 
 OPTIONAL (int, dimension, struct dt_imageio_module_format_t *self, struct dt_imageio_module_data_t *data, uint32_t *width, uint32_t *height)
 
 REQUIRED (int, bpp, struct dt_imageio_module_data_t *data)
 
 REQUIRED (int, write_image, struct dt_imageio_module_data_t *data, const char *filename, const void *in, dt_colorspaces_color_profile_type_t over_type, const char *over_filename, void *exif, int exif_len, int32_t imgid, int num, int total, struct dt_dev_pixelpipe_t *pipe, const gboolean export_masks)
 
 OPTIONAL (int, levels, struct dt_imageio_module_data_t *data)
 
 OPTIONAL (int, flags, struct dt_imageio_module_data_t *data)
 
 OPTIONAL (int, read_image, struct dt_imageio_module_data_t *data, uint8_t *out)
 

Function Documentation

◆ OPTIONAL() [1/6]

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

◆ OPTIONAL() [2/6]

OPTIONAL ( int  ,
flags  ,
struct dt_imageio_module_data_t data 
)

◆ OPTIONAL() [3/6]

OPTIONAL ( int  ,
levels  ,
struct dt_imageio_module_data_t data 
)

◆ OPTIONAL() [4/6]

OPTIONAL ( int  ,
read_image  ,
struct dt_imageio_module_data_t data,
uint8_t *  out 
)

◆ OPTIONAL() [5/6]

OPTIONAL ( void ,
legacy_params  ,
struct dt_imageio_module_format_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/6]

OPTIONAL ( void  ,
gui_init  ,
struct dt_imageio_module_format_t self 
)

◆ REQUIRED() [1/13]

REQUIRED ( const char *  ,
extension  ,
struct dt_imageio_module_data_t data 
)

◆ REQUIRED() [2/13]

REQUIRED ( const char *  ,
mime  ,
struct dt_imageio_module_data_t data 
)

◆ REQUIRED() [3/13]

REQUIRED ( const char *  ,
name   
)

◆ REQUIRED() [4/13]

REQUIRED ( int  ,
bpp  ,
struct dt_imageio_module_data_t data 
)

◆ REQUIRED() [5/13]

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

◆ REQUIRED() [6/13]

REQUIRED ( int  ,
write_image  ,
struct dt_imageio_module_data_t data,
const char *  filename,
const void in,
dt_colorspaces_color_profile_type_t  over_type,
const char *  over_filename,
void exif,
int  exif_len,
int32_t  imgid,
int  num,
int  total,
struct dt_dev_pixelpipe_t pipe,
const gboolean  export_masks 
)

◆ REQUIRED() [7/13]

REQUIRED ( size_t  ,
params_size  ,
struct dt_imageio_module_format_t self 
)

◆ REQUIRED() [8/13]

REQUIRED ( void ,
get_params  ,
struct dt_imageio_module_format_t self 
)

◆ REQUIRED() [9/13]

REQUIRED ( void  ,
cleanup  ,
struct dt_imageio_module_format_t self 
)

◆ REQUIRED() [10/13]

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

◆ REQUIRED() [11/13]

REQUIRED ( void  ,
gui_cleanup  ,
struct dt_imageio_module_format_t self 
)

◆ REQUIRED() [12/13]

REQUIRED ( void  ,
gui_reset  ,
struct dt_imageio_module_format_t self 
)

◆ REQUIRED() [13/13]

REQUIRED ( void  ,
init  ,
struct dt_imageio_module_format_t self 
)