func: void build_output_lut(struct curveType uint16_t **output_gamma_lut, size_t *output_gamma_lut_length) if ( trc -> type == PARAMETRIC_CURVE_TYPE )  if ( trc -> count == 0 )  if ( trc -> count == 1 )  float gamma = 1. / u8Fixed8Number_to_float ( trc -> data [ 0 ] ) ; * output_gamma_lut = build_pow_table ( gamma , 4096 ); static uint16_t *build_pow_table(float gamma, int length) uint16_t * output = malloc ( sizeof ( uint16_t ) * length ) ; if ( ! output )  output [ i ] = result; return output ; 