![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <cstdio>#include <cstdlib>#include <memory>#include <OpenEXR/ImfChannelList.h>#include <OpenEXR/ImfFrameBuffer.h>#include <OpenEXR/ImfStandardAttributes.h>#include <OpenEXR/ImfThreading.h>#include <OpenEXR/ImfOutputFile.h>#include "glib.h"#include "bauhaus/bauhaus.h"#include "common/colorspaces.h"#include "common/darktable.h"#include "common/exif.h"#include "common/imageio.h"#include "common/imageio_exr.h"#include "common/imageio_module.h"#include "control/conf.h"#include "control/control.h"#include "imageio/format/imageio_format_api.h"#include "common/imageio_exr.hh"
Include dependency graph for exr.cc:Data Structures | |
| struct | dt_imageio_exr_t |
| struct | dt_imageio_exr_gui_t |
Macros | |
| #define | __STDC_FORMAT_MACROS |
Typedefs | |
| typedef struct dt_imageio_exr_t | dt_imageio_exr_t |
| typedef struct dt_imageio_exr_gui_t | dt_imageio_exr_gui_t |
Enumerations | |
| enum | dt_imageio_exr_compression_t { NO_COMPRESSION = 0 , RLE_COMPRESSION = 1 , ZIPS_COMPRESSION = 2 , ZIP_COMPRESSION = 3 , PIZ_COMPRESSION = 4 , PXR24_COMPRESSION = 5 , B44_COMPRESSION = 6 , B44A_COMPRESSION = 7 , DWAA_COMPRESSION = 8 , DWAB_COMPRESSION = 9 , NUM_COMPRESSION_METHODS } |
| enum | dt_imageio_exr_pixeltype_t { EXR_PT_UINT = 0 , EXR_PT_HALF = 1 , EXR_PT_FLOAT = 2 , NUM_PIXELTYPES } |
| #define __STDC_FORMAT_MACROS |
| typedef struct dt_imageio_exr_gui_t dt_imageio_exr_gui_t |
| typedef struct dt_imageio_exr_t dt_imageio_exr_t |
| int bpp | ( | dt_imageio_module_data_t * | p | ) |
|
static |
References dt_bauhaus_combobox_get(), dt_conf_set_int(), and EXR_PT_HALF.
Referenced by gui_init().
| void cleanup | ( | dt_imageio_module_format_t * | self | ) |
|
static |
References dt_bauhaus_combobox_get(), and dt_conf_set_int().
Referenced by gui_init().
| const char * extension | ( | dt_imageio_module_data_t * | data | ) |
| 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 bpp, dt_imageio_exr_t::compression, dt_conf_get_int(), and dt_imageio_exr_t::pixel_type.
| 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, dt_imageio_exr_gui_t::bpp, bpp_combobox_changed(), dt_imageio_exr_gui_t::compression, compression_combobox_changed(), darktable, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_new(), dt_bauhaus_combobox_set(), dt_bauhaus_widget_set_label(), dt_conf_get_int(), DT_GUI_MODULE, EXR_PT_HALF, 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 | ) |
| void * legacy_params | ( | 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 | ||
| ) |
References dt_imageio_exr_t::compression, EXR_PT_FLOAT, EXR_PT_HALF, dt_imageio_exr_t::global, height, dt_imageio_module_data_t::height, dt_imageio_module_data_t::max_height, dt_imageio_module_data_t::max_width, dt_imageio_exr_t::pixel_type, PIZ_COMPRESSION, dt_imageio_module_data_t::style, width, and dt_imageio_module_data_t::width.
Referenced by _dev_auto_apply_presets(), _process_history_db_entry(), _sync_blendop_params(), _sync_params(), and dt_dev_read_history_ext().
| int levels | ( | dt_imageio_module_data_t * | p | ) |
References IMAGEIO_FLOAT, 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 | ) |
| int set_params | ( | dt_imageio_module_format_t * | self, |
| const void * | params, | ||
| const int | size | ||
| ) |
| int write_image | ( | dt_imageio_module_data_t * | tmp, |
| const char * | filename, | ||
| const void * | in_tmp, | ||
| 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_exr_t::compression, darktable, darktable_package_string, dt_colorspaces_get_output_profile(), dt_control_log(), dt_exif_xmp_read_string(), dt_imageio_exr_t::global, height, dt_imageio_module_data_t::height, darktable_t::num_openmp_threads, dt_imageio_exr_t::pixel_type, dt_colorspaces_color_profile_t::profile, width, and dt_imageio_module_data_t::width.