Searched refs:sample_value (Results 1 – 2 of 2) sorted by relevance
304 int sample_value = srcP[sample_index]; in pack4xHToLCD16() local306 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value; in pack4xHToLCD16()
5955 sample_scale(double sample_value, unsigned int scale) in sample_scale() argument5957 sample_value = floor(sample_value * scale + .5); in sample_scale()5960 if (!(sample_value > 0)) in sample_scale()5961 sample_value = 0; in sample_scale()5962 else if (sample_value > scale) in sample_scale()5963 sample_value = scale; in sample_scale()5965 return (unsigned int)sample_value; in sample_scale()