![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for pixelpipe.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_histogram_collection_params_t |
| struct | dt_dev_histogram_stats_t |
Macros | |
| #define | DT_IOP_PARAMS_T |
Typedefs | |
| typedef enum dt_dev_pixelpipe_type_t | dt_dev_pixelpipe_type_t |
| typedef enum dt_dev_request_flags_t | dt_dev_request_flags_t |
| typedef struct dt_dev_histogram_collection_params_t | dt_dev_histogram_collection_params_t |
| typedef struct dt_dev_histogram_stats_t | dt_dev_histogram_stats_t |
| typedef void | dt_iop_params_t |
Enumerations | |
| enum | dt_dev_pixelpipe_type_t { DT_DEV_PIXELPIPE_NONE = 0 , DT_DEV_PIXELPIPE_EXPORT = 1 , DT_DEV_PIXELPIPE_FULL = 2 , DT_DEV_PIXELPIPE_PREVIEW = 3 , DT_DEV_PIXELPIPE_THUMBNAIL = 4 } |
| enum | dt_dev_request_flags_t { DT_REQUEST_NONE = 0 , DT_REQUEST_ON = 1 << 0 , DT_REQUEST_ONLY_IN_GUI = 1 << 1 } |
Functions | |
| const char * | dt_pixelpipe_name (dt_dev_pixelpipe_type_t pipe) |
| GHashTable * | dt_pixelpipe_raster_alloc () |
| void | dt_pixelpipe_raster_cleanup (GHashTable *raster_masks) |
| uint64_t | dt_dev_pixelpipe_rawdetail_mask_hash (const struct dt_dev_pixelpipe_iop_t *piece) |
| Build the shared cache key used by the hidden detailmask module. | |
| void | dt_dev_clear_rawdetail_mask (struct dt_dev_pixelpipe_t *pipe) |
| Release the side-band detail mask cache reference currently owned by the pipeline. | |
| gboolean | dt_pixelpipe_raster_replace (GHashTable *raster_masks, float *mask) |
| Replace a raster mask in the raster masks hashtable of the pixelpipe. | |
| gboolean | dt_pixelpipe_raster_remove (GHashTable *raster_masks) |
| Remove the raster mask with id 0 from the raster masks hashtable of the pixelpipe. | |
| float * | dt_pixelpipe_raster_get (GHashTable *raster_masks, const int raster_mask_id) |
| Get the raster mask with given id from the raster masks hashtable of the pixelpipe. | |
| #define DT_IOP_PARAMS_T |
| typedef struct dt_dev_histogram_stats_t dt_dev_histogram_stats_t |
| typedef enum dt_dev_pixelpipe_type_t dt_dev_pixelpipe_type_t |
| typedef enum dt_dev_request_flags_t dt_dev_request_flags_t |
when to collect histogram
| typedef void dt_iop_params_t |
| void dt_dev_clear_rawdetail_mask | ( | struct dt_dev_pixelpipe_t * | pipe | ) |
Release the side-band detail mask cache reference currently owned by the pipeline.
References darktable, dt_dev_pixelpipe_cache_unref_hash(), DT_PIXELPIPE_CACHE_HASH_INVALID, darktable_t::pixelpipe_cache, dt_dev_pixelpipe_t::rawdetail_mask_hash, and dt_dev_pixelpipe_t::rawdetail_mask_roi.
Referenced by dt_dev_pixelpipe_cleanup(), dt_dev_retrieve_rawdetail_mask(), process(), and process_cl().
| uint64_t dt_dev_pixelpipe_rawdetail_mask_hash | ( | const struct dt_dev_pixelpipe_iop_t * | piece | ) |
Build the shared cache key used by the hidden detailmask module.
The detailmask module copies its input pixels to its regular output cacheline, so the side-band detail mask needs its own stable cache identity. We derive it from the producer piece global hash with a constant salt so:
| const char * dt_pixelpipe_name | ( | dt_dev_pixelpipe_type_t | pipe | ) |
| GHashTable * dt_pixelpipe_raster_alloc | ( | ) |
References _free_raster_mask().
Referenced by dt_dev_pixelpipe_create_nodes().
| void dt_pixelpipe_raster_cleanup | ( | GHashTable * | raster_masks | ) |
Referenced by dt_dev_pixelpipe_cleanup_nodes().
| float * dt_pixelpipe_raster_get | ( | GHashTable * | raster_masks, |
| const int | raster_mask_id | ||
| ) |
Get the raster mask with given id from the raster masks hashtable of the pixelpipe.
| raster_masks | the raster masks hashtable of the pixelpipe |
| raster_mask_id | the raster mask id |
References IS_NULL_PTR.
Referenced by dt_dev_get_raster_mask().
| gboolean dt_pixelpipe_raster_remove | ( | GHashTable * | raster_masks | ) |
Remove the raster mask with id 0 from the raster masks hashtable of the pixelpipe.
| raster_masks | the raster masks hashtable of the pixelpipe |
Referenced by dt_develop_blend_process(), and dt_develop_blend_process_cl().
| gboolean dt_pixelpipe_raster_replace | ( | GHashTable * | raster_masks, |
| float * | mask | ||
| ) |
Replace a raster mask in the raster masks hashtable of the pixelpipe.
| raster_masks | the raster masks hashtable of the pixelpipe |
| mask | the pointer to the mask |
Referenced by dt_develop_blend_process(), and dt_develop_blend_process_cl().