Home
last modified time | relevance | path

Searched refs:LVFU (Results 1 – 25 of 154) sorted by relevance

1234567

/dports/graphics/librtprocess/librtprocess-0.11.0/src/demosaic/
H A Dbayerfast.cc127 … vfloat wtuv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i - 2][j])) + vabsf(LVFU(rawData[i - 1][… in bayerfast_demosaic()
128 … vfloat wtdv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i + 2][j])) + vabsf(LVFU(rawData[i + 1][… in bayerfast_demosaic()
130 …vfloat wtlv = INVGRADV(abs2v + vabsf(tempv - LVFU(rawData[i][j - 2])) + vabsf(LVFU(rawData[i][j - … in bayerfast_demosaic()
132 … vfloat greenv = (wtuv * LVFU(rawData[i - 1][j]) + wtdv * LVFU(rawData[i + 1][j]) + wtlv * LVFU(ra… in bayerfast_demosaic()
169LVFU(greentile[rr * TS + cc]) - zd25v * ((LVFU(greentile[(rr - 1)*TS + (cc - 1)]) + LVFU(greentile… in bayerfast_demosaic()
170 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in bayerfast_demosaic()
186LVFU(greentile[rr * TS + cc]) - zd25v * ((LVFU(greentile[(rr - 1)*TS + cc - 1]) + LVFU(greentile[(… in bayerfast_demosaic()
187 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in bayerfast_demosaic()
214 …float greensumv = LVFU(greentile[(rr - 1) * TS + cc]) + LVFU(greentile[(rr + 1) * TS + cc]) + LVFU in bayerfast_demosaic()
217 …zd25v * (greensumv - LVFU(redtile[(rr - 1) * TS + cc]) - LVFU(redtile[(rr + 1) * TS + cc]) - LVFU(… in bayerfast_demosaic()
[all …]
H A Digv.cc163 …ngv = epsv + (vabsf(LVFU(rgb[1][(indx - v1) >> 1]) - LVFU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
164 …egv = epsv + (vabsf(LVFU(rgb[1][(indx + h1) >> 1]) - LVFU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
165 …wgv = epsv + (vabsf(LVFU(rgb[1][(indx - h1) >> 1]) - LVFU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
166 …sgv = epsv + (vabsf(LVFU(rgb[1][(indx + v1) >> 1]) - LVFU(rgb[1][(indx + v3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
171LVFU(rgb[1][(indx - v1) >> 1]) + c23v * LVFU(rgb[1][(indx - v3) >> 1]) + LVFU(rgb[1][(indx - v5) >… in igv_demosaic()
217LVFU(vdif[indx1])) + c69v * (SQRV(LVFU(vdif[indx1 - v1])) + SQRV(LVFU(vdif[indx1 + v1]))) + c51v *… in igv_demosaic()
218LVFU(vdif[indx1 - v2]) + LVFU(vdif[indx1 - v1]) + LVFU(vdif[indx1])) + SQRV(LVFU(vdif[indx1]) + LV… in igv_demosaic()
219LVFU(hdif[indx1])) + c69v * (SQRV(LVFU(hdif[indx1 - h1])) + SQRV(LVFU(hdif[indx1 + h1]))) + c51v *… in igv_demosaic()
220LVFU(hdif[indx1 - h2]) + LVFU(hdif[indx1 - h1]) + LVFU(hdif[indx1])) + SQRV(LVFU(hdif[indx1]) + LV… in igv_demosaic()
222 …v = median(d725v * LVFU(vdif[indx1]) + d1375v * LVFU(vdif[indx1 - v1]) + d1375v * LVFU(vdif[indx1 … in igv_demosaic()
[all …]
H A Dhphd.cc68LVFU(temp[j - 4][0]) + LVFU(temp[j - 3][0])) + (LVFU(temp[j - 2][0]) + LVFU(temp[j - 1][0])) + (LV… in hphd_vertical()
70LVFU(temp[j - 4][0]) - avgL1) + SQRV(LVFU(temp[j - 3][0]) - avgL1)) + (SQRV(LVFU(temp[j - 2][0]) -… in hphd_vertical()
71LVFU(temp[j - 4][4]) + LVFU(temp[j - 3][4])) + (LVFU(temp[j - 2][4]) + LVFU(temp[j - 1][4])) + (LV… in hphd_vertical()
73LVFU(temp[j - 4][4]) - avgL2) + SQRV(LVFU(temp[j - 3][4]) - avgL2)) + (SQRV(LVFU(temp[j - 2][4]) -… in hphd_vertical()
160 const vfloat avgL = LVFU(avg[j - 1]); in hphd_horizontal()
161 const vfloat avgR = LVFU(avg[j + 1]); in hphd_horizontal()
162 const vfloat devL = LVFU(dev[j - 1]); in hphd_horizontal()
163 const vfloat devR = LVFU(dev[j + 1]); in hphd_horizontal()
166 const vfloat hpmapoldv = LVFU(hpmap[i][j]); in hphd_horizontal()
H A Damaze.cc412 … = LVFU(cfa[indx - 1]) * (LVFU(dirwts1[indx - 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx - 2])… in amaze_demosaic()
413 … = LVFU(cfa[indx + 1]) * (LVFU(dirwts1[indx + 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx + 2])… in amaze_demosaic()
428 … vfloat hwtv = LVFU(dirwts1[indx - 1]) / (LVFU(dirwts1[indx - 1]) + LVFU(dirwts1[indx + 1])); in amaze_demosaic()
567 …vfloat hcdvarv = SQRV(LVFU(hcd[indx - 2]) - hcdv) + SQRV(LVFU(hcd[indx - 2]) - LVFU(hcd[indx + 2])… in amaze_demosaic()
569 …at hcdaltvarv = SQRV(LVFU(hcdalt[indx - 2]) - hcdaltv) + SQRV(LVFU(hcdalt[indx - 2]) - LVFU(hcdalt… in amaze_demosaic()
1138 …ssqv + (gausseven0v * (LVFU(Dgrbsq1m[(indx - v1) >> 1]) + LVFU(Dgrbsq1m[(indx - 1) >> 1]) + LVFU(D… in amaze_demosaic()
1242 …vfloat pmwtaltv = zd25v * (LVFU(pmwt[(indx - m1) >> 1]) + LVFU(pmwt[(indx + p1) >> 1]) + LVFU(pmwt… in amaze_demosaic()
1423 …ev / (tempv + vabsf(LVFU(Dgrb[c][(indx - m1) >> 1]) - LVFU(Dgrb[c][(indx - m3) >> 1])) + vabsf(LVF… in amaze_demosaic()
1424 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx + p1) >> 1]) - LVFU(Dgrb[c][(indx + p3) >> 1])) + vabsf(LVF… in amaze_demosaic()
1425 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx - p1) >> 1]) - LVFU(Dgrb[c][(indx + m3) >> 1])) + vabsf(LVF… in amaze_demosaic()
[all …]
/dports/astro/siril/siril/subprojects/librtprocess/src/demosaic/
H A Dbayerfast.cc127 … vfloat wtuv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i - 2][j])) + vabsf(LVFU(rawData[i - 1][… in bayerfast_demosaic()
128 … vfloat wtdv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i + 2][j])) + vabsf(LVFU(rawData[i + 1][… in bayerfast_demosaic()
130 …vfloat wtlv = INVGRADV(abs2v + vabsf(tempv - LVFU(rawData[i][j - 2])) + vabsf(LVFU(rawData[i][j - … in bayerfast_demosaic()
132 … vfloat greenv = (wtuv * LVFU(rawData[i - 1][j]) + wtdv * LVFU(rawData[i + 1][j]) + wtlv * LVFU(ra… in bayerfast_demosaic()
169LVFU(greentile[rr * TS + cc]) - zd25v * ((LVFU(greentile[(rr - 1)*TS + (cc - 1)]) + LVFU(greentile… in bayerfast_demosaic()
170 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in bayerfast_demosaic()
186LVFU(greentile[rr * TS + cc]) - zd25v * ((LVFU(greentile[(rr - 1)*TS + cc - 1]) + LVFU(greentile[(… in bayerfast_demosaic()
187 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in bayerfast_demosaic()
214 …float greensumv = LVFU(greentile[(rr - 1) * TS + cc]) + LVFU(greentile[(rr + 1) * TS + cc]) + LVFU in bayerfast_demosaic()
217 …zd25v * (greensumv - LVFU(redtile[(rr - 1) * TS + cc]) - LVFU(redtile[(rr + 1) * TS + cc]) - LVFU(… in bayerfast_demosaic()
[all …]
H A Digv.cc163 …ngv = epsv + (vabsf(LVFU(rgb[1][(indx - v1) >> 1]) - LVFU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
164 …egv = epsv + (vabsf(LVFU(rgb[1][(indx + h1) >> 1]) - LVFU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
165 …wgv = epsv + (vabsf(LVFU(rgb[1][(indx - h1) >> 1]) - LVFU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
166 …sgv = epsv + (vabsf(LVFU(rgb[1][(indx + v1) >> 1]) - LVFU(rgb[1][(indx + v3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
171LVFU(rgb[1][(indx - v1) >> 1]) + c23v * LVFU(rgb[1][(indx - v3) >> 1]) + LVFU(rgb[1][(indx - v5) >… in igv_demosaic()
217LVFU(vdif[indx1])) + c69v * (SQRV(LVFU(vdif[indx1 - v1])) + SQRV(LVFU(vdif[indx1 + v1]))) + c51v *… in igv_demosaic()
218LVFU(vdif[indx1 - v2]) + LVFU(vdif[indx1 - v1]) + LVFU(vdif[indx1])) + SQRV(LVFU(vdif[indx1]) + LV… in igv_demosaic()
219LVFU(hdif[indx1])) + c69v * (SQRV(LVFU(hdif[indx1 - h1])) + SQRV(LVFU(hdif[indx1 + h1]))) + c51v *… in igv_demosaic()
220LVFU(hdif[indx1 - h2]) + LVFU(hdif[indx1 - h1]) + LVFU(hdif[indx1])) + SQRV(LVFU(hdif[indx1]) + LV… in igv_demosaic()
222 …v = median(d725v * LVFU(vdif[indx1]) + d1375v * LVFU(vdif[indx1 - v1]) + d1375v * LVFU(vdif[indx1 … in igv_demosaic()
[all …]
H A Dhphd.cc68LVFU(temp[j - 4][0]) + LVFU(temp[j - 3][0])) + (LVFU(temp[j - 2][0]) + LVFU(temp[j - 1][0])) + (LV… in hphd_vertical()
70LVFU(temp[j - 4][0]) - avgL1) + SQRV(LVFU(temp[j - 3][0]) - avgL1)) + (SQRV(LVFU(temp[j - 2][0]) -… in hphd_vertical()
71LVFU(temp[j - 4][4]) + LVFU(temp[j - 3][4])) + (LVFU(temp[j - 2][4]) + LVFU(temp[j - 1][4])) + (LV… in hphd_vertical()
73LVFU(temp[j - 4][4]) - avgL2) + SQRV(LVFU(temp[j - 3][4]) - avgL2)) + (SQRV(LVFU(temp[j - 2][4]) -… in hphd_vertical()
160 const vfloat avgL = LVFU(avg[j - 1]); in hphd_horizontal()
161 const vfloat avgR = LVFU(avg[j + 1]); in hphd_horizontal()
162 const vfloat devL = LVFU(dev[j - 1]); in hphd_horizontal()
163 const vfloat devR = LVFU(dev[j + 1]); in hphd_horizontal()
166 const vfloat hpmapoldv = LVFU(hpmap[i][j]); in hphd_horizontal()
H A Damaze.cc412 … = LVFU(cfa[indx - 1]) * (LVFU(dirwts1[indx - 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx - 2])… in amaze_demosaic()
413 … = LVFU(cfa[indx + 1]) * (LVFU(dirwts1[indx + 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx + 2])… in amaze_demosaic()
428 … vfloat hwtv = LVFU(dirwts1[indx - 1]) / (LVFU(dirwts1[indx - 1]) + LVFU(dirwts1[indx + 1])); in amaze_demosaic()
567 …vfloat hcdvarv = SQRV(LVFU(hcd[indx - 2]) - hcdv) + SQRV(LVFU(hcd[indx - 2]) - LVFU(hcd[indx + 2])… in amaze_demosaic()
569 …at hcdaltvarv = SQRV(LVFU(hcdalt[indx - 2]) - hcdaltv) + SQRV(LVFU(hcdalt[indx - 2]) - LVFU(hcdalt… in amaze_demosaic()
1138 …ssqv + (gausseven0v * (LVFU(Dgrbsq1m[(indx - v1) >> 1]) + LVFU(Dgrbsq1m[(indx - 1) >> 1]) + LVFU(D… in amaze_demosaic()
1242 …vfloat pmwtaltv = zd25v * (LVFU(pmwt[(indx - m1) >> 1]) + LVFU(pmwt[(indx + p1) >> 1]) + LVFU(pmwt… in amaze_demosaic()
1423 …ev / (tempv + vabsf(LVFU(Dgrb[c][(indx - m1) >> 1]) - LVFU(Dgrb[c][(indx - m3) >> 1])) + vabsf(LVF… in amaze_demosaic()
1424 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx + p1) >> 1]) - LVFU(Dgrb[c][(indx + p3) >> 1])) + vabsf(LVF… in amaze_demosaic()
1425 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx - p1) >> 1]) - LVFU(Dgrb[c][(indx + m3) >> 1])) + vabsf(LVF… in amaze_demosaic()
[all …]
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/librtprocess/src/demosaic/
H A Dbayerfast.cc127 … vfloat wtuv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i - 2][j])) + vabsf(LVFU(rawData[i - 1][… in bayerfast_demosaic()
128 … vfloat wtdv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i + 2][j])) + vabsf(LVFU(rawData[i + 1][… in bayerfast_demosaic()
130 …vfloat wtlv = INVGRADV(abs2v + vabsf(tempv - LVFU(rawData[i][j - 2])) + vabsf(LVFU(rawData[i][j - … in bayerfast_demosaic()
132 … vfloat greenv = (wtuv * LVFU(rawData[i - 1][j]) + wtdv * LVFU(rawData[i + 1][j]) + wtlv * LVFU(ra… in bayerfast_demosaic()
169LVFU(greentile[rr * TS + cc]) - zd25v * ((LVFU(greentile[(rr - 1)*TS + (cc - 1)]) + LVFU(greentile… in bayerfast_demosaic()
170 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in bayerfast_demosaic()
186LVFU(greentile[rr * TS + cc]) - zd25v * ((LVFU(greentile[(rr - 1)*TS + cc - 1]) + LVFU(greentile[(… in bayerfast_demosaic()
187 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in bayerfast_demosaic()
214 …float greensumv = LVFU(greentile[(rr - 1) * TS + cc]) + LVFU(greentile[(rr + 1) * TS + cc]) + LVFU in bayerfast_demosaic()
217 …zd25v * (greensumv - LVFU(redtile[(rr - 1) * TS + cc]) - LVFU(redtile[(rr + 1) * TS + cc]) - LVFU(… in bayerfast_demosaic()
[all …]
H A Digv.cc163 …ngv = epsv + (vabsf(LVFU(rgb[1][(indx - v1) >> 1]) - LVFU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
164 …egv = epsv + (vabsf(LVFU(rgb[1][(indx + h1) >> 1]) - LVFU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
165 …wgv = epsv + (vabsf(LVFU(rgb[1][(indx - h1) >> 1]) - LVFU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
166 …sgv = epsv + (vabsf(LVFU(rgb[1][(indx + v1) >> 1]) - LVFU(rgb[1][(indx + v3) >> 1])) + vabsf(LVFU(… in igv_demosaic()
171LVFU(rgb[1][(indx - v1) >> 1]) + c23v * LVFU(rgb[1][(indx - v3) >> 1]) + LVFU(rgb[1][(indx - v5) >… in igv_demosaic()
217LVFU(vdif[indx1])) + c69v * (SQRV(LVFU(vdif[indx1 - v1])) + SQRV(LVFU(vdif[indx1 + v1]))) + c51v *… in igv_demosaic()
218LVFU(vdif[indx1 - v2]) + LVFU(vdif[indx1 - v1]) + LVFU(vdif[indx1])) + SQRV(LVFU(vdif[indx1]) + LV… in igv_demosaic()
219LVFU(hdif[indx1])) + c69v * (SQRV(LVFU(hdif[indx1 - h1])) + SQRV(LVFU(hdif[indx1 + h1]))) + c51v *… in igv_demosaic()
220LVFU(hdif[indx1 - h2]) + LVFU(hdif[indx1 - h1]) + LVFU(hdif[indx1])) + SQRV(LVFU(hdif[indx1]) + LV… in igv_demosaic()
222 …v = median(d725v * LVFU(vdif[indx1]) + d1375v * LVFU(vdif[indx1 - v1]) + d1375v * LVFU(vdif[indx1 … in igv_demosaic()
[all …]
H A Dhphd.cc68LVFU(temp[j - 4][0]) + LVFU(temp[j - 3][0])) + (LVFU(temp[j - 2][0]) + LVFU(temp[j - 1][0])) + (LV… in hphd_vertical()
70LVFU(temp[j - 4][0]) - avgL1) + SQRV(LVFU(temp[j - 3][0]) - avgL1)) + (SQRV(LVFU(temp[j - 2][0]) -… in hphd_vertical()
71LVFU(temp[j - 4][4]) + LVFU(temp[j - 3][4])) + (LVFU(temp[j - 2][4]) + LVFU(temp[j - 1][4])) + (LV… in hphd_vertical()
73LVFU(temp[j - 4][4]) - avgL2) + SQRV(LVFU(temp[j - 3][4]) - avgL2)) + (SQRV(LVFU(temp[j - 2][4]) -… in hphd_vertical()
160 const vfloat avgL = LVFU(avg[j - 1]); in hphd_horizontal()
161 const vfloat avgR = LVFU(avg[j + 1]); in hphd_horizontal()
162 const vfloat devL = LVFU(dev[j - 1]); in hphd_horizontal()
163 const vfloat devR = LVFU(dev[j + 1]); in hphd_horizontal()
166 const vfloat hpmapoldv = LVFU(hpmap[i][j]); in hphd_horizontal()
H A Damaze.cc422 … = LVFU(cfa[indx - 1]) * (LVFU(dirwts1[indx - 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx - 2])… in amaze_demosaic()
423 … = LVFU(cfa[indx + 1]) * (LVFU(dirwts1[indx + 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx + 2])… in amaze_demosaic()
438 … vfloat hwtv = LVFU(dirwts1[indx - 1]) / (LVFU(dirwts1[indx - 1]) + LVFU(dirwts1[indx + 1])); in amaze_demosaic()
577 …vfloat hcdvarv = SQRV(LVFU(hcd[indx - 2]) - hcdv) + SQRV(LVFU(hcd[indx - 2]) - LVFU(hcd[indx + 2])… in amaze_demosaic()
579 …at hcdaltvarv = SQRV(LVFU(hcdalt[indx - 2]) - hcdaltv) + SQRV(LVFU(hcdalt[indx - 2]) - LVFU(hcdalt… in amaze_demosaic()
1148 …ssqv + (gausseven0v * (LVFU(Dgrbsq1m[(indx - v1) >> 1]) + LVFU(Dgrbsq1m[(indx - 1) >> 1]) + LVFU(D… in amaze_demosaic()
1252 …vfloat pmwtaltv = zd25v * (LVFU(pmwt[(indx - m1) >> 1]) + LVFU(pmwt[(indx + p1) >> 1]) + LVFU(pmwt… in amaze_demosaic()
1433 …ev / (tempv + vabsf(LVFU(Dgrb[c][(indx - m1) >> 1]) - LVFU(Dgrb[c][(indx - m3) >> 1])) + vabsf(LVF… in amaze_demosaic()
1434 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx + p1) >> 1]) - LVFU(Dgrb[c][(indx + p3) >> 1])) + vabsf(LVF… in amaze_demosaic()
1435 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx - p1) >> 1]) - LVFU(Dgrb[c][(indx + m3) >> 1])) + vabsf(LVF… in amaze_demosaic()
[all …]
/dports/graphics/art/ART-1.9.3/rtengine/
H A Dfast_demo.cc301 absv = vabsf(LVFU(rawData[i - 1][j]) - LVFU(rawData[i + 1][j])); in fast_demosaic()
302 …wtuv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i - 2][j])) + vabsf(LVFU(rawData[i - 1][j]) - LV… in fast_demosaic()
303 …wtdv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i + 2][j])) + vabsf(LVFU(rawData[i + 1][j]) - LV… in fast_demosaic()
304 abs2v = vabsf(LVFU(rawData[i][j - 1]) - LVFU(rawData[i][j + 1])); in fast_demosaic()
305 …wtlv = INVGRADV(abs2v + vabsf(tempv - LVFU(rawData[i][j - 2])) + vabsf(LVFU(rawData[i][j - 1]) - L… in fast_demosaic()
306 …wtrv = INVGRADV(abs2v + vabsf(tempv - LVFU(rawData[i][j + 2])) + vabsf(LVFU(rawData[i][j + 1]) - L… in fast_demosaic()
307 …greenv = (wtuv * LVFU(rawData[i - 1][j]) + wtdv * LVFU(rawData[i + 1][j]) + wtlv * LVFU(rawData[i]… in fast_demosaic()
367 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in fast_demosaic()
384 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in fast_demosaic()
412 …greensumv = LVFU(greentile[(rr - 1) * TS + cc]) + LVFU(greentile[(rr + 1) * TS + cc]) + LVFU(green… in fast_demosaic()
[all …]
H A Dhphd_demosaic_RT.cc66LVFU(temp[j - 4][0]) + LVFU(temp[j - 3][0])) + (LVFU(temp[j - 2][0]) + LVFU(temp[j - 1][0])) + (LV… in hphd_vertical()
68LVFU(temp[j - 4][0]) - avgL1) + SQRV(LVFU(temp[j - 3][0]) - avgL1)) + (SQRV(LVFU(temp[j - 2][0]) -… in hphd_vertical()
69LVFU(temp[j - 4][4]) + LVFU(temp[j - 3][4])) + (LVFU(temp[j - 2][4]) + LVFU(temp[j - 1][4])) + (LV… in hphd_vertical()
71LVFU(temp[j - 4][4]) - avgL2) + SQRV(LVFU(temp[j - 3][4]) - avgL2)) + (SQRV(LVFU(temp[j - 2][4]) -… in hphd_vertical()
155 const vfloat avgL = LVFU(avg[j - 1]); in hphd_horizontal()
156 const vfloat avgR = LVFU(avg[j + 1]); in hphd_horizontal()
157 const vfloat devL = LVFU(dev[j - 1]); in hphd_horizontal()
158 const vfloat devR = LVFU(dev[j + 1]); in hphd_horizontal()
161 const vfloat hpmapoldv = LVFU(hpmap[i][j]); in hphd_horizontal()
H A Ddemosaic_algos.cc600 …ngv = (epsv + (vabsf(LVFU(rgb[1][(indx - v1) >> 1]) - LVFU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU in igv_interpolate()
601 …egv = (epsv + (vabsf(LVFU(rgb[1][(indx + h1) >> 1]) - LVFU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU in igv_interpolate()
602 …wgv = (epsv + (vabsf(LVFU(rgb[1][(indx - h1) >> 1]) - LVFU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU in igv_interpolate()
603 …sgv = (epsv + (vabsf(LVFU(rgb[1][(indx + v1) >> 1]) - LVFU(rgb[1][(indx + v3) >> 1])) + vabsf(LVFU in igv_interpolate()
608LVFU(rgb[1][(indx - v1) >> 1]) + c23v * LVFU(rgb[1][(indx - v3) >> 1]) + LVFU(rgb[1][(indx - v5) >… in igv_interpolate()
656LVFU(vdif[indx1])) + c69v * (SQRV(LVFU(vdif[indx1 - v1])) + SQRV(LVFU(vdif[indx1 + v1]))) + c51v *… in igv_interpolate()
657LVFU(vdif[indx1 - v2]) + LVFU(vdif[indx1 - v1]) + LVFU(vdif[indx1])) + SQRV(LVFU(vdif[indx1]) + LV… in igv_interpolate()
658LVFU(hdif[indx1])) + c69v * (SQRV(LVFU(hdif[indx1 - h1])) + SQRV(LVFU(hdif[indx1 + h1]))) + c51v *… in igv_interpolate()
659LVFU(hdif[indx1 - h2]) + LVFU(hdif[indx1 - h1]) + LVFU(hdif[indx1])) + SQRV(LVFU(hdif[indx1]) + LV… in igv_interpolate()
661 …v = median(d725v * LVFU(vdif[indx1]) + d1375v * LVFU(vdif[indx1 - v1]) + d1375v * LVFU(vdif[indx1 … in igv_interpolate()
[all …]
H A Damaze_demosaic_RT.cc388 … = LVFU(cfa[indx - 1]) * (LVFU(dirwts1[indx - 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx - 2])… in amaze_demosaic_RT()
389 … = LVFU(cfa[indx + 1]) * (LVFU(dirwts1[indx + 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx + 2])… in amaze_demosaic_RT()
404 … vfloat hwtv = LVFU(dirwts1[indx - 1]) / (LVFU(dirwts1[indx - 1]) + LVFU(dirwts1[indx + 1])); in amaze_demosaic_RT()
543 …vfloat hcdvarv = SQRV(LVFU(hcd[indx - 2]) - hcdv) + SQRV(LVFU(hcd[indx - 2]) - LVFU(hcd[indx + 2])… in amaze_demosaic_RT()
545 …at hcdaltvarv = SQRV(LVFU(hcdalt[indx - 2]) - hcdaltv) + SQRV(LVFU(hcdalt[indx - 2]) - LVFU(hcdalt… in amaze_demosaic_RT()
1114 …ssqv + (gausseven0v * (LVFU(Dgrbsq1m[(indx - v1) >> 1]) + LVFU(Dgrbsq1m[(indx - 1) >> 1]) + LVFU(D… in amaze_demosaic_RT()
1218 …vfloat pmwtaltv = zd25v * (LVFU(pmwt[(indx - m1) >> 1]) + LVFU(pmwt[(indx + p1) >> 1]) + LVFU(pmwt… in amaze_demosaic_RT()
1399 …ev / (tempv + vabsf(LVFU(Dgrb[c][(indx - m1) >> 1]) - LVFU(Dgrb[c][(indx - m3) >> 1])) + vabsf(LVF… in amaze_demosaic_RT()
1400 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx + p1) >> 1]) - LVFU(Dgrb[c][(indx + p3) >> 1])) + vabsf(LVF… in amaze_demosaic_RT()
1401 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx - p1) >> 1]) - LVFU(Dgrb[c][(indx + m3) >> 1])) + vabsf(LVF… in amaze_demosaic_RT()
[all …]
H A Dgreen_equil_RT.cc152 vfloat o1_1 = LVFU(cfa[rr - 1][(cc - 1) >> 1]); in green_equilibrate()
153 vfloat o1_2 = LVFU(cfa[rr - 1][(cc + 1) >> 1]); in green_equilibrate()
154 vfloat o1_3 = LVFU(cfa[rr + 1][(cc - 1) >> 1]); in green_equilibrate()
155 vfloat o1_4 = LVFU(cfa[rr + 1][(cc + 1) >> 1]); in green_equilibrate()
156 vfloat o2_1 = LVFU(cfa[rr - 2][cc >> 1]); in green_equilibrate()
157 vfloat o2_2 = LVFU(cfa[rr + 2][cc >> 1]); in green_equilibrate()
158 vfloat o2_3 = LVFU(cfa[rr][(cc >> 1) - 1]); in green_equilibrate()
159 vfloat o2_4 = LVFU(cfa[rr][(cc >> 1) + 1]); in green_equilibrate()
177 vfloat gin = LVFU(cfa[rr][cc >> 1]); in green_equilibrate()
179 vfloat gmp2p2 = gin - LVFU(cfa[rr + 2][(cc >> 1) + 1]); in green_equilibrate()
[all …]
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/
H A Dfast_demo.cc308 absv = vabsf(LVFU(rawData[i - 1][j]) - LVFU(rawData[i + 1][j])); in fast_demosaic()
309 …wtuv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i - 2][j])) + vabsf(LVFU(rawData[i - 1][j]) - LV… in fast_demosaic()
310 …wtdv = INVGRADV(absv + vabsf(tempv - LVFU(rawData[i + 2][j])) + vabsf(LVFU(rawData[i + 1][j]) - LV… in fast_demosaic()
311 abs2v = vabsf(LVFU(rawData[i][j - 1]) - LVFU(rawData[i][j + 1])); in fast_demosaic()
312 …wtlv = INVGRADV(abs2v + vabsf(tempv - LVFU(rawData[i][j - 2])) + vabsf(LVFU(rawData[i][j - 1]) - L… in fast_demosaic()
313 …wtrv = INVGRADV(abs2v + vabsf(tempv - LVFU(rawData[i][j + 2])) + vabsf(LVFU(rawData[i][j + 1]) - L… in fast_demosaic()
314 …greenv = (wtuv * LVFU(rawData[i - 1][j]) + wtdv * LVFU(rawData[i + 1][j]) + wtlv * LVFU(rawData[i]… in fast_demosaic()
374 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in fast_demosaic()
391 …vminf(LVFU(rawData[i - 1][j - 1]) + LVFU(rawData[i - 1][j + 1]) + LVFU(rawData[i + 1][j + 1]) + LV… in fast_demosaic()
419 …greensumv = LVFU(greentile[(rr - 1) * TS + cc]) + LVFU(greentile[(rr + 1) * TS + cc]) + LVFU(green… in fast_demosaic()
[all …]
H A Ddemosaic_algos.cc321 …ngv = (epsv + (vabsf(LVFU(rgb[1][(indx - v1) >> 1]) - LVFU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU in igv_interpolate()
322 …egv = (epsv + (vabsf(LVFU(rgb[1][(indx + h1) >> 1]) - LVFU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU in igv_interpolate()
323 …wgv = (epsv + (vabsf(LVFU(rgb[1][(indx - h1) >> 1]) - LVFU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU in igv_interpolate()
324 …sgv = (epsv + (vabsf(LVFU(rgb[1][(indx + v1) >> 1]) - LVFU(rgb[1][(indx + v3) >> 1])) + vabsf(LVFU in igv_interpolate()
329LVFU(rgb[1][(indx - v1) >> 1]) + c23v * LVFU(rgb[1][(indx - v3) >> 1]) + LVFU(rgb[1][(indx - v5) >… in igv_interpolate()
377LVFU(vdif[indx1])) + c69v * (SQRV(LVFU(vdif[indx1 - v1])) + SQRV(LVFU(vdif[indx1 + v1]))) + c51v *… in igv_interpolate()
378LVFU(vdif[indx1 - v2]) + LVFU(vdif[indx1 - v1]) + LVFU(vdif[indx1])) + SQRV(LVFU(vdif[indx1]) + LV… in igv_interpolate()
379LVFU(hdif[indx1])) + c69v * (SQRV(LVFU(hdif[indx1 - h1])) + SQRV(LVFU(hdif[indx1 + h1]))) + c51v *… in igv_interpolate()
380LVFU(hdif[indx1 - h2]) + LVFU(hdif[indx1 - h1]) + LVFU(hdif[indx1])) + SQRV(LVFU(hdif[indx1]) + LV… in igv_interpolate()
382 …v = median(d725v * LVFU(vdif[indx1]) + d1375v * LVFU(vdif[indx1 - v1]) + d1375v * LVFU(vdif[indx1 … in igv_interpolate()
[all …]
H A Dhphd_demosaic_RT.cc66LVFU(temp[j - 4][0]) + LVFU(temp[j - 3][0])) + (LVFU(temp[j - 2][0]) + LVFU(temp[j - 1][0])) + (LV… in hphd_vertical()
68LVFU(temp[j - 4][0]) - avgL1) + SQRV(LVFU(temp[j - 3][0]) - avgL1)) + (SQRV(LVFU(temp[j - 2][0]) -… in hphd_vertical()
69LVFU(temp[j - 4][4]) + LVFU(temp[j - 3][4])) + (LVFU(temp[j - 2][4]) + LVFU(temp[j - 1][4])) + (LV… in hphd_vertical()
71LVFU(temp[j - 4][4]) - avgL2) + SQRV(LVFU(temp[j - 3][4]) - avgL2)) + (SQRV(LVFU(temp[j - 2][4]) -… in hphd_vertical()
155 const vfloat avgL = LVFU(avg[j - 1]); in hphd_horizontal()
156 const vfloat avgR = LVFU(avg[j + 1]); in hphd_horizontal()
157 const vfloat devL = LVFU(dev[j - 1]); in hphd_horizontal()
158 const vfloat devR = LVFU(dev[j + 1]); in hphd_horizontal()
161 const vfloat hpmapoldv = LVFU(hpmap[i][j]); in hphd_horizontal()
H A Drt_algo.cc65 avgv += LVFU(data[y][x]); in tileAverage()
89 varv += SQRV(LVFU(data[y][x]) - avgv); in tileVariance()
115 …vfloat contrastv = vsqrtf(SQRV(LVFU(luminance[j][i+1]) - LVFU(luminance[j][i-1])) + SQRV(LVFU(lumi… in calcContrastThreshold()
116 …SQRV(LVFU(luminance[j][i+2]) - LVFU(luminance[j][i-2])) + SQRV(LVFU(luminance[j+2][i]) - LVFU(lumi… in calcContrastThreshold()
144 sumv += calcBlendFactor(LVFU(blend[j][i]), contrastThresholdv); in calcContrastThreshold()
428 …vfloat contrastv = vsqrtf(SQRV(LVFU(luminance[j][i+1]) - LVFU(luminance[j][i-1])) + SQRV(LVFU(lumi… in buildBlendMask()
429 …SQRV(LVFU(luminance[j][i+2]) - LVFU(luminance[j][i-2])) + SQRV(LVFU(luminance[j+2][i]) - LVFU(lumi… in buildBlendMask()
431 … STVFU(blend[j][i], LVFU(clipMask[j][i]) * calcBlendFactor(contrastv, contrastThresholdv)); in buildBlendMask()
435 …vfloat contrastv = vsqrtf(SQRV(LVFU(luminance[j][i+1]) - LVFU(luminance[j][i-1])) + SQRV(LVFU(lumi… in buildBlendMask()
436 …SQRV(LVFU(luminance[j][i+2]) - LVFU(luminance[j][i-2])) + SQRV(LVFU(luminance[j+2][i]) - LVFU(lumi… in buildBlendMask()
H A Damaze_demosaic_RT.cc402 … = LVFU(cfa[indx - 1]) * (LVFU(dirwts1[indx - 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx - 2])… in amaze_demosaic_RT()
403 … = LVFU(cfa[indx + 1]) * (LVFU(dirwts1[indx + 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx + 2])… in amaze_demosaic_RT()
418 … vfloat hwtv = LVFU(dirwts1[indx - 1]) / (LVFU(dirwts1[indx - 1]) + LVFU(dirwts1[indx + 1])); in amaze_demosaic_RT()
557 …vfloat hcdvarv = SQRV(LVFU(hcd[indx - 2]) - hcdv) + SQRV(LVFU(hcd[indx - 2]) - LVFU(hcd[indx + 2])… in amaze_demosaic_RT()
559 …at hcdaltvarv = SQRV(LVFU(hcdalt[indx - 2]) - hcdaltv) + SQRV(LVFU(hcdalt[indx - 2]) - LVFU(hcdalt… in amaze_demosaic_RT()
1128 …ssqv + (gausseven0v * (LVFU(Dgrbsq1m[(indx - v1) >> 1]) + LVFU(Dgrbsq1m[(indx - 1) >> 1]) + LVFU(D… in amaze_demosaic_RT()
1232 …vfloat pmwtaltv = zd25v * (LVFU(pmwt[(indx - m1) >> 1]) + LVFU(pmwt[(indx + p1) >> 1]) + LVFU(pmwt… in amaze_demosaic_RT()
1413 …ev / (tempv + vabsf(LVFU(Dgrb[c][(indx - m1) >> 1]) - LVFU(Dgrb[c][(indx - m3) >> 1])) + vabsf(LVF… in amaze_demosaic_RT()
1414 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx + p1) >> 1]) - LVFU(Dgrb[c][(indx + p3) >> 1])) + vabsf(LVF… in amaze_demosaic_RT()
1415 …v / (temp2v + vabsf(LVFU(Dgrb[c][(indx - p1) >> 1]) - LVFU(Dgrb[c][(indx + m3) >> 1])) + vabsf(LVF… in amaze_demosaic_RT()
[all …]
H A Dgreen_equil_RT.cc152 vfloat o1_1 = LVFU(cfa[rr - 1][(cc - 1) >> 1]); in green_equilibrate()
153 vfloat o1_2 = LVFU(cfa[rr - 1][(cc + 1) >> 1]); in green_equilibrate()
154 vfloat o1_3 = LVFU(cfa[rr + 1][(cc - 1) >> 1]); in green_equilibrate()
155 vfloat o1_4 = LVFU(cfa[rr + 1][(cc + 1) >> 1]); in green_equilibrate()
156 vfloat o2_1 = LVFU(cfa[rr - 2][cc >> 1]); in green_equilibrate()
157 vfloat o2_2 = LVFU(cfa[rr + 2][cc >> 1]); in green_equilibrate()
158 vfloat o2_3 = LVFU(cfa[rr][(cc >> 1) - 1]); in green_equilibrate()
159 vfloat o2_4 = LVFU(cfa[rr][(cc >> 1) + 1]); in green_equilibrate()
177 vfloat gin = LVFU(cfa[rr][cc >> 1]); in green_equilibrate()
179 vfloat gmp2p2 = gin - LVFU(cfa[rr + 2][(cc >> 1) + 1]); in green_equilibrate()
[all …]
/dports/astro/siril/siril/src/rt/
H A Drt_algo.cc65 avgv += LVFU(data[y][x]); in tileAverage()
89 varv += SQRV(LVFU(data[y][x]) - avgv); in tileVariance()
115 …vfloat contrastv = vsqrtf(SQRV(LVFU(luminance[j][i+1]) - LVFU(luminance[j][i-1])) + SQRV(LVFU(lumi… in calcContrastThreshold()
116 …SQRV(LVFU(luminance[j][i+2]) - LVFU(luminance[j][i-2])) + SQRV(LVFU(luminance[j+2][i]) - LVFU(lumi… in calcContrastThreshold()
144 sumv += calcBlendFactor(LVFU(blend[j][i]), contrastThresholdv); in calcContrastThreshold()
430 …vfloat contrastv = vsqrtf(SQRV(LVFU(luminance[j][i+1]) - LVFU(luminance[j][i-1])) + SQRV(LVFU(lumi… in buildBlendMask()
431 …SQRV(LVFU(luminance[j][i+2]) - LVFU(luminance[j][i-2])) + SQRV(LVFU(luminance[j+2][i]) - LVFU(lumi… in buildBlendMask()
433 … STVFU(blend[j][i], LVFU(clipMask[j][i]) * calcBlendFactor(contrastv, contrastThresholdv)); in buildBlendMask()
437 …vfloat contrastv = vsqrtf(SQRV(LVFU(luminance[j][i+1]) - LVFU(luminance[j][i-1])) + SQRV(LVFU(lumi… in buildBlendMask()
438 …SQRV(LVFU(luminance[j][i+2]) - LVFU(luminance[j][i-2])) + SQRV(LVFU(luminance[j+2][i]) - LVFU(lumi… in buildBlendMask()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/
H A Damaze_demosaic_RT.cc409 … = LVFU(cfa[indx - 1]) * (LVFU(dirwts1[indx - 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx - 2])… in amaze_demosaic_RT()
410 … = LVFU(cfa[indx + 1]) * (LVFU(dirwts1[indx + 2]) + LVF(dirwts1[indx])) / (LVFU(dirwts1[indx + 2])… in amaze_demosaic_RT()
415 vfloat glhav = LVFU(cfa[indx - 1]) + zd5v * (cfav - LVFU(cfa[indx - 2])); in amaze_demosaic_RT()
425 vfloat hwtv = LVFU(dirwts1[indx - 1]) / (LVFU(dirwts1[indx - 1]) + LVFU(dirwts1[indx + 1])); in amaze_demosaic_RT()
564 …vfloat hcdvarv = SQRV(LVFU(hcd[indx - 2]) - hcdv) + SQRV(LVFU(hcd[indx - 2]) - LVFU(hcd[indx + 2])… in amaze_demosaic_RT()
566 …at hcdaltvarv = SQRV(LVFU(hcdalt[indx - 2]) - hcdaltv) + SQRV(LVFU(hcdalt[indx - 2]) - LVFU(hcdalt… in amaze_demosaic_RT()
1136 …gausseven1v * (LVFU(Dgrbsq1m[(indx - v2 - 1) >> 1]) + LVFU(Dgrbsq1m[(indx - v2 + 1) >> 1]) + LVFU(… in amaze_demosaic_RT()
1137LVFU(Dgrbsq1m[(indx - 2 + v1) >> 1]) + LVFU(Dgrbsq1m[(indx + 2 + v1) >> 1]) + LVFU(Dgrbsq1m[(indx … in amaze_demosaic_RT()
1139 …gausseven1v * (LVFU(Dgrbsq1p[(indx - v2 - 1) >> 1]) + LVFU(Dgrbsq1p[(indx - v2 + 1) >> 1]) + LVFU(… in amaze_demosaic_RT()
1140LVFU(Dgrbsq1p[(indx - 2 + v1) >> 1]) + LVFU(Dgrbsq1p[(indx + 2 + v1) >> 1]) + LVFU(Dgrbsq1p[(indx … in amaze_demosaic_RT()
[all …]

1234567