Go to the source code of this file.
|
#define | M_PI_F 3.14159265358979323846 |
|
#define | ICLAMP(a, mn, mx) ((a) < (mn) ? (mn) : ((a) > (mx) ? (mx) : (a))) |
|
#define | RED 0 |
|
#define | GREEN 1 |
|
#define | BLUE 2 |
|
#define | ALPHA 3 |
|
|
static int | FC (const int row, const int col, const unsigned int filters) |
|
static int | FCxtrans (const int row, const int col, global const unsigned char(*const xtrans)[6]) |
|
|
constant sampler_t | sampleri = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_NEAREST |
|
constant sampler_t | samplerf = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_LINEAR |
|
constant sampler_t | samplerc = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST |
|
constant sampler_t | samplerA = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST |
|
◆ ALPHA
◆ BLUE
◆ GREEN
◆ ICLAMP
#define ICLAMP |
( |
|
a, |
|
|
|
mn, |
|
|
|
mx |
|
) |
| ((a) < (mn) ? (mn) : ((a) > (mx) ? (mx) : (a))) |
◆ M_PI_F
#define M_PI_F 3.14159265358979323846 |
◆ RED
◆ FC()
static int FC |
( |
const int |
row, |
|
|
const int |
col, |
|
|
const unsigned int |
filters |
|
) |
| |
|
inlinestatic |
Referenced by _interpolate_and_mask(), _remosaic_and_replace(), amaze_demosaic_RT(), color_picker_helper_bayer_parallel(), color_picker_helper_bayer_seq(), demosaic_ppg(), dt_iop_clip_and_zoom_demosaic_half_size_f(), dt_iop_clip_and_zoom_mosaic_half_size(), dt_iop_clip_and_zoom_mosaic_half_size_f(), green_equilibration_favg(), green_equilibration_lavg(), interpolate_color(), lmmse_demosaic(), passthrough_color(), pre_median_b(), process(), process(), process(), process_lch_bayer(), process_visualize(), rcd_demosaic(), rcd_ppg_border(), and wavelet_denoise().
◆ FCxtrans()
static int FCxtrans |
( |
const int |
row, |
|
|
const int |
col, |
|
|
global const unsigned char(*) |
xtrans[6] |
|
) |
| |
|
inlinestatic |
Referenced by color_picker_helper_xtrans_parallel(), color_picker_helper_xtrans_seq(), dt_control_merge_hdr_process(), dt_iop_clip_and_zoom_demosaic_third_size_xtrans_f(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans_f(), interpolate_color_xtrans(), passthrough_color(), process(), process(), process_lch_xtrans(), process_xtrans(), wavelet_denoise_xtrans(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().
◆ samplerA
constant sampler_t samplerA = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_NONE | CLK_FILTER_NEAREST |
◆ samplerc
constant sampler_t samplerc = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP | CLK_FILTER_NEAREST |
◆ samplerf
constant sampler_t samplerf = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_LINEAR |
◆ sampleri
constant sampler_t sampleri = CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_NEAREST |