Searched refs:outTable (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/core/ |
D | SkColorSpaceXform.cpp | 91 static void build_table_linear_from_gamma(float* outTable, float exponent) { in build_table_linear_from_gamma() argument 93 *outTable++ = powf(x, exponent); in build_table_linear_from_gamma() 98 static void build_table_linear_from_gamma(float* outTable, const float* inTable, in build_table_linear_from_gamma() argument 101 memcpy(outTable, inTable, sizeof(float) * 256); in build_table_linear_from_gamma() 106 *outTable++ = interp_lut(x, inTable, inTableSize); in build_table_linear_from_gamma() 111 static void build_table_linear_from_gamma(float* outTable, float g, float a, float b, float c, in build_table_linear_from_gamma() argument 117 *outTable++ = clamp_0_1(powf(a * x + b, g) + e); in build_table_linear_from_gamma() 119 *outTable++ = clamp_0_1(c * x + f); in build_table_linear_from_gamma() 128 static void build_table_linear_to_gamma(uint8_t* outTable, float exponent) { in build_table_linear_to_gamma() argument 133 outTable[i] = clamp_normalized_float_to_byte(powf(x, toGammaExp)); in build_table_linear_to_gamma() [all …]
|
D | SkColorSpaceXform_A2B.cpp | 315 float* outTable = fAlloc.makeArray<float>(kMinTableSize); in buildTableFn() local 318 outTable[i] = interp_lut(i * step, fn->fData, fn->fSize); in buildTableFn() 321 fn->fData = outTable; in buildTableFn()
|
D | SkColorSpace_ICC.cpp | 571 float* outTable = (float*) storage; in load_gammas() local 574 outTable[i] = (read_big_endian_u16((const uint8_t*) &inTable[i])) / 65535.0f; in load_gammas()
|
/external/icu/icu4c/source/common/ |
D | ucnv_io.cpp | 1211 uint16_t *outTable; in ucnv_swapAliases() local 1223 outTable=(uint16_t *)((char *)outData+headerSize); in ucnv_swapAliases() 1226 ds->swapArray32(ds, inTable, 4*(1+tocLength), outTable, pErrorCode); in ucnv_swapAliases() 1230 outTable+offsets[stringTableIndex], pErrorCode); in ucnv_swapAliases() 1241 outTable+offsets[converterListIndex], in ucnv_swapAliases() 1247 … tempTable.chars=(const char *)(outTable+offsets[stringTableIndex]); /* sort by outCharset */ in ucnv_swapAliases() 1279 q=outTable+offsets[aliasListIndex]; in ucnv_swapAliases() 1282 q2=outTable+offsets[untaggedConvArrayIndex]; in ucnv_swapAliases() 1337 outTable+offsets[converterListIndex], in ucnv_swapAliases() 1342 outTable+offsets[taggedAliasArrayIndex], in ucnv_swapAliases()
|