36struct dt_dev_raster_mask_t;
246 gboolean store_masks);
289#define dt_dev_pixelpipe_synch_all(pipe, dev) dt_dev_pixelpipe_synch_all_real(pipe, dev, __FUNCTION__)
295 int height,
double scale);
312 gboolean *free_mask,
int *
error);
static void error(char *msg)
Definition ashift_lsd.c:191
atomic_int dt_atomic_int
Definition atomic.h:44
int levels(struct dt_imageio_module_data_t *data)
Definition avif.c:685
int width
Definition bilateral.h:1
int height
Definition bilateral.h:1
dt_iop_color_intent_t
Definition colorspaces.h:43
dt_colorspaces_color_profile_type_t
Definition colorspaces.h:61
dt_imageio_levels_t
Definition imageio.h:46
float iscale
Definition mipmap_cache.c:2
size_t size
Definition mipmap_cache.c:3
dt_mipmap_size_t
Definition mipmap_cache.h:30
dt_dev_request_flags_t
Definition pixelpipe.h:41
dt_dev_pixelpipe_type_t
Definition pixelpipe.h:28
Pixelpipe cache for storing intermediate results in the pixelpipe.
int dt_dev_pixelpipe_process(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev, int x, int y, int width, int height, double scale)
Definition pixelpipe_hb.c:1970
void dt_dev_pixelpipe_disable_before(dt_dev_pixelpipe_t *pipe, const char *op)
Definition pixelpipe_hb.c:1922
int dt_dev_pixelpipe_init_preview(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:159
void dt_dev_pixelpipe_set_input(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev, int32_t imgid, int width, int height, float iscale, dt_mipmap_size_t size)
Definition pixelpipe_hb.c:230
void dt_dev_pixelpipe_reset_reentry(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:315
int dt_dev_pixelpipe_init_cached(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:180
void dt_dev_pixelpipe_get_roi_out(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev, const int width_in, const int height_in, int *width, int *height)
Definition pixelpipe_hb.c:2114
gboolean dt_dev_pixelpipe_has_reentry(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:310
gboolean dt_dev_write_rawdetail_mask(dt_dev_pixelpipe_iop_t *piece, float *const rgb, const dt_iop_roi_t *const roi_in, const int mode)
Definition pixelpipe_hb.c:2417
int dt_dev_pixelpipe_process_no_gamma(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev, int x, int y, int width, int height, double scale)
Definition pixelpipe_hb.c:1889
void dt_dev_pixelpipe_disable_after(dt_dev_pixelpipe_t *pipe, const char *op)
Definition pixelpipe_hb.c:1908
dt_dev_pixelpipe_change_t
Definition pixelpipe_hb.h:103
@ DT_DEV_PIPE_ZOOMED
Definition pixelpipe_hb.h:109
@ DT_DEV_PIPE_SYNCH
Definition pixelpipe_hb.h:107
@ DT_DEV_PIPE_TOP_CHANGED
Definition pixelpipe_hb.h:105
@ DT_DEV_PIPE_REMOVE
Definition pixelpipe_hb.h:106
@ DT_DEV_PIPE_UNCHANGED
Definition pixelpipe_hb.h:104
void dt_dev_pixelpipe_set_icc(dt_dev_pixelpipe_t *pipe, dt_colorspaces_color_profile_type_t icc_type, const gchar *icc_filename, dt_iop_color_intent_t icc_intent)
Definition pixelpipe_hb.c:244
void dt_dev_pixelpipe_synch_top(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev)
Definition pixelpipe_hb.c:591
int dt_dev_pixelpipe_init_export(dt_dev_pixelpipe_t *pipe, int32_t width, int32_t height, int levels, gboolean store_masks)
Definition pixelpipe_hb.c:135
void dt_dev_pixelpipe_get_roi_in(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev, const struct dt_iop_roi_t roi_out)
Definition pixelpipe_hb.c:2151
void dt_dev_pixelpipe_create_nodes(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev)
Definition pixelpipe_hb.c:352
int dt_dev_pixelpipe_init_dummy(dt_dev_pixelpipe_t *pipe, int32_t width, int32_t height)
Definition pixelpipe_hb.c:152
float * dt_dev_get_raster_mask(dt_dev_pixelpipe_t *pipe, const struct dt_iop_module_t *raster_mask_source, const int raster_mask_id, const struct dt_iop_module_t *target_module, gboolean *free_mask, int *error)
void dt_dev_pixelpipe_synch_all_real(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev, const char *caller_func)
Find the last history item matching each pipeline node (module), in the order of pipeline execution....
Definition pixelpipe_hb.c:542
void dt_dev_pixelpipe_cleanup(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:253
gboolean dt_dev_pixelpipe_unset_reentry(dt_dev_pixelpipe_t *pipe, uint64_t hash)
Remove the re-entry pipeline flag, only if the object identifier is the one that set it....
Definition pixelpipe_hb.c:297
dt_dev_pixelpipe_status_t
Definition pixelpipe_hb.h:113
@ DT_DEV_PIXELPIPE_INVALID
Definition pixelpipe_hb.h:117
@ DT_DEV_PIXELPIPE_VALID
Definition pixelpipe_hb.h:116
@ DT_DEV_PIXELPIPE_DIRTY
Definition pixelpipe_hb.h:114
@ DT_DEV_PIXELPIPE_UNDEF
Definition pixelpipe_hb.h:115
gboolean dt_dev_pixelpipe_activemodule_disables_currentmodule(struct dt_develop_t *dev, struct dt_iop_module_t *current_module)
Definition pixelpipe_hb.c:2105
int dt_dev_pixelpipe_init_thumbnail(dt_dev_pixelpipe_t *pipe, int32_t width, int32_t height)
Definition pixelpipe_hb.c:145
int dt_dev_pixelpipe_init(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:170
float * dt_dev_distort_detail_mask(const dt_dev_pixelpipe_t *pipe, float *src, const struct dt_iop_module_t *target_module)
gboolean dt_dev_pixelpipe_set_reentry(dt_dev_pixelpipe_t *pipe, uint64_t hash)
Set the re-entry pipeline flag, only if no object is already capturing it. Re-entered pipelines run w...
Definition pixelpipe_hb.c:283
void dt_dev_pixelpipe_change(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev)
Definition pixelpipe_hb.c:642
void dt_dev_clear_rawdetail_mask(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:2411
void dt_dev_pixelpipe_cleanup_nodes(dt_dev_pixelpipe_t *pipe)
Definition pixelpipe_hb.c:323
void dt_pixelpipe_get_global_hash(dt_dev_pixelpipe_t *pipe, struct dt_develop_t *dev)
Definition pixelpipe_hb.c:431
unsigned __int64 uint64_t
Definition strptime.c:71
Definition pixelpipe.h:49
Definition pixelpipe.h:60
Definition pixelpipe_hb.h:46
gboolean enabled
Definition pixelpipe_hb.h:62
int colors
Definition pixelpipe_hb.h:85
dt_iop_buffer_dsc_t dsc_out
Definition pixelpipe_hb.h:94
uint32_t histogram_max[4]
Definition pixelpipe_hb.h:68
double iscale
Definition pixelpipe_hb.h:70
dt_dev_request_flags_t request_histogram
Definition pixelpipe_hb.h:64
size_t data_size
Definition pixelpipe_hb.h:59
dt_iop_roi_t buf_in
Definition pixelpipe_hb.h:86
uint64_t blendop_hash
Definition pixelpipe_hb.h:75
struct dt_iop_module_t *struct dt_dev_pixelpipe_t * pipe
Definition pixelpipe_hb.h:48
dt_iop_roi_t processed_roi_in
Definition pixelpipe_hb.h:88
int iheight
Definition pixelpipe_hb.h:71
uint64_t global_hash
Definition pixelpipe_hb.h:79
uint64_t hash
Definition pixelpipe_hb.h:74
int process_cl_ready
Definition pixelpipe_hb.h:90
dt_iop_buffer_dsc_t dsc_in
Definition pixelpipe_hb.h:94
uint32_t * histogram
Definition pixelpipe_hb.h:66
int iwidth
Definition pixelpipe_hb.h:71
dt_dev_histogram_stats_t histogram_stats
Definition pixelpipe_hb.h:67
uint64_t global_mask_hash
Definition pixelpipe_hb.h:82
dt_iop_roi_t processed_roi_out
Definition pixelpipe_hb.h:88
dt_iop_roi_t planned_roi_out
Definition pixelpipe_hb.h:89
gboolean bypass_cache
Definition pixelpipe_hb.h:97
dt_iop_roi_t buf_out
Definition pixelpipe_hb.h:87
int process_tiling_ready
Definition pixelpipe_hb.h:91
int bpc
Definition pixelpipe_hb.h:84
GHashTable * raster_masks
Definition pixelpipe_hb.h:99
dt_dev_histogram_collection_params_t histogram_params
Definition pixelpipe_hb.h:65
dt_iop_buffer_dsc_t dsc_mask
Definition pixelpipe_hb.h:94
void * data
Definition pixelpipe_hb.h:49
void * blendop_data
Definition pixelpipe_hb.h:61
dt_iop_roi_t planned_roi_in
Definition pixelpipe_hb.h:89
Definition pixelpipe_hb.h:40
float * mask
Definition pixelpipe_hb.h:42
int id
Definition pixelpipe_hb.h:41
Definition pixelpipe_hb.h:127
dt_colorspaces_color_profile_type_t icc_type
Definition pixelpipe_hb.h:200
struct dt_iop_order_iccprofile_info_t * work_profile_info
Definition pixelpipe_hb.h:146
struct dt_iop_order_iccprofile_info_t * input_profile_info
Definition pixelpipe_hb.h:148
int iwidth
Definition pixelpipe_hb.h:133
int want_detail_mask
Definition pixelpipe_hb.h:171
float backbuf_zoom_x
Definition pixelpipe_hb.h:160
GList * iop
Definition pixelpipe_hb.h:204
int opencl_error
Definition pixelpipe_hb.h:183
struct dt_iop_order_iccprofile_info_t * output_profile_info
Definition pixelpipe_hb.h:150
int running
Definition pixelpipe_hb.h:177
uint64_t backbuf_hash
Definition pixelpipe_hb.h:161
gchar * icc_filename
Definition pixelpipe_hb.h:201
int processed_width
Definition pixelpipe_hb.h:137
dt_dev_pixelpipe_change_t changed
Definition pixelpipe_hb.h:155
uint64_t last_history_hash
Definition pixelpipe_hb.h:215
dt_pthread_mutex_t busy_mutex
Definition pixelpipe_hb.h:162
gboolean flush_cache
Definition pixelpipe_hb.h:233
int mask_display
Definition pixelpipe_hb.h:187
float backbuf_scale
Definition pixelpipe_hb.h:159
GList * nodes
Definition pixelpipe_hb.h:153
dt_dev_pixelpipe_status_t status
Definition pixelpipe_hb.h:143
dt_imageio_levels_t levels
Definition pixelpipe_hb.h:194
uint8_t * backbuf
Definition pixelpipe_hb.h:157
gboolean reentry
Definition pixelpipe_hb.h:221
dt_mipmap_size_t size
Definition pixelpipe_hb.h:130
dt_iop_color_intent_t icc_intent
Definition pixelpipe_hb.h:202
dt_image_t image
Definition pixelpipe_hb.h:198
float * rawdetail_mask_data
Definition pixelpipe_hb.h:169
dt_atomic_int shutdown
Definition pixelpipe_hb.h:179
int output_backbuf_width
Definition pixelpipe_hb.h:165
dt_iop_buffer_dsc_t dsc
Definition pixelpipe_hb.h:141
uint64_t reentry_hash
Definition pixelpipe_hb.h:227
int opencl_enabled
Definition pixelpipe_hb.h:181
float backbuf_zoom_y
Definition pixelpipe_hb.h:160
int output_backbuf_height
Definition pixelpipe_hb.h:165
uint8_t * output_backbuf
Definition pixelpipe_hb.h:164
dt_dev_pixelpipe_type_t type
Definition pixelpipe_hb.h:192
float iscale
Definition pixelpipe_hb.h:135
int processed_height
Definition pixelpipe_hb.h:137
int32_t imgid
Definition pixelpipe_hb.h:129
gboolean store_all_raster_masks
Definition pixelpipe_hb.h:210
dt_pthread_mutex_t backbuf_mutex
Definition pixelpipe_hb.h:162
int bypass_blendif
Definition pixelpipe_hb.h:189
int tiling
Definition pixelpipe_hb.h:185
int backbuf_width
Definition pixelpipe_hb.h:158
int iheight
Definition pixelpipe_hb.h:133
struct dt_iop_roi_t rawdetail_mask_roi
Definition pixelpipe_hb.h:170
GList * forms
Definition pixelpipe_hb.h:208
int devid
Definition pixelpipe_hb.h:196
int processing
Definition pixelpipe_hb.h:175
int output_imgid
Definition pixelpipe_hb.h:173
GList * iop_order_list
Definition pixelpipe_hb.h:206
int backbuf_height
Definition pixelpipe_hb.h:158
int input_timestamp
Definition pixelpipe_hb.h:191
dt_clipping_preview_mode_t mode
Definition develop.h:285
struct dt_dev_pixelpipe_t * pipe
Definition develop.h:156
Definition common/image.h:195
Definition develop/format.h:36
Definition iop_profile.h:41