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
 

Detailed Description

Definition at line 80 of file format.h.

Field Documentation

◆ bpp

◆ channels

◆ coeffs

dt_aligned_pixel_t dt_iop_buffer_dsc_t::coeffs

Definition at line 110 of file format.h.

◆ cst

◆ datatype

◆ enabled

int dt_iop_buffer_dsc_t::enabled

Definition at line 109 of file format.h.

◆ filters

◆ processed_maximum

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

◆ raw_black_level

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

◆ raw_white_point

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]

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

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


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