Home
last modified time | relevance | path

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

/haiku/src/add-ons/translators/wonderbrush/support/
H A Dlab_convert.cpp17 #define GAMMA_ENTRIES 10240 macro
19 #define GAMMA_TOTAL_ENTRIES GAMMA_ZERO_ENTRIES + GAMMA_ENTRIES + GAMMA_MAX_ENTRIES
28 for (int32 i = 0; i < GAMMA_ENTRIES; i++) in init_gamma_table()
29 …table[i + GAMMA_ZERO_ENTRIES] = (uint8)(pow((float)i / (float)(GAMMA_ENTRIES - 1), 0.4) * 255.0 + … in init_gamma_table()
31 table[i + GAMMA_ZERO_ENTRIES + GAMMA_ENTRIES] = 255; in init_gamma_table()