![]() |
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
Referenced by _commit_piece_contract(), _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(), _prepare_piece_input_contract(), _refresh_global_histogram_backbuf_for_hash(), 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
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().
| dt_aligned_pixel_t dt_iop_buffer_dsc_t::coeffs |
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
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_transform_for_blend(), 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(), 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?
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_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(), and process_cl().
| int dt_iop_buffer_dsc_t::enabled |
Referenced by commit_params(), process(), and process_cl().
| uint32_t dt_iop_buffer_dsc_t::filters |
Bayer demosaic pattern
Referenced by _commit_piece_contract(), _init_f(), _ioporder_raw_flags_to_string(), _prepare_piece_input_contract(), _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_image_is_matrix_correction_supported(), 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_rgbe(), dt_imageio_open_webp(), green_equilibration_cl(), gui_changed(), gui_sliders_update(), gui_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
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 |
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 |
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()
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().