![]() |
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 87 of file format.h.
Referenced by _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(), pixelpipe_process_on_CPU(), and pixelpipe_process_on_GPU().
| unsigned int dt_iop_buffer_dsc_t::channels |
how many channels the data has? 1 or 4
Definition at line 83 of file format.h.
Referenced by _deflicker_prepare_histogram(), _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(), 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_propagate_formats(), 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(), and output_format().
| dt_aligned_pixel_t dt_iop_buffer_dsc_t::coeffs |
| int dt_iop_buffer_dsc_t::cst |
colorspace of the image
Definition at line 117 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_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_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 85 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(), 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(), and output_format().
| uint32_t dt_iop_buffer_dsc_t::filters |
Bayer demosaic pattern
Definition at line 89 of file format.h.
Referenced by _cacorrect_supported(), _init_f(), _ioporder_raw_flags_to_string(), _update_output_cfa_descriptor(), color_picker_helper_bayer_parallel(), color_picker_helper_bayer_seq(), commit_params(), commit_params(), commit_params(), default_input_format(), default_output_format(), 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(), gui_changed(), gui_sliders_update(), process(), process_cl(), and reload_defaults().
| dt_aligned_pixel_t dt_iop_buffer_dsc_t::processed_maximum |
sensor saturation, propagated through the operations
Definition at line 114 of file format.h.
Referenced by _ioporder_descriptor_to_text(), dt_image_print_debug_info(), and dt_imageio_open_rawspeed().
| uint16_t dt_iop_buffer_dsc_t::raw_black_level |
Definition at line 103 of file format.h.
Referenced by dt_image_print_debug_info().
| uint16_t dt_iop_buffer_dsc_t::raw_white_point |
Definition at line 104 of file format.h.
Referenced by dt_image_print_debug_info().
| struct { ... } dt_iop_buffer_dsc_t::rawprepare |
Referenced by dt_image_print_debug_info().
| struct { ... } dt_iop_buffer_dsc_t::temperature |
| 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 99 of file format.h.
Referenced by _init_f(), _update_output_cfa_descriptor(), 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(), and process_cl().