/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | gen6_multisample_state.c | 35 unsigned num_samples) 43 switch (num_samples) { 98 assert(!"Unrecognized num_samples in gen6_emit_3dstate_multisample"); 118 unsigned num_samples, float coverage, 125 if (num_samples > 1) { 126 int coverage_int = (int) (num_samples * coverage + 0.5); 129 coverage_bits ^= (1 << num_samples) - 1; 146 unsigned num_samples = ctx->DrawBuffer->Visual.samples; local 157 gen6_emit_3dstate_multisample(brw, num_samples); 158 gen6_emit_3dstate_sample_mask(brw, num_samples, coverag 34 gen6_emit_3dstate_multisample(struct brw_context *brw, unsigned num_samples) argument 117 gen6_emit_3dstate_sample_mask(struct brw_context *brw, unsigned num_samples, float coverage, bool coverage_invert) argument [all...] |
H A D | brw_blorp.h | 124 unsigned num_samples; member in class:brw_blorp_surface_info 200 unsigned num_samples; member in class:brw_blorp_params
|
H A D | gen7_wm_surface_state.c | 85 gen7_set_surface_msaa(struct gen7_surface_state *surf, unsigned num_samples, argument 88 if (num_samples > 4) 90 else if (num_samples > 1) 313 assert(mt->num_samples <= 1); 569 gen7_set_surface_msaa(surf, irb->mt->num_samples, irb->mt->msaa_layout);
|
/external/webrtc/webrtc/modules/video_coding/utility/ |
H A D | moving_average.h | 24 bool GetAverage(size_t num_samples, T* average); 44 bool MovingAverage<T>::GetAverage(size_t num_samples, T* avg) { argument 45 if (num_samples > samples_.size()) 49 while (num_samples < samples_.size()) { 54 *avg = sum_ / static_cast<T>(num_samples);
|
/external/webrtc/webrtc/video/ |
H A D | receive_statistics_proxy.h | 82 SampleCounter() : sum(0), num_samples(0) {} 88 int num_samples; member in struct:webrtc::ReceiveStatisticsProxy::SampleCounter
|
H A D | send_statistics_proxy.h | 101 SampleCounter() : sum(0), num_samples(0) {} 108 int num_samples; member in class:webrtc::SendStatisticsProxy::SampleCounter 112 BoolSampleCounter() : sum(0), num_samples(0) {} 121 int num_samples; member in class:webrtc::SendStatisticsProxy::BoolSampleCounter
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
H A D | counter.py | 91 def num_samples(self): member in class:Counter 95 if self.num_series * self.num_samples != len(self.samples): 105 for i in xrange(self.num_samples):
|
/external/opencv/ml/src/ |
H A D | mltestset.cpp | 60 int num_samples, 87 if( num_samples < 1 ) 88 CV_ERROR( CV_StsBadArg, "num_samples parameter must be positive" ); 105 CV_CALL( *samples = cvCreateMat( num_samples, num_features, CV_32FC1 ) ); 106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); 133 num_classes = MIN( num_samples, num_classes ); 136 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) 141 last_idx = num_samples * (cur_class + 1) / num_classes - 1; 145 for( ; elem.d <= max_dst && i < num_samples; ++i ) 148 if( i < num_samples 59 cvCreateTestSet( int type, CvMat** samples, int num_samples, int num_features, CvMat** responses, int num_classes, ... ) argument [all...] |
/external/opencv3/modules/ml/src/ |
H A D | testset.cpp | 59 void createConcentricSpheresTestSet( int num_samples, int num_features, int num_classes, argument 62 if( num_samples < 1 ) 63 CV_Error( CV_StsBadArg, "num_samples parameter must be positive" ); 73 _samples.create( num_samples, num_features, CV_32F ); 74 _responses.create( 1, num_samples, CV_32S ); 82 randMVNormal( mean, cov, num_samples, _samples ); 99 num_classes = std::min( num_samples, num_classes ); 100 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) 102 int last_idx = num_samples * (cur_class + 1) / num_classes - 1; 106 for( ; i < num_samples [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | dtmf_tone_generator.cc | 151 // Generate num_samples of DTMF signal and write to |output|. 152 int DtmfToneGenerator::Generate(size_t num_samples, argument 162 output->AssertSize(num_samples); 163 for (size_t i = 0; i < num_samples; ++i) { 189 return static_cast<int>(num_samples);
|
H A D | audio_decoder_unittest.cc | 47 size_t num_samples, 51 ASSERT_LE(num_samples, input.size()); 52 ASSERT_LE(num_samples * channels, output.size()); 53 for (unsigned int n = 0; n < num_samples - delay; ++n) { 79 size_t num_samples, 82 assert(delay < static_cast<int>(num_samples)); 83 assert(num_samples <= input.size()); 84 assert(num_samples * channels <= output.size()); 85 if (num_samples == 0) 88 for (unsigned int n = 0; n < num_samples 45 CompareInputOutput(const std::vector<int16_t>& input, const std::vector<int16_t>& output, size_t num_samples, size_t channels, int tolerance, int delay) argument 77 MseInputOutput(const std::vector<int16_t>& input, const std::vector<int16_t>& output, size_t num_samples, size_t channels, int delay) argument [all...] |
H A D | neteq_external_decoder_unittest.cc | 293 size_t num_samples; variable 295 num_samples = GetOutputAudio(kMaxBlockSize, output_, &output_type); 303 for (size_t i = 0; i < num_samples; ++i) {
|
H A D | packet_buffer.cc | 250 size_t num_samples = 0; local 266 num_samples += last_duration; 268 return num_samples;
|
H A D | statistics_calculator.cc | 143 void StatisticsCalculator::ExpandedVoiceSamples(size_t num_samples) { argument 144 expanded_speech_samples_ += num_samples; 147 void StatisticsCalculator::ExpandedNoiseSamples(size_t num_samples) { argument 148 expanded_noise_samples_ += num_samples; 151 void StatisticsCalculator::PreemptiveExpandedSamples(size_t num_samples) { argument 152 preemptive_samples_ += num_samples; 155 void StatisticsCalculator::AcceleratedSamples(size_t num_samples) { argument 156 accelerate_samples_ += num_samples; 159 void StatisticsCalculator::AddZeros(size_t num_samples) { argument 160 added_zero_samples_ += num_samples; 167 LostSamples(size_t num_samples) argument 171 IncreaseCounter(size_t num_samples, int fs_hz) argument 185 SecondaryDecodedSamples(int num_samples) argument [all...] |
/external/webrtc/webrtc/modules/utility/source/ |
H A D | file_player_unittests.cc | 64 size_t num_samples; local 66 player_->Get10msAudioFromFile(out, num_samples, kSampleRateHz)); 67 checksum.Update(out, num_samples * sizeof(out[0])); 69 ASSERT_EQ(num_samples, 70 fwrite(out, sizeof(out[0]), num_samples, output_file_));
|
/external/webrtc/webrtc/common_audio/ |
H A D | wav_header_unittest.cc | 98 size_t num_samples = 0; local 123 &bytes_per_sample, &num_samples)); 144 &bytes_per_sample, &num_samples)); 165 &bytes_per_sample, &num_samples)); 187 &bytes_per_sample, &num_samples)); 210 &bytes_per_sample, &num_samples)); 229 &bytes_per_sample, &num_samples)); 241 &bytes_per_sample, &num_samples)); 275 size_t num_samples = 0; local 279 &bytes_per_sample, &num_samples)); 311 size_t num_samples = 0; local [all...] |
H A D | wav_file.cc | 45 << (1.f * num_samples()) / (num_channels() * sample_rate()) << " s"; 67 size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) { argument 72 num_samples = std::min(num_samples, num_samples_remaining_); 74 fread(samples, sizeof(*samples), num_samples, file_handle_); 76 RTC_CHECK(read == num_samples || feof(file_handle_)); 82 size_t WavReader::ReadSamples(size_t num_samples, float* samples) { argument 85 for (size_t i = 0; i < num_samples; i += kChunksize) { 87 size_t chunk = std::min(kChunksize, num_samples - i); 121 void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) { argument 132 WriteSamples(const float* samples, size_t num_samples) argument 165 rtc_WavWriteSamples(rtc_WavWriter* wf, const float* samples, size_t num_samples) argument [all...] |
H A D | wav_header.cc | 66 size_t num_samples) { 104 if (num_samples > max_samples) 108 if (num_samples % num_channels != 0) 153 size_t num_samples) { 155 bytes_per_sample, num_samples)); 158 const size_t bytes_in_payload = bytes_per_sample * num_samples; 188 size_t* num_samples) { 217 *num_samples = bytes_in_payload / *bytes_per_sample; 239 *bytes_per_sample, *num_samples); 62 CheckWavParameters(size_t num_channels, int sample_rate, WavFormat format, size_t bytes_per_sample, size_t num_samples) argument 148 WriteWavHeader(uint8_t* buf, size_t num_channels, int sample_rate, WavFormat format, size_t bytes_per_sample, size_t num_samples) argument 183 ReadWavHeader(ReadableWav* readable, size_t* num_channels, int* sample_rate, WavFormat* format, size_t* bytes_per_sample, size_t* num_samples) argument
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
H A D | test_utils.cc | 25 void RawFile::WriteSamples(const int16_t* samples, size_t num_samples) { argument 29 fwrite(samples, sizeof(*samples), num_samples, file_handle_); 32 void RawFile::WriteSamples(const float* samples, size_t num_samples) { argument 33 fwrite(samples, sizeof(*samples), num_samples, file_handle_);
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
H A D | transient_suppression_test.cc | 127 size_t num_samples, 130 rtc::scoped_ptr<int16_t[]> ibuf(new int16_t[num_channels * num_samples]); 133 for (size_t j = 0; j < num_samples; ++j) { 134 ibuf[i + j * num_channels] = FloatS16ToS16(buffer[i * num_samples + j]); 137 fwrite(ibuf.get(), sizeof(ibuf[0]), num_channels * num_samples, f); 126 WritePCM(FILE* f, size_t num_samples, int num_channels, const float* buffer) argument
|
/external/ceres-solver/internal/ceres/ |
H A D | polynomial.cc | 333 const int num_samples = samples.size(); local 335 for (int i = 0; i < num_samples; ++i) { 350 for (int i = 0; i < num_samples; ++i) {
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_texture_desc.c | 32 unsigned num_samples, 68 if (num_samples > 1) { 31 r300_get_pixel_alignment(enum pipe_format format, unsigned num_samples, enum radeon_bo_layout microtile, enum radeon_bo_layout macrotile, enum r300_dim dim, boolean is_rs690) argument
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | pitch_filter.c | 99 * num_samples : number of samples to be processed in each segment. 114 int num_samples; member in struct:__anon21419 149 for (n = 0; n < parameters->num_samples; ++n) { 312 filter_parameters.num_samples = PITCH_UPDATE; 353 filter_parameters.num_samples = QLOOKAHEAD;
|
/external/libhevc/decoder/ |
H A D | ihevcd_utils.c | 199 WORD32 num_samples; local 219 num_samples = num_luma_samples * 3 / 2; 222 size = num_samples * max_dpb_size;
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_context.c | 987 unsigned num_samples = rb->Base.Base.NumSamples; local 993 if (num_samples == 0) { 1027 num_samples,
|