![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <mipmap_cache.h>
Collaboration diagram for dt_mipmap_buffer_t:Data Fields | |
| dt_mipmap_size_t | size |
| int32_t | imgid |
| int32_t | width |
| int32_t | height |
| float | iscale |
| uint8_t * | buf |
| dt_colorspaces_color_profile_type_t | color_space |
| dt_cache_entry_t * | cache_entry |
| NULL with a non-NULL buf when a blocking get could not allocate the thumbnail's entry: buf is then a shared, read-only skull and status is DT_IMAGEIO_CACHE_FULL. | |
| dt_imageio_retval_t | status |
| Why the entry holds no image: a thumbnail drawn as a skull, or a full-size input with no pixels. DT_IMAGEIO_OK otherwise, and when buf is NULL because the entry is not available yet rather than failed. | |
Definition at line 71 of file mipmap_cache.h.
| uint8_t* dt_mipmap_buffer_t::buf |
Definition at line 77 of file mipmap_cache.h.
Referenced by _deflicker_prepare_histogram(), _dt_dev_mipmap_prefetch_full(), _generate_blocking(), _import_get_thumbnail(), _init_8(), _init_f(), _invalidate_buffer(), _paint_skulls(), _preview_pipe_finished(), _sync_dsc_to_buf(), _validate_buffer(), _view_image_get_surface_internal(), dt_dev_snapshot_capture(), dt_imageio_close_standalone(), dt_imageio_export_with_flags(), dt_load_from_string(), dt_mipmap_cache_alloc(), dt_mipmap_cache_get_with_caller_and_shutdown(), dt_mipmap_cache_release_with_caller(), process(), process_cl(), and tiling_callback().
| dt_cache_entry_t* dt_mipmap_buffer_t::cache_entry |
NULL with a non-NULL buf when a blocking get could not allocate the thumbnail's entry: buf is then a shared, read-only skull and status is DT_IMAGEIO_CACHE_FULL.
Definition at line 81 of file mipmap_cache.h.
Referenced by _dt_dev_mipmap_prefetch_full(), _view_image_get_surface_internal(), dt_imageio_close_standalone(), dt_imageio_open_standalone(), dt_mipmap_cache_alloc(), dt_mipmap_cache_get_with_caller_and_shutdown(), and dt_mipmap_cache_release_with_caller().
| dt_colorspaces_color_profile_type_t dt_mipmap_buffer_t::color_space |
Definition at line 78 of file mipmap_cache.h.
Referenced by _init_8(), _init_f(), _sync_dsc_to_buf(), _view_image_get_surface_internal(), and dt_mipmap_cache_get_with_caller_and_shutdown().
| int32_t dt_mipmap_buffer_t::height |
Definition at line 75 of file mipmap_cache.h.
Referenced by _dt_dev_mipmap_prefetch_full(), _generate_blocking(), _import_get_thumbnail(), _init_8(), _init_f(), _invalidate_buffer(), _set_orientation(), _sync_dsc_to_buf(), _view_image_get_surface_internal(), dt_dev_snapshot_capture(), dt_imageio_export_with_flags(), dt_mipmap_cache_get_with_caller_and_shutdown(), process(), process_cl(), and tiling_callback().
| int32_t dt_mipmap_buffer_t::imgid |
Definition at line 74 of file mipmap_cache.h.
Referenced by _sync_dsc_to_buf(), dt_mipmap_cache_get_with_caller_and_shutdown(), and dt_mipmap_cache_release_with_caller().
| float dt_mipmap_buffer_t::iscale |
Definition at line 76 of file mipmap_cache.h.
Referenced by _invalidate_buffer(), _sync_dsc_to_buf(), dt_dev_snapshot_capture(), dt_imageio_export_with_flags(), and dt_mipmap_cache_get_with_caller_and_shutdown().
| dt_mipmap_size_t dt_mipmap_buffer_t::size |
Definition at line 73 of file mipmap_cache.h.
Referenced by _set_orientation(), _sync_dsc_to_buf(), dt_imageio_open_standalone(), dt_mipmap_cache_alloc(), dt_mipmap_cache_get_with_caller_and_shutdown(), and dt_mipmap_cache_release_with_caller().
| dt_imageio_retval_t dt_mipmap_buffer_t::status |
Why the entry holds no image: a thumbnail drawn as a skull, or a full-size input with no pixels. DT_IMAGEIO_OK otherwise, and when buf is NULL because the entry is not available yet rather than failed.
Definition at line 85 of file mipmap_cache.h.
Referenced by _dt_dev_mipmap_prefetch_full(), _generate_blocking(), _invalidate_buffer(), _sync_dsc_to_buf(), _view_image_get_surface_internal(), dt_imageio_export_with_flags(), and dt_mipmap_cache_get_with_caller_and_shutdown().
| int32_t dt_mipmap_buffer_t::width |
Definition at line 75 of file mipmap_cache.h.
Referenced by _dt_dev_mipmap_prefetch_full(), _generate_blocking(), _import_get_thumbnail(), _init_8(), _init_f(), _invalidate_buffer(), _set_orientation(), _sync_dsc_to_buf(), _view_image_get_surface_internal(), dt_dev_snapshot_capture(), dt_imageio_export_with_flags(), dt_mipmap_cache_get_with_caller_and_shutdown(), process(), process_cl(), and tiling_callback().