Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/utils/
H A DColor.cpp410 static skcms_TransferFunction trfn_apply_gain(const skcms_TransferFunction trfn, float gain) { in trfn_apply_gain() argument
411 float pow_gain_ginv = sk_float_pow(gain, 1 / trfn.g); in trfn_apply_gain()
413 result.g = trfn.g; in trfn_apply_gain()
414 result.a = trfn.a * pow_gain_ginv; in trfn_apply_gain()
415 result.b = trfn.b * pow_gain_ginv; in trfn_apply_gain()
416 result.c = trfn.c * gain; in trfn_apply_gain()
417 result.d = trfn.d; in trfn_apply_gain()
418 result.e = trfn.e * gain; in trfn_apply_gain()
419 result.f = trfn.f * gain; in trfn_apply_gain()