Lines Matching refs:input_sample
9523 gamma_component_compose(int do_background, double input_sample, double alpha, in gamma_component_compose() argument
9537 input_sample = input_sample * alpha + background * (1-alpha); in gamma_component_compose()
9543 input_sample = background; in gamma_component_compose()
9564 input_sample *= alpha; in gamma_component_compose()
9570 input_sample = 0; in gamma_component_compose()
9585 return input_sample; in gamma_component_compose()
9654 double input_sample = i; /* In range 0..1 */ in gamma_component_validate() local
9670 input_sample = pow(input_sample, vi->file_inverse); in gamma_component_validate()
9674 input_sample = gamma_component_compose(do_background, input_sample, in gamma_component_validate()
9721 encoded_sample = input_sample; in gamma_component_validate()
9759 error = fabs(input_sample-output); in gamma_component_validate()
9767 if (log_max_error && input_sample > .5) in gamma_component_validate()
9769 double percentage_error = error/input_sample; in gamma_component_validate()
9781 double tmp = input_sample * vi->maxpc; in gamma_component_validate()
9796 if (es_lo > 0 && input_sample-tmp > 0) in gamma_component_validate()
9798 double low_value = input_sample-tmp; in gamma_component_validate()
9813 if (es_hi < outmax && input_sample+tmp < 1) in gamma_component_validate()
9815 double high_value = input_sample+tmp; in gamma_component_validate()
10083 pos = safecatd(msg, sizeof msg, pos, input_sample, precision); in gamma_component_validate()