Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkColorSpace.cpp21 : fTransferFn(transferFn) in SkColorSpace()
23 fTransferFnHash = SkOpts::hash_fn(&fTransferFn, 7*sizeof(float), 0); in SkColorSpace()
105 if (!skcms_TransferFunction_invert(&fTransferFn, &fInvTransferFn)) { in computeLazyDstFields()
122 memcpy(gabcdef, &fTransferFn, 7*sizeof(float)); in transferFn()
126 *fn = fTransferFn; in transferFn()
150 return memcmp(&fTransferFn, &SkNamedTransferFn::kSRGB, 7*sizeof(float)) == 0; in gammaCloseToSRGB()
155 return memcmp(&fTransferFn, &SkNamedTransferFn::kLinear, 7*sizeof(float)) == 0; in gammaIsLinear()
181 return sk_sp<SkColorSpace>(new SkColorSpace(fTransferFn, spun)); in makeColorSpin()
186 skcms_SetTransferFunction(profile, &fTransferFn); in toProfile()
265 memcpy(memory, &fTransferFn, 7 * sizeof(float)); in writeToMemory()
[all …]
/external/skqp/src/core/
DSkColorSpace.cpp23 memcpy(fTransferFn, transferFn, 7*sizeof(float)); in SkColorSpace()
24 fTransferFnHash = SkOpts::hash_fn(fTransferFn, 7*sizeof(float), 0); in SkColorSpace()
124 memcpy(gabcdef, &fTransferFn, 7*sizeof(float)); in transferFn()
161 return memcmp(fTransferFn, &SkNamedTransferFn::kSRGB.g, 7*sizeof(float)) == 0; in gammaCloseToSRGB()
166 return memcmp(fTransferFn, &SkNamedTransferFn::kLinear.g, 7*sizeof(float)) == 0; in gammaIsLinear()
199 return sk_sp<SkColorSpace>(new SkColorSpace(fTransferFn, spun)); in makeColorSpin()
206 memcpy(&tf, fTransferFn, 7*sizeof(float)); in toProfile()
289 memcpy(memory, fTransferFn, 7 * sizeof(float)); in writeToMemory()
408 SkASSERT(x-> fTransferFn[i] == y-> fTransferFn[i] && "Hash collsion"); in Equals()
/external/skqp/include/core/
DSkColorSpace.h232 float fTransferFn[7]; variable
/external/skia/include/core/
DSkColorSpace.h237 skcms_TransferFunction fTransferFn; variable