Home
last modified time | relevance | path

Searched refs:hlgFn (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/renderengine/skia/
DColorSpaces.cpp72 skcms_TransferFunction hlgFn; in toSkColorSpace() local
73 if (skcms_TransferFunction_makeScaledHLGish(&hlgFn, 0.314509843, 2.f, 2.f, in toSkColorSpace()
76 return SkColorSpace::MakeRGB(hlgFn, gamut); in toSkColorSpace()
/frameworks/base/libs/hwui/utils/
DColor.cpp264 const auto hlgFn = GetHLGScaleTransferFunction(); in DataSpaceToColorSpace() local
265 if (hlgFn.has_value()) { in DataSpaceToColorSpace()
266 return SkColorSpace::MakeRGB(hlgFn.value(), gamut); in DataSpaceToColorSpace()
429 skcms_TransferFunction hlgFn; in GetHLGScaleTransferFunction() local
430 if (skcms_TransferFunction_makeScaledHLGish(&hlgFn, 0.314509843, 2.f, 2.f, 1.f / 0.17883277f, in GetHLGScaleTransferFunction()
432 return std::make_optional<skcms_TransferFunction>(hlgFn); in GetHLGScaleTransferFunction()