/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | curves.h | 818 const vfloat c65535v = F2V(65535.f); in BatchApply() local 823 vfloat r_val = vclampf(LVF(r[i]), ZEROV, c65535v); in BatchApply() 824 vfloat g_val = vclampf(LVF(g[i]), ZEROV, c65535v); in BatchApply() 825 vfloat b_val = vclampf(LVF(b[i]), ZEROV, c65535v); in BatchApply() 841 vfloat r_new = vclampf(r1 * zd5v + r2 * zd25v + r3 * zd25v, ZEROV, c65535v); in BatchApply() 842 vfloat g_new = vclampf(g1 * zd25v + g2 * zd5v + g3 * zd25v, ZEROV, c65535v); in BatchApply() 843 vfloat b_new = vclampf(b1 * zd25v + b2 * zd25v + b3 * zd5v, ZEROV, c65535v); in BatchApply()
|
H A D | CA_correct_RT.cc | 323 vfloat c65535v = F2V(65535.f); in CA_correct_RT() local 340 vfloat val1 = LVFU(rawData[row][col]) / c65535v; in CA_correct_RT() 341 vfloat val2 = LVFU(rawData[row][col + 4]) / c65535v; in CA_correct_RT() 872 vfloat c65535v = F2V(65535.f); in CA_correct_RT() local 892 vfloat val1v = LVFU(rawData[row][col]) / c65535v; in CA_correct_RT() 893 vfloat val2v = LVFU(rawData[row][col + 4]) / c65535v; in CA_correct_RT() 1230 STVFU(RawDataTmp[indx], c65535v * LVFU(rgb[c][indx1])); in CA_correct_RT()
|
H A D | demosaic_algos.cc | 534 __m128 c65535v = _mm_set1_ps( 65535.f ); in igv_interpolate() local 600 …U(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - v1)]))) / c65535v); in igv_interpolate() 601 …U(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 + h1)]))) / c65535v); in igv_interpolate() 602 …U(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - h1)]))) / c65535v); in igv_interpolate() 603 …U(rgb[1][(indx + v3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 + v1)]))) / c65535v); in igv_interpolate() 613 tempv = LVFU( rgb[0][indx1] ) / c65535v; in igv_interpolate() 667 temp1v = c65535v * tempv + LVFU(rgb[0][indx1]); in igv_interpolate() 842 temp3v = vmaxf(tempv - c65535v * temp3v, ZEROV); in igv_interpolate() 848 temp4v = vmaxf(tempv - c65535v * temp4v, ZEROV); in igv_interpolate() 857 temp3v = vmaxf(tempv - c65535v * temp3v, ZEROV); in igv_interpolate() [all …]
|
H A D | amaze_demosaic_RT.cc | 207 vfloat c65535v = F2V( 65535.f ); in amaze_demosaic_RT() local 216 vfloat tempv = LVFU(rawData[row][cc + left]) / c65535v; in amaze_demosaic_RT() 229 vfloat tempv = LVFU(rawData[row][cc + left]) / c65535v; in amaze_demosaic_RT() 246 … vfloat tempv = LVFU(rawData[(winy + height - rr - 2)][left + cc]) / c65535v; in amaze_demosaic_RT() 1459 STVFU(red[row][col], vmaxf(c65535v * vself(selmask, redv1, redv2), ZEROV)); in amaze_demosaic_RT() 1460 … STVFU(blue[row][col], vmaxf(c65535v * vself(selmask, bluev1, bluev2), ZEROV)); in amaze_demosaic_RT() 1557 … STVFU(green[row][cc + left], vmaxf(LVF(rgbgreen[rr * ts + cc]) * c65535v, ZEROV)); in amaze_demosaic_RT()
|
H A D | curves.cc | 497 vfloat c65535v = F2V(65535.f); in complexCurve() local 502 STVFU(outCurve[i], c65535v * valv); in complexCurve()
|
H A D | color.cc | 670 vfloat c65535v = F2V(65535.f); in hsl2rgb() local 674 r = c65535v * hue2rgb (m1, m2, h + twov); in hsl2rgb() 675 g = c65535v * hue2rgb (m1, m2, h); in hsl2rgb() 676 b = c65535v * hue2rgb (m1, m2, h - twov); in hsl2rgb() 679 vfloat lc65535v = c65535v * l; in hsl2rgb()
|
/dports/graphics/librtprocess/librtprocess-0.11.0/src/demosaic/ |
H A D | igv.cc | 45 #define CLIPV(a) LIMV(a,zerov,c65535v) 104 const vfloat c65535v = F2V(65535.f); in igv_demosaic() local 163 …FU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - v1)]))) / c65535v; in igv_demosaic() 164 …FU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 + h1)]))) / c65535v; in igv_demosaic() 165 …FU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - h1)]))) / c65535v; in igv_demosaic() 176 tempv = LVFU(rgb[0][indx1]) / c65535v; in igv_demosaic() 228 temp1v = c65535v * tempv + LVFU(rgb[0][indx1]); in igv_demosaic() 394 temp3v = CLIPV(tempv - c65535v * temp3v); in igv_demosaic() 400 temp4v = CLIPV(tempv - c65535v * temp4v); in igv_demosaic() 409 temp3v = CLIPV(tempv - c65535v * temp3v); in igv_demosaic() [all …]
|
H A D | lmmse.cc | 42 #define CLIPV(a) LIMV(a,ZEROV,c65535v) 74 const vfloat c65535v = F2V(65535.f); in refinement() local 110 const vfloat c65535v = F2V(65535.f); in refinement() local 149 const vfloat c65535v = F2V(65535.f); in refinement() local
|
/dports/astro/siril/siril/subprojects/librtprocess/src/demosaic/ |
H A D | igv.cc | 45 #define CLIPV(a) LIMV(a,zerov,c65535v) 104 const vfloat c65535v = F2V(65535.f); in igv_demosaic() local 163 …FU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - v1)]))) / c65535v; in igv_demosaic() 164 …FU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 + h1)]))) / c65535v; in igv_demosaic() 165 …FU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - h1)]))) / c65535v; in igv_demosaic() 176 tempv = LVFU(rgb[0][indx1]) / c65535v; in igv_demosaic() 228 temp1v = c65535v * tempv + LVFU(rgb[0][indx1]); in igv_demosaic() 394 temp3v = CLIPV(tempv - c65535v * temp3v); in igv_demosaic() 400 temp4v = CLIPV(tempv - c65535v * temp4v); in igv_demosaic() 409 temp3v = CLIPV(tempv - c65535v * temp3v); in igv_demosaic() [all …]
|
H A D | lmmse.cc | 42 #define CLIPV(a) LIMV(a,ZEROV,c65535v) 74 const vfloat c65535v = F2V(65535.f); in refinement() local 110 const vfloat c65535v = F2V(65535.f); in refinement() local 149 const vfloat c65535v = F2V(65535.f); in refinement() local
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/librtprocess/src/demosaic/ |
H A D | igv.cc | 45 #define CLIPV(a) LIMV(a,zerov,c65535v) 104 const vfloat c65535v = F2V(65535.f); in igv_demosaic() local 163 …FU(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - v1)]))) / c65535v; in igv_demosaic() 164 …FU(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 + h1)]))) / c65535v; in igv_demosaic() 165 …FU(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - h1)]))) / c65535v; in igv_demosaic() 176 tempv = LVFU(rgb[0][indx1]) / c65535v; in igv_demosaic() 228 temp1v = c65535v * tempv + LVFU(rgb[0][indx1]); in igv_demosaic() 394 temp3v = CLIPV(tempv - c65535v * temp3v); in igv_demosaic() 400 temp4v = CLIPV(tempv - c65535v * temp4v); in igv_demosaic() 409 temp3v = CLIPV(tempv - c65535v * temp3v); in igv_demosaic() [all …]
|
H A D | lmmse.cc | 42 #define CLIPV(a) LIMV(a,ZEROV,c65535v) 74 const vfloat c65535v = F2V(65535.f); in refinement() local 110 const vfloat c65535v = F2V(65535.f); in refinement() local 149 const vfloat c65535v = F2V(65535.f); in refinement() local
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | curves.h | 1226 const vfloat c65535v = F2V(65535.f); in BatchApply() local 1231 vfloat r_val = vclampf(LVF(r[i]), ZEROV, c65535v); in BatchApply() 1232 vfloat g_val = vclampf(LVF(g[i]), ZEROV, c65535v); in BatchApply() 1233 vfloat b_val = vclampf(LVF(b[i]), ZEROV, c65535v); in BatchApply() 1249 vfloat r_new = vclampf(r1 * zd5v + r2 * zd25v + r3 * zd25v, ZEROV, c65535v); in BatchApply() 1250 vfloat g_new = vclampf(g1 * zd25v + g2 * zd5v + g3 * zd25v, ZEROV, c65535v); in BatchApply() 1251 vfloat b_new = vclampf(b1 * zd25v + b2 * zd25v + b3 * zd5v, ZEROV, c65535v); in BatchApply()
|
H A D | demosaic_algos.cc | 255 __m128 c65535v = _mm_set1_ps( 65535.f ); in igv_interpolate() local 321 …U(rgb[1][(indx - v3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - v1)]))) / c65535v); in igv_interpolate() 322 …U(rgb[1][(indx + h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 + h1)]))) / c65535v); in igv_interpolate() 323 …U(rgb[1][(indx - h3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 - h1)]))) / c65535v); in igv_interpolate() 324 …U(rgb[1][(indx + v3) >> 1])) + vabsf(LVFU(rgb[0][indx1]) - LVFU(rgb[0][(indx1 + v1)]))) / c65535v); in igv_interpolate() 334 tempv = LVFU( rgb[0][indx1] ) / c65535v; in igv_interpolate() 388 temp1v = c65535v * tempv + LVFU(rgb[0][indx1]); in igv_interpolate() 563 temp3v = vmaxf(tempv - c65535v * temp3v, ZEROV); in igv_interpolate() 569 temp4v = vmaxf(tempv - c65535v * temp4v, ZEROV); in igv_interpolate() 578 temp3v = vmaxf(tempv - c65535v * temp3v, ZEROV); in igv_interpolate() [all …]
|
H A D | CA_correct_RT.cc | 320 vfloat c65535v = F2V(65535.f); in CA_correct_RT() local 337 vfloat val1 = LVFU(rawData[row][col]) / c65535v; in CA_correct_RT() 338 vfloat val2 = LVFU(rawData[row][col + 4]) / c65535v; in CA_correct_RT() 869 vfloat c65535v = F2V(65535.f); in CA_correct_RT() local 889 vfloat val1v = LVFU(rawData[row][col]) / c65535v; in CA_correct_RT() 890 vfloat val2v = LVFU(rawData[row][col + 4]) / c65535v; in CA_correct_RT() 1227 STVFU(RawDataTmp[indx], c65535v * LVFU(rgb[c][indx1])); in CA_correct_RT()
|
H A D | amaze_demosaic_RT.cc | 221 vfloat c65535v = F2V( 65535.f ); in amaze_demosaic_RT() local 230 vfloat tempv = LVFU(rawData[row][cc + left]) / c65535v; in amaze_demosaic_RT() 243 vfloat tempv = LVFU(rawData[row][cc + left]) / c65535v; in amaze_demosaic_RT() 260 … vfloat tempv = LVFU(rawData[(winy + height - rr - 2)][left + cc]) / c65535v; in amaze_demosaic_RT() 1473 STVFU(red[row][col], vmaxf(c65535v * vself(selmask, redv1, redv2), ZEROV)); in amaze_demosaic_RT() 1474 … STVFU(blue[row][col], vmaxf(c65535v * vself(selmask, bluev1, bluev2), ZEROV)); in amaze_demosaic_RT() 1571 … STVFU(green[row][cc + left], vmaxf(LVF(rgbgreen[rr * ts + cc]) * c65535v, ZEROV)); in amaze_demosaic_RT()
|
H A D | color.cc | 662 vfloat c65535v = F2V(65535.f); in hsl2rgb() local 667 g = c65535v * hue2rgb (m1, m2, h); in hsl2rgb() 671 vfloat lc65535v = c65535v * l; in hsl2rgb() 1012 vfloat c65535v = F2V(65535.f); in trcGammaBW() local 1013 rgbv /= c65535v; in trcGammaBW() 1016 rgbv *= c65535v; in trcGammaBW() 1026 vfloat c65535v = F2V(65535.f); in trcGammaBWRow() local 1033 inv /= c65535v; in trcGammaBWRow() 1038 rv *= c65535v; in trcGammaBWRow() 1039 gv *= c65535v; in trcGammaBWRow() [all …]
|
H A D | curves.cc | 761 vfloat c65535v = F2V(65535.f); in complexCurve() local 766 STVFU(outCurve[i], c65535v * valv); in complexCurve()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/rt/rtengine/ |
H A D | lmmse_demosaic_RT.cc | 57 #define CLIPV(a) LIMV(a,ZEROV,c65535v) 104 __m128 c65535v = _mm_set1_ps(65535.f); in refinement() local 145 __m128 c65535v = _mm_set1_ps(65535.f); in refinement() local 192 __m128 c65535v = _mm_set1_ps(65535.f); in refinement() local
|
H A D | amaze_demosaic_RT.cc | 230 vfloat c65535v = F2V( 65535.f ); in amaze_demosaic_RT() local 1480 STVFU(red[row][col], c65535v * vself(selmask, redv1, redv2)); in amaze_demosaic_RT() 1481 STVFU(blue[row][col], c65535v * vself(selmask, bluev1, bluev2)); in amaze_demosaic_RT() 1578 STVFU(green[row][cc + left], LVF(rgbgreen[rr * ts + cc]) * c65535v); in amaze_demosaic_RT()
|
H A D | curves.cc | 730 vfloat c65535v = F2V(65535.f); in complexCurve() local 735 STVFU(outCurve[i], c65535v * valv); in complexCurve()
|
H A D | CA_correct_RT.cc | 190 vfloat c65535v = F2V(65535.f); in CA_correct_RT() local
|
H A D | color.cc | 580 vfloat c65535v = F2V(65535.f); in hsl2rgb() local 584 r = c65535v * hue2rgb (m1, m2, h + twov); in hsl2rgb() 585 g = c65535v * hue2rgb (m1, m2, h); in hsl2rgb() 586 b = c65535v * hue2rgb (m1, m2, h - twov); in hsl2rgb() 589 vfloat lc65535v = c65535v * l; in hsl2rgb()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/ |
H A D | raw_image.cc | 2333 vfloat c65535v = F2V(65535.f); in CA_correct_RT() local
|