![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "bauhaus/bauhaus.h"
#include "common/darktable.h"
#include "common/exif.h"
#include "common/imageio.h"
#include "common/imageio_module.h"
#include "develop/pixelpipe_hb.h"
#include "external/libxcf/xcf.h"
#include "imageio/format/imageio_format_api.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Data Structures | |
struct | dt_imageio_xcf_gui_t |
struct | dt_imageio_xcf_t |
Typedefs | |
typedef struct dt_imageio_xcf_gui_t | dt_imageio_xcf_gui_t |
typedef struct dt_imageio_xcf_t | dt_imageio_xcf_t |
typedef struct dt_imageio_xcf_gui_t dt_imageio_xcf_gui_t |
typedef struct dt_imageio_xcf_t dt_imageio_xcf_t |
int bpp | ( | dt_imageio_module_data_t * | p | ) |
|
static |
References bpp, dt_bauhaus_combobox_get(), and dt_conf_set_int().
Referenced by gui_init().
void cleanup | ( | dt_imageio_module_format_t * | self | ) |
const char * extension | ( | dt_imageio_module_data_t * | data | ) |
int flags | ( | dt_imageio_module_data_t * | data | ) |
References FORMAT_FLAGS_SUPPORT_LAYERS.
void free_params | ( | dt_imageio_module_format_t * | self, |
dt_imageio_module_data_t * | params | ||
) |
void * get_params | ( | dt_imageio_module_format_t * | self | ) |
References dt_imageio_xcf_t::bpp, and dt_conf_get_string_const().
void gui_cleanup | ( | dt_imageio_module_format_t * | self | ) |
References dt_imageio_module_format_t::gui_data.
void gui_init | ( | dt_imageio_module_format_t * | self | ) |
References darktable_t::bauhaus, bpp, dt_imageio_xcf_gui_t::bpp, bpp_combobox_changed(), darktable, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_new(), dt_bauhaus_combobox_set(), dt_bauhaus_widget_set_label(), dt_conf_get_string_const(), dt_conf_key_exists(), DT_GUI_MODULE, dt_imageio_module_format_t::gui_data, TRUE, and dt_imageio_module_format_t::widget.
void gui_reset | ( | dt_imageio_module_format_t * | self | ) |
void init | ( | dt_imageio_module_format_t * | self | ) |
References bpp, darktable, dt_lua_register_module_member, and darktable_t::lua_state.
int levels | ( | dt_imageio_module_data_t * | p | ) |
References bpp, IMAGEIO_FLOAT, IMAGEIO_INT16, IMAGEIO_INT8, and IMAGEIO_RGB.
const char * mime | ( | dt_imageio_module_data_t * | data | ) |
const char * name | ( | ) |
size_t params_size | ( | dt_imageio_module_format_t * | self | ) |
Referenced by set_params().
int set_params | ( | dt_imageio_module_format_t * | self, |
const void * | params, | ||
int | size | ||
) |
int write_image | ( | dt_imageio_module_data_t * | data, |
const char * | filename, | ||
const void * | ivoid, | ||
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 | ||
) |
References dt_imageio_xcf_t::bpp, darktable_package_string, dt_dev_pixelpipe_iop_t::data, dt_colorspaces_get_output_profile(), dt_dev_get_raster_mask(), dt_free_align, FALSE, dt_imageio_xcf_t::global, dt_imageio_module_data_t::height, key, dt_dev_pixelpipe_t::nodes, dt_colorspaces_color_profile_t::profile, dt_dev_pixelpipe_iop_t::raster_masks, TRUE, and dt_imageio_module_data_t::width.