Lines Matching refs:real32
602 real32 *dPtr, in RefCopyArea8_R32()
615 real32 scale = 1.0f / (real32) pixelRange; in RefCopyArea8_R32()
621 real32 *dPtr1 = dPtr; in RefCopyArea8_R32()
627 real32 *dPtr2 = dPtr1; in RefCopyArea8_R32()
632 *dPtr2 = scale * (real32) *sPtr2; in RefCopyArea8_R32()
654 real32 *dPtr, in RefCopyArea16_R32()
667 real32 scale = 1.0f / (real32) pixelRange; in RefCopyArea16_R32()
673 real32 *dPtr1 = dPtr; in RefCopyArea16_R32()
679 real32 *dPtr2 = dPtr1; in RefCopyArea16_R32()
684 *dPtr2 = scale * (real32) *sPtr2; in RefCopyArea16_R32()
706 real32 *dPtr, in RefCopyAreaS16_R32()
719 real32 scale = 1.0f / (real32) pixelRange; in RefCopyAreaS16_R32()
725 real32 *dPtr1 = dPtr; in RefCopyAreaS16_R32()
731 real32 *dPtr2 = dPtr1; in RefCopyAreaS16_R32()
738 *dPtr2 = scale * (real32) x; in RefCopyAreaS16_R32()
759 void RefCopyAreaR32_8 (const real32 *sPtr, in RefCopyAreaR32_8()
773 real32 scale = (real32) pixelRange; in RefCopyAreaR32_8()
778 const real32 *sPtr1 = sPtr; in RefCopyAreaR32_8()
784 const real32 *sPtr2 = sPtr1; in RefCopyAreaR32_8()
811 void RefCopyAreaR32_16 (const real32 *sPtr, in RefCopyAreaR32_16()
825 real32 scale = (real32) pixelRange; in RefCopyAreaR32_16()
830 const real32 *sPtr1 = sPtr; in RefCopyAreaR32_16()
836 const real32 *sPtr2 = sPtr1; in RefCopyAreaR32_16()
863 void RefCopyAreaR32_S16 (const real32 *sPtr, in RefCopyAreaR32_S16()
877 real32 scale = (real32) pixelRange; in RefCopyAreaR32_S16()
882 const real32 *sPtr1 = sPtr; in RefCopyAreaR32_S16()
888 const real32 *sPtr2 = sPtr1; in RefCopyAreaR32_S16()
1234 void RefBilinearRow32 (const real32 *sPtr, in RefBilinearRow32()
1235 real32 *dPtr, in RefBilinearRow32()
1241 const real32 * const * kernWeights, in RefBilinearRow32()
1248 const real32 *p = sPtr + (j >> sShift); in RefBilinearRow32()
1253 const real32 *weights = kernWeights [patPhase]; in RefBilinearRow32()
1260 real32 total = 0.0f; in RefBilinearRow32()
1266 real32 weight = weights [k]; in RefBilinearRow32()
1268 real32 pixel = p [offset]; in RefBilinearRow32()
1282 void RefBaselineABCtoRGB (const real32 *sPtrA, in RefBaselineABCtoRGB()
1283 const real32 *sPtrB, in RefBaselineABCtoRGB()
1284 const real32 *sPtrC, in RefBaselineABCtoRGB()
1285 real32 *dPtrR, in RefBaselineABCtoRGB()
1286 real32 *dPtrG, in RefBaselineABCtoRGB()
1287 real32 *dPtrB, in RefBaselineABCtoRGB()
1293 real32 clipA = (real32) cameraWhite [0]; in RefBaselineABCtoRGB()
1294 real32 clipB = (real32) cameraWhite [1]; in RefBaselineABCtoRGB()
1295 real32 clipC = (real32) cameraWhite [2]; in RefBaselineABCtoRGB()
1297 real32 m00 = (real32) cameraToRGB [0] [0]; in RefBaselineABCtoRGB()
1298 real32 m01 = (real32) cameraToRGB [0] [1]; in RefBaselineABCtoRGB()
1299 real32 m02 = (real32) cameraToRGB [0] [2]; in RefBaselineABCtoRGB()
1301 real32 m10 = (real32) cameraToRGB [1] [0]; in RefBaselineABCtoRGB()
1302 real32 m11 = (real32) cameraToRGB [1] [1]; in RefBaselineABCtoRGB()
1303 real32 m12 = (real32) cameraToRGB [1] [2]; in RefBaselineABCtoRGB()
1305 real32 m20 = (real32) cameraToRGB [2] [0]; in RefBaselineABCtoRGB()
1306 real32 m21 = (real32) cameraToRGB [2] [1]; in RefBaselineABCtoRGB()
1307 real32 m22 = (real32) cameraToRGB [2] [2]; in RefBaselineABCtoRGB()
1312 real32 A = sPtrA [col]; in RefBaselineABCtoRGB()
1313 real32 B = sPtrB [col]; in RefBaselineABCtoRGB()
1314 real32 C = sPtrC [col]; in RefBaselineABCtoRGB()
1320 real32 r = m00 * A + m01 * B + m02 * C; in RefBaselineABCtoRGB()
1321 real32 g = m10 * A + m11 * B + m12 * C; in RefBaselineABCtoRGB()
1322 real32 b = m20 * A + m21 * B + m22 * C; in RefBaselineABCtoRGB()
1338 void RefBaselineABCDtoRGB (const real32 *sPtrA, in RefBaselineABCDtoRGB()
1339 const real32 *sPtrB, in RefBaselineABCDtoRGB()
1340 const real32 *sPtrC, in RefBaselineABCDtoRGB()
1341 const real32 *sPtrD, in RefBaselineABCDtoRGB()
1342 real32 *dPtrR, in RefBaselineABCDtoRGB()
1343 real32 *dPtrG, in RefBaselineABCDtoRGB()
1344 real32 *dPtrB, in RefBaselineABCDtoRGB()
1350 real32 clipA = (real32) cameraWhite [0]; in RefBaselineABCDtoRGB()
1351 real32 clipB = (real32) cameraWhite [1]; in RefBaselineABCDtoRGB()
1352 real32 clipC = (real32) cameraWhite [2]; in RefBaselineABCDtoRGB()
1353 real32 clipD = (real32) cameraWhite [3]; in RefBaselineABCDtoRGB()
1355 real32 m00 = (real32) cameraToRGB [0] [0]; in RefBaselineABCDtoRGB()
1356 real32 m01 = (real32) cameraToRGB [0] [1]; in RefBaselineABCDtoRGB()
1357 real32 m02 = (real32) cameraToRGB [0] [2]; in RefBaselineABCDtoRGB()
1358 real32 m03 = (real32) cameraToRGB [0] [3]; in RefBaselineABCDtoRGB()
1360 real32 m10 = (real32) cameraToRGB [1] [0]; in RefBaselineABCDtoRGB()
1361 real32 m11 = (real32) cameraToRGB [1] [1]; in RefBaselineABCDtoRGB()
1362 real32 m12 = (real32) cameraToRGB [1] [2]; in RefBaselineABCDtoRGB()
1363 real32 m13 = (real32) cameraToRGB [1] [3]; in RefBaselineABCDtoRGB()
1365 real32 m20 = (real32) cameraToRGB [2] [0]; in RefBaselineABCDtoRGB()
1366 real32 m21 = (real32) cameraToRGB [2] [1]; in RefBaselineABCDtoRGB()
1367 real32 m22 = (real32) cameraToRGB [2] [2]; in RefBaselineABCDtoRGB()
1368 real32 m23 = (real32) cameraToRGB [2] [3]; in RefBaselineABCDtoRGB()
1373 real32 A = sPtrA [col]; in RefBaselineABCDtoRGB()
1374 real32 B = sPtrB [col]; in RefBaselineABCDtoRGB()
1375 real32 C = sPtrC [col]; in RefBaselineABCDtoRGB()
1376 real32 D = sPtrD [col]; in RefBaselineABCDtoRGB()
1383 real32 r = m00 * A + m01 * B + m02 * C + m03 * D; in RefBaselineABCDtoRGB()
1384 real32 g = m10 * A + m11 * B + m12 * C + m13 * D; in RefBaselineABCDtoRGB()
1385 real32 b = m20 * A + m21 * B + m22 * C + m23 * D; in RefBaselineABCDtoRGB()
1401 void RefBaselineHueSatMap (const real32 *sPtrR, in RefBaselineHueSatMap()
1402 const real32 *sPtrG, in RefBaselineHueSatMap()
1403 const real32 *sPtrB, in RefBaselineHueSatMap()
1404 real32 *dPtrR, in RefBaselineHueSatMap()
1405 real32 *dPtrG, in RefBaselineHueSatMap()
1406 real32 *dPtrB, in RefBaselineHueSatMap()
1421 real32 hScale = (hueDivisions < 2) ? 0.0f : (hueDivisions * (1.0f / 6.0f)); in RefBaselineHueSatMap()
1422 real32 sScale = (real32) ((int32) satDivisions - 1); in RefBaselineHueSatMap()
1423 real32 vScale = (real32) ((int32) valDivisions - 1); in RefBaselineHueSatMap()
1452 real32 r = sPtrR [j]; in RefBaselineHueSatMap()
1453 real32 g = sPtrG [j]; in RefBaselineHueSatMap()
1454 real32 b = sPtrB [j]; in RefBaselineHueSatMap()
1456 real32 h, s, v; in RefBaselineHueSatMap()
1460 real32 vEncoded = v; in RefBaselineHueSatMap()
1462 real32 hueShift; in RefBaselineHueSatMap()
1463 real32 satScale; in RefBaselineHueSatMap()
1464 real32 valScale; in RefBaselineHueSatMap()
1469 real32 hScaled = h * hScale; in RefBaselineHueSatMap()
1470 real32 sScaled = s * sScale; in RefBaselineHueSatMap()
1485 real32 hFract1 = hScaled - (real32) hIndex0; in RefBaselineHueSatMap()
1486 real32 sFract1 = sScaled - (real32) sIndex0; in RefBaselineHueSatMap()
1488 real32 hFract0 = 1.0f - hFract1; in RefBaselineHueSatMap()
1489 real32 sFract0 = 1.0f - sFract1; in RefBaselineHueSatMap()
1496 real32 hueShift0 = hFract0 * entry00->fHueShift + in RefBaselineHueSatMap()
1499 real32 satScale0 = hFract0 * entry00->fSatScale + in RefBaselineHueSatMap()
1502 real32 valScale0 = hFract0 * entry00->fValScale + in RefBaselineHueSatMap()
1508 real32 hueShift1 = hFract0 * entry00->fHueShift + in RefBaselineHueSatMap()
1511 real32 satScale1 = hFract0 * entry00->fSatScale + in RefBaselineHueSatMap()
1514 real32 valScale1 = hFract0 * entry00->fValScale + in RefBaselineHueSatMap()
1531 real32 hScaled = h * hScale; in RefBaselineHueSatMap()
1532 real32 sScaled = s * sScale; in RefBaselineHueSatMap()
1533 real32 vScaled = vEncoded * vScale; in RefBaselineHueSatMap()
1550 real32 hFract1 = hScaled - (real32) hIndex0; in RefBaselineHueSatMap()
1551 real32 sFract1 = sScaled - (real32) sIndex0; in RefBaselineHueSatMap()
1552 real32 vFract1 = vScaled - (real32) vIndex0; in RefBaselineHueSatMap()
1554 real32 hFract0 = 1.0f - hFract1; in RefBaselineHueSatMap()
1555 real32 sFract0 = 1.0f - sFract1; in RefBaselineHueSatMap()
1556 real32 vFract0 = 1.0f - vFract1; in RefBaselineHueSatMap()
1567 real32 hueShift0 = vFract0 * (hFract0 * entry00->fHueShift + in RefBaselineHueSatMap()
1572 real32 satScale0 = vFract0 * (hFract0 * entry00->fSatScale + in RefBaselineHueSatMap()
1577 real32 valScale0 = vFract0 * (hFract0 * entry00->fValScale + in RefBaselineHueSatMap()
1587 real32 hueShift1 = vFract0 * (hFract0 * entry00->fHueShift + in RefBaselineHueSatMap()
1592 real32 satScale1 = vFract0 * (hFract0 * entry00->fSatScale + in RefBaselineHueSatMap()
1597 real32 valScale1 = vFract0 * (hFract0 * entry00->fValScale + in RefBaselineHueSatMap()
1630 void RefBaselineRGBtoGray (const real32 *sPtrR, in RefBaselineRGBtoGray()
1631 const real32 *sPtrG, in RefBaselineRGBtoGray()
1632 const real32 *sPtrB, in RefBaselineRGBtoGray()
1633 real32 *dPtrG, in RefBaselineRGBtoGray()
1638 real32 m00 = (real32) matrix [0] [0]; in RefBaselineRGBtoGray()
1639 real32 m01 = (real32) matrix [0] [1]; in RefBaselineRGBtoGray()
1640 real32 m02 = (real32) matrix [0] [2]; in RefBaselineRGBtoGray()
1645 real32 R = sPtrR [col]; in RefBaselineRGBtoGray()
1646 real32 G = sPtrG [col]; in RefBaselineRGBtoGray()
1647 real32 B = sPtrB [col]; in RefBaselineRGBtoGray()
1649 real32 g = m00 * R + m01 * G + m02 * B; in RefBaselineRGBtoGray()
1661 void RefBaselineRGBtoRGB (const real32 *sPtrR, in RefBaselineRGBtoRGB()
1662 const real32 *sPtrG, in RefBaselineRGBtoRGB()
1663 const real32 *sPtrB, in RefBaselineRGBtoRGB()
1664 real32 *dPtrR, in RefBaselineRGBtoRGB()
1665 real32 *dPtrG, in RefBaselineRGBtoRGB()
1666 real32 *dPtrB, in RefBaselineRGBtoRGB()
1671 real32 m00 = (real32) matrix [0] [0]; in RefBaselineRGBtoRGB()
1672 real32 m01 = (real32) matrix [0] [1]; in RefBaselineRGBtoRGB()
1673 real32 m02 = (real32) matrix [0] [2]; in RefBaselineRGBtoRGB()
1675 real32 m10 = (real32) matrix [1] [0]; in RefBaselineRGBtoRGB()
1676 real32 m11 = (real32) matrix [1] [1]; in RefBaselineRGBtoRGB()
1677 real32 m12 = (real32) matrix [1] [2]; in RefBaselineRGBtoRGB()
1679 real32 m20 = (real32) matrix [2] [0]; in RefBaselineRGBtoRGB()
1680 real32 m21 = (real32) matrix [2] [1]; in RefBaselineRGBtoRGB()
1681 real32 m22 = (real32) matrix [2] [2]; in RefBaselineRGBtoRGB()
1686 real32 R = sPtrR [col]; in RefBaselineRGBtoRGB()
1687 real32 G = sPtrG [col]; in RefBaselineRGBtoRGB()
1688 real32 B = sPtrB [col]; in RefBaselineRGBtoRGB()
1690 real32 r = m00 * R + m01 * G + m02 * B; in RefBaselineRGBtoRGB()
1691 real32 g = m10 * R + m11 * G + m12 * B; in RefBaselineRGBtoRGB()
1692 real32 b = m20 * R + m21 * G + m22 * B; in RefBaselineRGBtoRGB()
1708 void RefBaseline1DTable (const real32 *sPtr, in RefBaseline1DTable()
1709 real32 *dPtr, in RefBaseline1DTable()
1717 real32 x = sPtr [col]; in RefBaseline1DTable()
1719 real32 y = table.Interpolate (x); in RefBaseline1DTable()
1729 void RefBaselineRGBTone (const real32 *sPtrR, in RefBaselineRGBTone()
1730 const real32 *sPtrG, in RefBaselineRGBTone()
1731 const real32 *sPtrB, in RefBaselineRGBTone()
1732 real32 *dPtrR, in RefBaselineRGBTone()
1733 real32 *dPtrG, in RefBaselineRGBTone()
1734 real32 *dPtrB, in RefBaselineRGBTone()
1742 real32 r = sPtrR [col]; in RefBaselineRGBTone()
1743 real32 g = sPtrG [col]; in RefBaselineRGBTone()
1744 real32 b = sPtrB [col]; in RefBaselineRGBTone()
1746 real32 rr; in RefBaselineRGBTone()
1747 real32 gg; in RefBaselineRGBTone()
1748 real32 bb; in RefBaselineRGBTone()
1886 void RefResampleDown32 (const real32 *sPtr, in RefResampleDown32()
1887 real32 *dPtr, in RefResampleDown32()
1890 const real32 *wPtr, in RefResampleDown32()
1898 real32 w = wPtr [0]; in RefResampleDown32()
1984 void RefResampleAcross32 (const real32 *sPtr, in RefResampleAcross32()
1985 real32 *dPtr, in RefResampleAcross32()
1988 const real32 *wPtr, in RefResampleAcross32()
2001 const real32 *w = wPtr + sFract * wStep; in RefResampleAcross32()
2002 const real32 *s = sPtr + sPixel; in RefResampleAcross32()
2004 real32 total = w [0] * s [0]; in RefResampleAcross32()
2429 void RefVignette32 (real32 *sPtr, in RefVignette32()
2440 const real32 kNorm = 1.0f / (1 << mBits); in RefVignette32()
2454 real32 s = sPtr [col]; in RefVignette32()
2458 real32 scale = m * kNorm; in RefVignette32()
2479 real32 *rPtr = sPtr; in RefVignette32()
2480 real32 *gPtr = rPtr + sPlaneStep; in RefVignette32()
2481 real32 *bPtr = gPtr + sPlaneStep; in RefVignette32()
2489 real32 r = rPtr [col]; in RefVignette32()
2490 real32 g = gPtr [col]; in RefVignette32()
2491 real32 b = bPtr [col]; in RefVignette32()
2495 real32 scale = m * kNorm; in RefVignette32()
2522 real32 *aPtr = sPtr; in RefVignette32()
2523 real32 *bPtr = aPtr + sPlaneStep; in RefVignette32()
2524 real32 *cPtr = bPtr + sPlaneStep; in RefVignette32()
2525 real32 *dPtr = cPtr + sPlaneStep; in RefVignette32()
2533 real32 a = aPtr [col]; in RefVignette32()
2534 real32 b = bPtr [col]; in RefVignette32()
2535 real32 c = cPtr [col]; in RefVignette32()
2536 real32 d = dPtr [col]; in RefVignette32()
2540 real32 scale = m * kNorm; in RefVignette32()
2573 real32 *planePtr = sPtr; in RefVignette32()
2583 real32 s = planePtr [col]; in RefVignette32()
2587 real32 scale = m * kNorm; in RefVignette32()