Home
last modified time | relevance | path

Searched refs:sample_value (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dconstant_pcm_packet_source.cc23 int16_t sample_value, in ConstantPcmPacketSource() argument
34 size_t encoded_len = WebRtcPcm16b_Encode(&sample_value, 1, encoded_sample_); in ConstantPcmPacketSource()
Dconstant_pcm_packet_source.h30 int16_t sample_value,
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Donehot_categorical_test.py105 sample_value = sample.eval(feed_dict={logits: [-1000.0, 1000.0]})
106 self.assertAllEqual([0, 1], sample_value)
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dcategorical_test.py121 sample_value = sample.eval(feed_dict={logits: [-1000.0, 1000.0]})
122 self.assertEqual(1, sample_value)
/external/v8/src/
Dcounters.h605 double sample_value; in AddSample() local
608 sample_value = Aggregate(end_ms, end_value); in AddSample()
611 sample_value = (last_value_ + end_value) / 2; in AddSample()
613 backing_histogram_->AddSample(static_cast<int>(sample_value + 0.5)); in AddSample()
/external/skia/src/core/
DSkScalerContext.cpp347 int sample_value = srcP[sample_index]; in pack4xHToLCD16() local
349 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value; in pack4xHToLCD16()
/external/skqp/src/core/
DSkScalerContext.cpp315 int sample_value = srcP[sample_index]; in pack4xHToLCD16() local
317 fir[subpxl_index] += coefficients[subpxl_index][coeff_index] * sample_value; in pack4xHToLCD16()
/external/libpng/contrib/libtests/
Dpngvalid.c6418 sample_scale(double sample_value, unsigned int scale) in sample_scale() argument
6420 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()