![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#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 | |
| size_t dt_iop_buffer_dsc_t::bpp |
bytes per pixel, derived from channels and datatype when the descriptor is updated
Definition at line 58 of file format.h.
Referenced by _default_process_tiling_cl_ptp(), _default_process_tiling_cl_roi(), _default_process_tiling_ptp(), _default_process_tiling_roi(), _gpu_early_cpu_fallback_if_unsupported(), _gpu_init_input(), _refresh_global_histogram_backbuf_for_hash(), dt_dev_pixelpipe_propagate_formats(), 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_to_bpp(), dt_iop_buffer_dsc_update_bpp(), dt_mipmap_cache_alloc(), dt_pixelpipe_get_global_hash(), pixelpipe_process_on_CPU(), pixelpipe_process_on_GPU(), process(), and process_cl().
| unsigned int dt_iop_buffer_dsc_t::channels |
how many channels the data has? 1 or 4
Definition at line 54 of file format.h.
Referenced by _deflicker_prepare_histogram(), _develop_mask_get_post_operations(), _ioporder_descriptor_to_text(), _pixelpipe_pick_from_image(), _print_nan_debug(), _refresh_pipe_detail_mask_state(), _refresh_preview_cursor_sample(), _refresh_preview_module_histogram_for_hash(), _trace_buffer_content(), autoset(), autoset(), commit_params(), 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_dev_pixelpipe_propagate_formats(), 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_image_set_provisional_dsc(), 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().
| dt_aligned_pixel_t dt_iop_buffer_dsc_t::coeffs |
Definition at line 81 of file format.h.
Referenced by commit_params(), compute_wb_factors(), dual_demosaic(), dual_demosaic_cl(), process(), and process_cl().
| int dt_iop_buffer_dsc_t::cst |
colorspace of the image
Definition at line 88 of file format.h.
Referenced by _ioporder_graph_draw(), _ioporder_raw_flags_to_string(), _ioporder_rebuild_graph(), _ioporder_runtime_band_kind(), _ioporder_runtime_band_label(), _ioporder_runtime_band_profile_info(), _pixelpipe_pick_from_image(), _refresh_module_histogram(), _refresh_pipe_detail_mask_state(), _refresh_preview_module_histogram_for_hash(), _sample_picker_buffer(), commit_params(), default_colorspace(), default_input_format(), default_output_format(), dt_dev_pixelpipe_debug_dump_module_io(), dt_dev_pixelpipe_get_roi_in(), dt_dev_pixelpipe_propagate_formats(), dt_dev_pixelpipe_transform_for_blend(), dt_image_print_debug_info(), dt_image_set_provisional_dsc(), 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(), input_format(), output_format(), pixelpipe_process_on_CPU(), and pixelpipe_process_on_GPU().
| dt_iop_buffer_type_t dt_iop_buffer_dsc_t::datatype |
what is the datatype?
Definition at line 56 of file format.h.
Referenced by _deflicker_prepare_histogram(), _init_f(), _ioporder_descriptor_to_text(), _print_nan_debug(), _refresh_pipe_detail_mask_state(), _refresh_preview_cursor_sample(), _refresh_preview_module_histogram_for_hash(), _sample_picker_from_cache(), _trace_buffer_content(), autoset(), commit_params(), commit_params(), default_input_format(), default_output_format(), dt_control_merge_hdr_process(), dt_dev_pixelpipe_debug_dump_module_io(), dt_image_buffer_resolve_flags(), dt_image_print_debug_info(), dt_image_set_provisional_dsc(), 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(), and process_cl().
| int dt_iop_buffer_dsc_t::enabled |
Definition at line 80 of file format.h.
Referenced by commit_params(), process(), and process_cl().
| uint32_t dt_iop_buffer_dsc_t::filters |
Bayer demosaic pattern
Definition at line 60 of file format.h.
Referenced by _cacorrect_supported(), _init_f(), _ioporder_raw_flags_to_string(), _update_output_cfa_descriptor(), autoset(), color_picker_helper_bayer_parallel(), color_picker_helper_bayer_seq(), commit_params(), commit_params(), commit_params(), commit_params(), default_input_format(), default_output_format(), default_tiling_callback(), dt_color_picker_helper(), dt_control_merge_hdr_process(), dt_dev_pixelpipe_get_roi_in(), dt_dev_pixelpipe_propagate_formats(), dt_image_buffer_resolve_flags(), dt_image_print_debug_info(), dt_image_set_provisional_dsc(), 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_rgbe(), dt_imageio_open_webp(), green_equilibration_cl(), gui_changed(), gui_sliders_update(), process(), process(), process(), process_cl(), process_cl(), process_clip(), process_default_cl(), process_laplacian_bayer(), process_laplacian_bayer_cl(), process_lch_bayer(), process_rcd_cl(), process_vng_cl(), reload_defaults(), and tiling_callback().
| dt_aligned_pixel_t dt_iop_buffer_dsc_t::processed_maximum |
sensor saturation, propagated through the operations
Definition at line 85 of file format.h.
Referenced by _ioporder_descriptor_to_text(), amaze_demosaic_RT(), autoset(), commit_params(), commit_params(), commit_params(), compute_wb_factors(), dt_image_print_debug_info(), dt_imageio_open_rawspeed(), lmmse_demosaic(), process(), process(), process_cl(), process_markesteijn_cl(), process_rcd_cl(), process_visualize(), process_vng_cl(), and rcd_demosaic().
| uint16_t dt_iop_buffer_dsc_t::raw_black_level |
Definition at line 74 of file format.h.
Referenced by _compute_correction(), commit_params(), dt_image_print_debug_info(), and process_common_setup().
| uint16_t dt_iop_buffer_dsc_t::raw_white_point |
Definition at line 75 of file format.h.
Referenced by _compute_correction(), commit_params(), dt_image_print_debug_info(), and process_common_setup().
| struct { ... } dt_iop_buffer_dsc_t::rawprepare |
Referenced by _compute_correction(), commit_params(), dt_image_print_debug_info(), and process_common_setup().
| struct { ... } dt_iop_buffer_dsc_t::temperature |
Referenced by commit_params(), compute_wb_factors(), dual_demosaic(), dual_demosaic_cl(), process(), and process_cl().
| 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()
Definition at line 70 of file format.h.
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().