Go to the source code of this file.
|
static uint8_t | _to_uint8 (int i) |
|
static int | _from_uint8 (uint8_t i) |
|
static void | _dt_focus_cdf22_wtf (uint8_t *buf, const int l, const int width, const int height) |
|
static void | _dt_focus_update (dt_focus_cluster_t *f, int frows, int fcols, int i, int j, int wd, int ht, int diff) |
|
static void | dt_focus_create_clusters (dt_focus_cluster_t *focus, int frows, int fcols, uint8_t *buffer, int buffer_width, int buffer_height) |
|
static void | dt_focus_draw_clusters (cairo_t *cr, int width, int height, int32_t imgid, int buffer_width, int buffer_height, dt_focus_cluster_t *focus, int frows, int fcols, float full_zoom, float full_x, float full_y) |
|
◆ CHANNEL
◆ FOCUS_THRS
◆ gbuf
#define gbuf |
( |
|
BUF, |
|
|
|
A, |
|
|
|
B |
|
) |
| ((BUF)[4 * (width * ((B)) + ((A))) + ch]) |
◆ dt_focus_cluster_t
◆ _dt_focus_cdf22_wtf()
static void _dt_focus_cdf22_wtf |
( |
uint8_t * |
buf, |
|
|
const int |
l, |
|
|
const int |
width, |
|
|
const int |
height |
|
) |
| |
|
inlinestatic |
◆ _dt_focus_update()
static void _dt_focus_update |
( |
dt_focus_cluster_t * |
f, |
|
|
int |
frows, |
|
|
int |
fcols, |
|
|
int |
i, |
|
|
int |
j, |
|
|
int |
wd, |
|
|
int |
ht, |
|
|
int |
diff |
|
) |
| |
|
static |
◆ _from_uint8()
static int _from_uint8 |
( |
uint8_t |
i | ) |
|
|
inlinestatic |
◆ _to_uint8()
static uint8_t _to_uint8 |
( |
int |
i | ) |
|
|
inlinestatic |
◆ dt_focus_create_clusters()
static void dt_focus_create_clusters |
( |
dt_focus_cluster_t * |
focus, |
|
|
int |
frows, |
|
|
int |
fcols, |
|
|
uint8_t * |
buffer, |
|
|
int |
buffer_width, |
|
|
int |
buffer_height |
|
) |
| |
|
static |
◆ dt_focus_draw_clusters()
static void dt_focus_draw_clusters |
( |
cairo_t * |
cr, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int32_t |
imgid, |
|
|
int |
buffer_width, |
|
|
int |
buffer_height, |
|
|
dt_focus_cluster_t * |
focus, |
|
|
int |
frows, |
|
|
int |
fcols, |
|
|
float |
full_zoom, |
|
|
float |
full_x, |
|
|
float |
full_y |
|
) |
| |
|
static |
- Todo:
- : get those from rawprepare IOP somehow !!!
- Todo:
- : get those from rawprepare IOP somehow !!!
References dt_develop_t::border_size, dt_image_t::crop_x, dt_image_t::crop_y, darktable, darktable_t::develop, draw(), dt_dev_cleanup(), dt_dev_distort_transform_plus(), 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_dummy(), dt_dev_pixelpipe_set_input(), dt_dev_pixelpipe_synch_all, DT_DEV_TRANSFORM_DIR_ALL, dt_image_cache_get(), dt_image_cache_read_release(), DT_MIPMAP_NONE, DT_PIXEL_APPLY_DPI, FOCUS_THRS, darktable_t::gui, height, dt_dev_pixelpipe_t::iheight, darktable_t::image_cache, dt_dev_pixelpipe_t::iwidth, dt_gui_gtk_t::ppd, dt_dev_pixelpipe_t::processed_height, dt_dev_pixelpipe_t::processed_width, dt_focus_cluster_t::thrs, UNKNOWN_IMAGE, width, dt_focus_cluster_t::x, and dt_focus_cluster_t::y.
Referenced by _get_image_buffer().