Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_mipmap_buffer_t Struct Reference

#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.
 

Detailed Description

Definition at line 71 of file mipmap_cache.h.

Field Documentation

◆ buf

◆ cache_entry

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().

◆ color_space

◆ height

◆ imgid

int32_t dt_mipmap_buffer_t::imgid

◆ iscale

◆ size

◆ status

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().

◆ width


The documentation for this struct was generated from the following file: