Searched refs:sample_value (Results 1 – 5 of 5) sorted by relevance
23 int16_t sample_value, in ConstantPcmPacketSource() argument34 size_t encoded_len = WebRtcPcm16b_Encode(&sample_value, 1, encoded_sample_); in ConstantPcmPacketSource()
30 int16_t sample_value,
443 double sample_value; in AddSample() local446 sample_value = Aggregate(end_ms, end_value); in AddSample()449 sample_value = (last_value_ + end_value) / 2; in AddSample()451 backing_histogram_->AddSample(static_cast<int>(sample_value + 0.5)); in AddSample()
286 int sample_value = srcP[sample_index]; in pack4xHToLCD16() local288 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value; in pack4xHToLCD16()
6416 sample_scale(double sample_value, unsigned int scale) in sample_scale() argument6418 sample_value = floor(sample_value * scale + .5); in sample_scale()6421 if (!(sample_value > 0)) in sample_scale()6422 sample_value = 0; in sample_scale()6423 else if (sample_value > scale) in sample_scale()6424 sample_value = scale; in sample_scale()6426 return (unsigned int)sample_value; in sample_scale()