![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "common/colorspaces_inline_conversions.h"
#include "control/control.h"
#include "develop/develop.h"
#include "gui/gtk.h"
#include "iop/iop_api.h"
Data Structures | |
struct | dt_iop_gamma_params_t |
Typedefs | |
typedef struct dt_iop_gamma_params_t | dt_iop_gamma_params_t |
Functions | |
const char * | name () |
int | default_group () |
int | flags () |
int | default_colorspace (dt_iop_module_t *self, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
static void | _write_pixel (const float *const restrict in, uint8_t *const restrict out, const float *const restrict mask_color, const float alpha) |
static void | _normalize_color (float *const restrict pixel, const float norm) |
static void | _XYZ_to_REC_709_normalized (const float *const restrict XYZ, float *const restrict sRGB, const float norm) |
static void | _channel_display_monochrome (const float *const restrict in, uint8_t *const restrict out, const size_t buffsize, const float alpha) |
static void | _channel_display_false_color (const float *const restrict in, uint8_t *const restrict out, const size_t buffsize, const float alpha, dt_dev_pixelpipe_display_mask_t channel) |
static void | _mask_display (const float *const restrict in, uint8_t *const restrict out, const size_t buffsize, const float alpha) |
static void | _copy_output (const float *const restrict in, uint8_t *const restrict out, const size_t buffsize) |
void | process (struct dt_iop_module_t *self, dt_dev_pixelpipe_iop_t *piece, const void *const i, void *const o, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out) |
void | init (dt_iop_module_t *module) |
typedef struct dt_iop_gamma_params_t dt_iop_gamma_params_t |
|
static |
References _channel_display_monochrome(), _normalize_color(), _write_pixel(), _XYZ_to_REC_709_normalized(), DT_DEV_PIXELPIPE_DISPLAY_a, DT_DEV_PIXELPIPE_DISPLAY_ANY, DT_DEV_PIXELPIPE_DISPLAY_b, DT_DEV_PIXELPIPE_DISPLAY_B, DT_DEV_PIXELPIPE_DISPLAY_G, DT_DEV_PIXELPIPE_DISPLAY_GRAY, DT_DEV_PIXELPIPE_DISPLAY_HSL_H, DT_DEV_PIXELPIPE_DISPLAY_HSL_l, DT_DEV_PIXELPIPE_DISPLAY_HSL_S, DT_DEV_PIXELPIPE_DISPLAY_JzCzhz_Cz, DT_DEV_PIXELPIPE_DISPLAY_JzCzhz_hz, DT_DEV_PIXELPIPE_DISPLAY_JzCzhz_Jz, DT_DEV_PIXELPIPE_DISPLAY_L, DT_DEV_PIXELPIPE_DISPLAY_LCH_C, DT_DEV_PIXELPIPE_DISPLAY_LCH_h, DT_DEV_PIXELPIPE_DISPLAY_OUTPUT, DT_DEV_PIXELPIPE_DISPLAY_R, dt_HSL_2_RGB(), dt_JzAzBz_2_XYZ(), dt_JzCzhz_2_JzAzBz(), dt_Lab_to_XYZ(), dt_LCH_2_Lab(), and dt_XYZ_to_Rec709_D65().
Referenced by process().
|
static |
References _write_pixel().
Referenced by _channel_display_false_color(), and process().
|
static |
Referenced by process().
|
static |
References _write_pixel().
Referenced by process().
|
static |
References factor, and for_each_channel.
Referenced by _channel_display_false_color(), and _XYZ_to_REC_709_normalized().
|
inlinestatic |
Referenced by _channel_display_false_color(), _channel_display_monochrome(), and _mask_display().
|
inlinestatic |
References _normalize_color(), and dt_XYZ_to_Rec709_D50().
Referenced by _channel_display_false_color().
int default_colorspace | ( | dt_iop_module_t * | self, |
dt_dev_pixelpipe_t * | pipe, | ||
dt_dev_pixelpipe_iop_t * | piece | ||
) |
References IOP_CS_RGB.
int default_group | ( | ) |
References IOP_GROUP_TECHNICAL.
int flags | ( | ) |
void init | ( | dt_iop_module_t * | module | ) |
const char * name | ( | ) |
void process | ( | struct dt_iop_module_t * | self, |
dt_dev_pixelpipe_iop_t * | piece, | ||
const void *const | i, | ||
void *const | o, | ||
const dt_iop_roi_t *const | roi_in, | ||
const dt_iop_roi_t *const | roi_out | ||
) |
References _channel_display_false_color(), _channel_display_monochrome(), _copy_output(), _mask_display(), dt_dev_pixelpipe_iop_t::colors, dt_conf_is_equal(), DT_DEV_PIXELPIPE_DISPLAY_ANY, DT_DEV_PIXELPIPE_DISPLAY_CHANNEL, DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_iop_have_required_input_format(), dt_iop_roi_t::height, dt_dev_pixelpipe_iop_t::pipe, and dt_iop_roi_t::width.