Home
last modified time | relevance | path

Searched refs:xyz_cam (Results 1 – 25 of 57) sorted by relevance

123

/dports/graphics/netpbm/netpbm-10.91.01/converter/other/cameratopam/
H A Ddng.c20 double cam_xyz[4][3], xyz_cam[3][4], invert[3][6]; in dng_coeff() local
70 memset(xyz_cam, 0, sizeof xyz_cam); in dng_coeff()
77 xyz_cam[i][j] += invert[i][k+3] * cam_xyz[j][k]; in dng_coeff()
87 coeff[i][j] += rgb_xyz[i][k] * xyz_cam[k][j]; in dng_coeff()
/dports/graphics/darktable38/darktable-3.8.0/src/external/LibRaw/src/demosaic/
H A Dahd_demosaic.cpp31 static float cbrt[0x10000], xyz_cam[3][4]; in cielab() local
34 #define xyz_cam tls->ahd_data.xyz_cam in cielab() macro
50 for (xyz_cam[i][j] = k = 0; k < 3; k++) in cielab()
51 xyz_cam[i][j] += LibRaw_constants::xyz_rgb[i][k] * rgb_cam[k][j] / in cielab()
58 xyz[0] += xyz_cam[0][c] * rgb[c]; in cielab()
59 xyz[1] += xyz_cam[1][c] * rgb[c]; in cielab()
60 xyz[2] += xyz_cam[2][c] * rgb[c]; in cielab()
70 #undef xyz_cam in cielab()
/dports/graphics/libraw/LibRaw-0.20.2/src/demosaic/
H A Dahd_demosaic.cpp31 static float cbrt[0x10000], xyz_cam[3][4]; in cielab() local
34 #define xyz_cam tls->ahd_data.xyz_cam in cielab() macro
50 for (xyz_cam[i][j] = k = 0; k < 3; k++) in cielab()
51 xyz_cam[i][j] += LibRaw_constants::xyz_rgb[i][k] * rgb_cam[k][j] / in cielab()
58 xyz[0] += xyz_cam[0][c] * rgb[c]; in cielab()
59 xyz[1] += xyz_cam[1][c] * rgb[c]; in cielab()
60 xyz[2] += xyz_cam[2][c] * rgb[c]; in cielab()
70 #undef xyz_cam in cielab()
/dports/graphics/digikam/digikam-7.4.0/core/libs/rawengine/libraw/src/demosaic/
H A Dahd_demosaic.cpp31 static float cbrt[0x10000], xyz_cam[3][4]; in cielab() local
34 #define xyz_cam tls->ahd_data.xyz_cam in cielab() macro
50 for (xyz_cam[i][j] = k = 0; k < 3; k++) in cielab()
51 xyz_cam[i][j] += LibRaw_constants::xyz_rgb[i][k] * rgb_cam[k][j] / in cielab()
58 xyz[0] += xyz_cam[0][c] * rgb[c]; in cielab()
59 xyz[1] += xyz_cam[1][c] * rgb[c]; in cielab()
60 xyz[2] += xyz_cam[2][c] * rgb[c]; in cielab()
70 #undef xyz_cam in cielab()
/dports/graphics/photivo/photivo/Sources/vcd/
H A Dahd_partial_interpolate.c26 float r, cbrt[0x10000], xyz[3], xyz_cam[3][4]; in ahd_partial_interpolate() local
40 for (xyz_cam[i][j] = k=0; k < 3; k++) in ahd_partial_interpolate()
41 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in ahd_partial_interpolate()
42 …,col,pix,val,d,rix,xyz,lix,tc,tr,ldiff,abdiff,leps,abeps,hm,i,j) firstprivate(cbrt) shared(xyz_cam) in ahd_partial_interpolate()
117 xyz[0] += xyz_cam[0][c] * rix[0][c]; in ahd_partial_interpolate()
118 xyz[1] += xyz_cam[1][c] * rix[0][c]; in ahd_partial_interpolate()
119 xyz[2] += xyz_cam[2][c] * rix[0][c]; in ahd_partial_interpolate()
H A Dahd_interpolate_mod.c24 float r, cbrt[0x10000], xyz[3], xyz_cam[3][4]; in ahd_interpolate_mod() local
37 for (xyz_cam[i][j] = k=0; k < 3; k++) in ahd_interpolate_mod()
38 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in ahd_interpolate_mod()
112 xyz[0] += xyz_cam[0][c] * rix[0][c]; in ahd_interpolate_mod()
113 xyz[1] += xyz_cam[1][c] * rix[0][c]; in ahd_interpolate_mod()
114 xyz[2] += xyz_cam[2][c] * rix[0][c]; in ahd_interpolate_mod()
/dports/graphics/art/ART-1.9.3/rtengine/
H A Dahd_demosaic_RT.cc43 float xyz_cam[3][3]; in ahd_demosaic() local
69 xyz_cam[i][j] = 0; in ahd_demosaic()
71 xyz_cam[i][j] += xyz_rgb[i][k] * imatrices.rgb_cam[k][j] / d65_white[i]; in ahd_demosaic()
129 xyz[0] += xyz_cam[0][c] * rix[0][c]; in ahd_demosaic()
130 xyz[1] += xyz_cam[1][c] * rix[0][c]; in ahd_demosaic()
131 xyz[2] += xyz_cam[2][c] * rix[0][c]; in ahd_demosaic()
H A Dxtrans_demosaic.cc41 …oat* a, float *b, const int width, const int height, const int labWidth, const float xyz_cam[3][3]) in cielab()
71 xyz_camv[i][j] = F2V(xyz_cam[i][j]); in cielab()
102 xyz[0] += xyz_cam[0][c] * val; in cielab()
103 xyz[1] += xyz_cam[1][c] * val; in cielab()
104 xyz[2] += xyz_cam[2][c] * val; in cielab()
219 float xyz_cam[3][3]; in xtrans_interpolate() local
227 for (xyz_cam[i][j] = k = 0; k < 3; k++) { in xtrans_interpolate()
228 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in xtrans_interpolate()
664 … cielab(&rgb[d][4][4], &lab[0][0][0], &lab[1][0][0], &lab[2][0][0], ts, mrow - 8, ts - 8, xyz_cam); in xtrans_interpolate()
H A Dimagesource.h45 double xyz_cam[3][3] = {}; variable
H A Drawimagesource.h63 double xyz_cam[3][3]; variable
292 …at* a, float *b, const int width, const int height, const int labWidth, const float xyz_cam[3][3]);
/dports/graphics/librtprocess/librtprocess-0.11.0/src/demosaic/
H A Dahd.cc51 float xyz_cam[3][3]; in ahd_demosaic() local
72 xyz_cam[i][j] = 0; in ahd_demosaic()
74 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in ahd_demosaic()
144 xyz[0] += xyz_cam[0][c] * rix[0][c]; in ahd_demosaic()
145 xyz[1] += xyz_cam[1][c] * rix[0][c]; in ahd_demosaic()
146 xyz[2] += xyz_cam[2][c] * rix[0][c]; in ahd_demosaic()
H A Dmarkesteijn.cc44 …oat* a, float *b, const int width, const int height, const int labWidth, const float xyz_cam[3][3]) in cielab()
74 xyz_camv[i][j] = F2V(xyz_cam[i][j]); in cielab()
105 xyz[0] += xyz_cam[0][c] * val; in cielab()
106 xyz[1] += xyz_cam[1][c] * val; in cielab()
107 xyz[2] += xyz_cam[2][c] * val; in cielab()
160 float xyz_cam[3][3]; in markesteijn_demosaic() local
166 for (xyz_cam[i][j] = k = 0; k < 3; k++) { in markesteijn_demosaic()
167 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in markesteijn_demosaic()
617 cielab(&rgb[d][4][4], l, a, b, ts, mrow - 8, ts - 8, xyz_cam); in markesteijn_demosaic()
/dports/astro/siril/siril/subprojects/librtprocess/src/demosaic/
H A Dahd.cc51 float xyz_cam[3][3]; in ahd_demosaic() local
72 xyz_cam[i][j] = 0; in ahd_demosaic()
74 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in ahd_demosaic()
144 xyz[0] += xyz_cam[0][c] * rix[0][c]; in ahd_demosaic()
145 xyz[1] += xyz_cam[1][c] * rix[0][c]; in ahd_demosaic()
146 xyz[2] += xyz_cam[2][c] * rix[0][c]; in ahd_demosaic()
H A Dmarkesteijn.cc44 …oat* a, float *b, const int width, const int height, const int labWidth, const float xyz_cam[3][3]) in cielab()
74 xyz_camv[i][j] = F2V(xyz_cam[i][j]); in cielab()
105 xyz[0] += xyz_cam[0][c] * val; in cielab()
106 xyz[1] += xyz_cam[1][c] * val; in cielab()
107 xyz[2] += xyz_cam[2][c] * val; in cielab()
160 float xyz_cam[3][3]; in markesteijn_demosaic() local
166 for (xyz_cam[i][j] = k = 0; k < 3; k++) { in markesteijn_demosaic()
167 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in markesteijn_demosaic()
617 cielab(&rgb[d][4][4], l, a, b, ts, mrow - 8, ts - 8, xyz_cam); in markesteijn_demosaic()
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/
H A Dahd_demosaic_RT.cc50 float xyz_cam[3][3]; in ahd_demosaic() local
77 xyz_cam[i][j] = 0; in ahd_demosaic()
79 xyz_cam[i][j] += xyz_rgb[i][k] * imatrices.rgb_cam[k][j] / d65_white[i]; in ahd_demosaic()
138 xyz[0] += xyz_cam[0][c] * rix[0][c]; in ahd_demosaic()
139 xyz[1] += xyz_cam[1][c] * rix[0][c]; in ahd_demosaic()
140 xyz[2] += xyz_cam[2][c] * rix[0][c]; in ahd_demosaic()
H A Dxtrans_demosaic.cc41 …oat* a, float *b, const int width, const int height, const int labWidth, const float xyz_cam[3][3]) in cielab()
69 xyz_camv[i][j] = F2V(xyz_cam[i][j]); in cielab()
100 xyz[0] += xyz_cam[0][c] * val; in cielab()
101 xyz[1] += xyz_cam[1][c] * val; in cielab()
102 xyz[2] += xyz_cam[2][c] * val; in cielab()
215 float xyz_cam[3][3]; in xtrans_interpolate() local
223 for (xyz_cam[i][j] = k = 0; k < 3; k++) { in xtrans_interpolate()
224 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in xtrans_interpolate()
660 … cielab(&rgb[d][4][4], &lab[0][0][0], &lab[1][0][0], &lab[2][0][0], ts, mrow - 8, ts - 8, xyz_cam); in xtrans_interpolate()
H A Drawimagesource.cc448 , xyz_cam{}
1147 memset (imatrices.xyz_cam, 0, sizeof(imatrices.xyz_cam)); in load()
1152 imatrices.xyz_cam[i][j] += xyz_sRGB[i][k] * imatrices.rgb_cam[k][j]; in load()
1155 camProfile = ICCStore::getInstance()->createFromMatrix (imatrices.xyz_cam, false, "Camera"); in load()
1156 inverse33 (imatrices.xyz_cam, imatrices.cam_xyz); in load()
3565 … int width, float maxval, double xyz_cam[3][3], double cam_xyz[3][3]) in HLRecovery_CIELab()
3586 float yy = xyz_cam[1][0] * r + xyz_cam[1][1] * g + xyz_cam[1][2] * b; in HLRecovery_CIELab()
3589 float x = xyz_cam[0][0] * ro + xyz_cam[0][1] * go + xyz_cam[0][2] * bo; in HLRecovery_CIELab()
3590 float y = xyz_cam[1][0] * ro + xyz_cam[1][1] * go + xyz_cam[1][2] * bo; in HLRecovery_CIELab()
3591 float z = xyz_cam[2][0] * ro + xyz_cam[2][1] * go + xyz_cam[2][2] * bo; in HLRecovery_CIELab()
[all …]
H A Drawimagesource.h66 double xyz_cam[3][3]; variable
291 …at* a, float *b, const int width, const int height, const int labWidth, const float xyz_cam[3][3]);
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/librtprocess/src/demosaic/
H A Dahd.cc51 float xyz_cam[3][3]; in ahd_demosaic() local
72 xyz_cam[i][j] = 0; in ahd_demosaic()
74 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in ahd_demosaic()
144 xyz[0] += xyz_cam[0][c] * rix[0][c]; in ahd_demosaic()
145 xyz[1] += xyz_cam[1][c] * rix[0][c]; in ahd_demosaic()
146 xyz[2] += xyz_cam[2][c] * rix[0][c]; in ahd_demosaic()
H A Dmarkesteijn.cc44 …oat* a, float *b, const int width, const int height, const int labWidth, const float xyz_cam[3][3]) in cielab()
74 xyz_camv[i][j] = F2V(xyz_cam[i][j]); in cielab()
105 xyz[0] += xyz_cam[0][c] * val; in cielab()
106 xyz[1] += xyz_cam[1][c] * val; in cielab()
107 xyz[2] += xyz_cam[2][c] * val; in cielab()
160 float xyz_cam[3][3]; in markesteijn_demosaic() local
166 for (xyz_cam[i][j] = k = 0; k < 3; k++) { in markesteijn_demosaic()
167 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i]; in markesteijn_demosaic()
617 cielab(&rgb[d][4][4], l, a, b, ts, mrow - 8, ts - 8, xyz_cam); in markesteijn_demosaic()
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/coprocesses/dcraw/patches/
H A Ddcraw_indi.patch189 static float cbrt[0x10000], xyz_cam[3][4];
200 for (xyz_cam[i][j] = k=0; k < 3; k++)
202 xyz_cam[i][j] += xyz_rgb[i][k] * rgb_cam[k][j] / d65_white[i];
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/
H A Draw_image.hh100 double xyz_cam[3][3] = {}; member in ImageMatrices
/dports/graphics/freeimage/FreeImage/Source/LibRawLite/libraw/
H A Dlibraw_internal.h68 float cbrt[0x10000], xyz_cam[3][4]; member
/dports/astro/siril/siril/src/algos/
H A Ddemosaicing.c472 static float cbrt[0x10000], xyz_cam[3][4]; in cam_to_cielab() local
483 xyz_cam[i][j] = xyz_rgb[i][j] / d65_white[i]; /* [SA] */ in cam_to_cielab()
490 xyz[0] += xyz_cam[0][c] * cam[c]; in cam_to_cielab()
491 xyz[1] += xyz_cam[1][c] * cam[c]; in cam_to_cielab()
492 xyz[2] += xyz_cam[2][c] * cam[c]; in cam_to_cielab()
/dports/graphics/libraw/LibRaw-0.20.2/libraw/
H A Dlibraw_internal.h55 float cbrt[0x10000], xyz_cam[3][4]; member

123