Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkColorSpaceXform.cpp126 static const int kDstGammaTableSize = SkColorSpaceXform_Base::kDstGammaTableSize; variable
131 for (int i = 0; i < kDstGammaTableSize; i++) { in build_table_linear_to_gamma()
132 float x = ((float) i) * (1.0f / ((float) (kDstGammaTableSize - 1))); in build_table_linear_to_gamma()
139 invert_table_gamma(nullptr, outTable, kDstGammaTableSize, inTable, inTableSize); in build_table_linear_to_gamma()
175 for (int i = 0; i < kDstGammaTableSize; i++) { in build_table_linear_to_gamma()
176 float x = ((float) i) * (1.0f / ((float) (kDstGammaTableSize - 1))); in build_table_linear_to_gamma()
292 build_gamma_tables(dstGammaTables, dstStorage, kDstGammaTableSize, space, kFromLinear, in BuildDstGammaTables()
1280 tables.fCount = SkColorSpaceXform_Base::kDstGammaTableSize; in applyPipeline()
DSkColorSpaceXform_Base.h20 static constexpr int kDstGammaTableSize = 1024;
DSkColorSpace_XYZ.cpp104 SkData::MakeUninitialized(numTables * SkColorSpaceXform_Base::kDstGammaTableSize); in toDstGammaTables()