Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dev_snapshot.h File Reference
#include <cairo.h>
#include <glib.h>
#include <stdint.h>
+ Include dependency graph for dev_snapshot.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dt_dev_snapshot_t
 

Typedefs

typedef struct dt_dev_snapshot_t dt_dev_snapshot_t
 

Functions

gboolean dt_dev_snapshot_capture (dt_dev_snapshot_t *snap, struct dt_develop_t *dev, int32_t imgid, GList *history_override, GList *iop_order_override, int32_t history_end_override)
 
void dt_dev_snapshot_clear (dt_dev_snapshot_t *snap)
 
gboolean dt_dev_snapshot_is_valid (const dt_dev_snapshot_t *snap)
 
void dt_dev_snapshot_draw (dt_dev_snapshot_t *snap, cairo_t *cri, struct dt_develop_t *dev, int32_t width, int32_t height, double clip_x, double clip_y, double clip_w, double clip_h)
 

Typedef Documentation

◆ dt_dev_snapshot_t

Function Documentation

◆ dt_dev_snapshot_capture()

gboolean dt_dev_snapshot_capture ( dt_dev_snapshot_t snap,
struct dt_develop_t dev,
int32_t  imgid,
GList *  history_override,
GList *  iop_order_override,
int32_t  history_end_override 
)

Definition at line 341 of file dev_snapshot.c.

References _compute_main_roi(), _engine_unref(), _sync_main_now(), _sync_preview_now(), dt_mipmap_buffer_t::buf, dt_dev_snapshot_engine_t::captured, dt_dev_snapshot_engine_t::destroying, dt_atomic_set_int(), DT_DEBUG_DEV, dt_dev_cleanup(), dt_dev_create_module_instance(), dt_dev_get_global(), dt_dev_get_module_instance(), dt_dev_history_compute_hash(), dt_dev_history_free_history(), dt_dev_init(), dt_dev_load_image(), dt_dev_pixelpipe_cleanup(), dt_dev_pixelpipe_create_nodes(), dt_dev_pixelpipe_get_roi_out(), dt_dev_pixelpipe_init(), dt_dev_pixelpipe_propagate_formats(), dt_dev_pixelpipe_set_icc(), dt_dev_pixelpipe_set_input(), dt_dev_pixelpipe_synch_all, dt_dev_set_history_end_ext(), dt_dev_set_history_hash(), dt_dev_snapshot_clear(), dt_free, dt_free_gpointer(), dt_iop_get_module_by_op_priority(), dt_masks_replace_current_forms(), DT_MIPMAP_BLOCKING, dt_mipmap_cache_get, dt_mipmap_cache_release, DT_MIPMAP_FULL, dt_print(), dt_pthread_mutex_destroy(), dt_pthread_mutex_init(), dt_dev_snapshot_t::engine, FALSE, dt_dev_history_item_t::forms, dt_dev_snapshot_engine_t::frozen, dt_mipmap_buffer_t::height, dt_develop_t::history, i, dt_dev_pixelpipe_t::icc_filename, dt_dev_pixelpipe_t::icc_intent, dt_dev_pixelpipe_t::icc_type, dt_image_t::id, dt_develop_t::image_storage, dt_develop_t::iop, dt_develop_t::iop_order_list, IS_NULL_PTR, dt_mipmap_buffer_t::iscale, dt_dev_snapshot_engine_t::lock, dt_dev_history_item_t::multi_name, dt_dev_history_item_t::multi_priority, dt_dev_history_item_t::op_name, p, dt_dev_snapshot_engine_t::pipe, dt_dev_snapshot_engine_t::preview_pipe, dt_develop_t::preview_pipe, dt_dev_snapshot_engine_t::raw_height, dt_dev_snapshot_engine_t::raw_iscale, dt_dev_snapshot_engine_t::raw_width, dt_dev_snapshot_engine_t::ref_count, TRUE, and dt_mipmap_buffer_t::width.

Referenced by _lib_duplicate_thumb_press_callback(), and _lib_snapshot_capture_state().

◆ dt_dev_snapshot_clear()

◆ dt_dev_snapshot_draw()

◆ dt_dev_snapshot_is_valid()

gboolean dt_dev_snapshot_is_valid ( const dt_dev_snapshot_t snap)