Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
rgb_norms.h File Reference

Go to the source code of this file.

Typedefs

typedef enum dt_iop_rgb_norms_t dt_iop_rgb_norms_t
 

Enumerations

enum  dt_iop_rgb_norms_t {
  DT_RGB_NORM_NONE = 0 ,
  DT_RGB_NORM_LUMINANCE = 1 ,
  DT_RGB_NORM_MAX = 2 ,
  DT_RGB_NORM_AVERAGE = 3 ,
  DT_RGB_NORM_SUM = 4 ,
  DT_RGB_NORM_NORM = 5 ,
  DT_RGB_NORM_POWER = 6
}
 

Functions

static float dt_rgb_norm (const float4 in, const int norm, const int work_profile, constant dt_colorspaces_iccprofile_info_cl_t *profile_info, read_only image2d_t lut)
 

Typedef Documentation

◆ dt_iop_rgb_norms_t

Enumeration Type Documentation

◆ dt_iop_rgb_norms_t

Enumerator
DT_RGB_NORM_NONE 
DT_RGB_NORM_LUMINANCE 
DT_RGB_NORM_MAX 
DT_RGB_NORM_AVERAGE 
DT_RGB_NORM_SUM 
DT_RGB_NORM_NORM 
DT_RGB_NORM_POWER 

Function Documentation

◆ dt_rgb_norm()

static float dt_rgb_norm ( const float4  in,
const int  norm,
const int  work_profile,
constant dt_colorspaces_iccprofile_info_cl_t profile_info,
read_only image2d_t  lut 
)
inlinestatic