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

#include <format.h>

+ Collaboration diagram for dt_iop_buffer_dsc_t:

Data Fields

unsigned int channels
 
dt_iop_buffer_type_t datatype
 
size_t bpp
 
uint32_t filters
 
uint8_t xtrans [6][6]
 
struct { 
 
   uint16_t   raw_black_level 
 
   uint16_t   raw_white_point 
 
rawprepare 
 
struct { 
 
   int   enabled 
 
   dt_aligned_pixel_t   coeffs 
 
temperature 
 
dt_aligned_pixel_t processed_maximum
 
int cst
 

Field Documentation

◆ bpp

◆ channels

unsigned int dt_iop_buffer_dsc_t::channels

how many channels the data has? 1 or 4

Referenced by _commit_piece_contract(), _deflicker_prepare_histogram(), _develop_mask_get_post_operations(), _ioporder_descriptor_to_text(), _pixelpipe_pick_from_image(), _prepare_piece_input_contract(), _print_nan_debug(), _refresh_pipe_detail_mask_state(), _refresh_preview_cursor_sample(), _refresh_preview_module_histogram_for_hash(), _sync_private_buffer_from_preview_cache(), _trace_buffer_content(), autoset(), autoset(), commit_params(), commit_params(), default_input_format(), default_output_format(), dt_color_picker_helper(), dt_control_merge_hdr_process(), dt_dev_pixelpipe_debug_dump_module_io(), dt_dev_pixelpipe_get_roi_in(), dt_develop_blend_process(), dt_develop_blend_process_cl(), dt_develop_blendif_lab_blend(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_raw_blend(), dt_develop_blendif_raw_make_mask(), dt_develop_blendif_rgb_hsl_blend(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_blend(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_image_init(), dt_image_print_debug_info(), dt_imageio_open_avif(), dt_imageio_open_exr(), dt_imageio_open_heif(), dt_imageio_open_j2k(), dt_imageio_open_jpeg(), dt_imageio_open_pfm(), dt_imageio_open_png(), dt_imageio_open_pnm(), dt_imageio_open_rawspeed(), dt_imageio_open_rawspeed_sraw(), dt_imageio_open_rgbe(), dt_imageio_open_webp(), dt_iop_buffer_dsc_update_bpp(), gui_changed(), gui_update(), image_is_normalized(), input_format(), output_format(), pixelpipe_process_on_CPU(), process(), process(), process(), process(), process_cl(), process_cl(), process_cl(), process_clip(), process_common_cleanup(), process_display(), process_gray(), process_hsl_v1(), process_hsl_v2(), process_rgb(), process_v1(), process_v3(), process_wavelets(), and tiling_callback().

◆ coeffs

◆ cst

◆ datatype

◆ enabled

int dt_iop_buffer_dsc_t::enabled

Referenced by commit_params(), process(), and process_cl().

◆ filters

◆ processed_maximum

◆ raw_black_level

uint16_t dt_iop_buffer_dsc_t::raw_black_level

◆ raw_white_point

uint16_t dt_iop_buffer_dsc_t::raw_white_point

◆ [struct]

struct { ... } dt_iop_buffer_dsc_t::rawprepare

◆ [struct]

struct { ... } dt_iop_buffer_dsc_t::temperature

◆ xtrans

uint8_t dt_iop_buffer_dsc_t::xtrans[6][6]

filter for Fuji X-Trans images, only used if filters == 9u. The coefficients in the filter represent the channel (R, G, B) associated with a pixel spatial coordinate. The filter itself is a 6x6 tile that we shift on the image, starting at the top-left corner, when demosaicing, so we know what "color" we are looking at, at any given pixel coordinate, in the raw image. When images are cropped at the raw level, we need to shift the coefficients properly to take care of the phase shift introduced by trimming. See rawprepare.c:_update_output_cfa_descriptor()

Referenced by _init_f(), _update_output_cfa_descriptor(), autoset(), color_picker_helper_xtrans_parallel(), color_picker_helper_xtrans_seq(), dt_control_merge_hdr_process(), dt_dev_pixelpipe_get_roi_in(), dt_imageio_open_rawspeed(), process(), process(), process(), process_cl(), process_laplacian_xtrans(), process_laplacian_xtrans_cl(), process_lch_xtrans(), process_markesteijn_cl(), and process_vng_cl().


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