Searched refs:sample_value (Results 1 – 3 of 3) sorted by relevance
442 double sample_value; in AddSample() local445 sample_value = Aggregate(end_ms, end_value); in AddSample()448 sample_value = (last_value_ + end_value) / 2; in AddSample()450 backing_histogram_->AddSample(static_cast<int>(sample_value + 0.5)); in AddSample()
366 int sample_value = srcP[sample_index]; in pack4xHToMask() local368 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value; in pack4xHToMask()
6418 sample_scale(double sample_value, unsigned int scale) in sample_scale() argument6420 sample_value = floor(sample_value * scale + .5); in sample_scale()6423 if (!(sample_value > 0)) in sample_scale()6424 sample_value = 0; in sample_scale()6425 else if (sample_value > scale) in sample_scale()6426 sample_value = scale; in sample_scale()6428 return (unsigned int)sample_value; in sample_scale()