Home | History | Annotate | Download | only in src

Lines Matching defs:gamma

123 void compute_curve_gamma_table_type1(float gamma_table[256], double gamma)
127 gamma_table[i] = pow(i/255., gamma);
240 gamma table is within expected values. */
245 // Note: we check that the gamma is not in range
428 static void compute_precache_pow(uint8_t *output, float gamma)
433 output[v] = 255. * pow(v/(double)PRECACHE_OUTPUT_MAX, gamma);
522 static uint16_t *build_pow_table(float gamma, int length)
532 x = pow(x, gamma); //XXX turn this conversion into a function
563 float gamma = 1./u8Fixed8Number_to_float(trc->data[0]);
564 *output_gamma_lut = build_pow_table(gamma, 4096);