Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_colorspaces_cl_global_t Struct Reference

The three colorspace kernels, compiled once and held by common/opencl.c. More...

#include <iop_profile.h>

+ Collaboration diagram for dt_colorspaces_cl_global_t:

Data Fields

int kernel_colorspaces_transform_lab_to_rgb_matrix
 
int kernel_colorspaces_transform_rgb_matrix_to_lab
 
int kernel_colorspaces_transform_rgb_matrix_to_rgb
 

Detailed Description

The three colorspace kernels, compiled once and held by common/opencl.c.

Built from colorspaces.cl (program 23 in data/kernels/programs.conf) by dt_colorspaces_init_cl_global(), reached from the pixel loops as a file-static in colorprofiles/iop_profile.c. Members are kernel handles, not pointers.

Definition at line 383 of file colorprofiles/iop_profile.h.

Field Documentation

◆ kernel_colorspaces_transform_lab_to_rgb_matrix

int dt_colorspaces_cl_global_t::kernel_colorspaces_transform_lab_to_rgb_matrix

◆ kernel_colorspaces_transform_rgb_matrix_to_lab

int dt_colorspaces_cl_global_t::kernel_colorspaces_transform_rgb_matrix_to_lab

Definition at line 386 of file colorprofiles/iop_profile.h.

Referenced by dt_colorspaces_apply_profile_cl().

◆ kernel_colorspaces_transform_rgb_matrix_to_rgb

int dt_colorspaces_cl_global_t::kernel_colorspaces_transform_rgb_matrix_to_rgb

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