/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.cpp | 42 num_samples(0) 72 this->num_samples = mt->num_samples; 150 num_samples(0),
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
H A D | output_audio_file.h | 37 bool WriteArray(const int16_t* audio, size_t num_samples) override { 39 return fwrite(audio, sizeof(*audio), num_samples, out_file_) == num_samples;
|
H A D | audio_sink.h | 28 // Writes |num_samples| from |audio| to the AudioSink. Returns true if 30 virtual bool WriteArray(const int16_t* audio, size_t num_samples) = 0; 50 bool WriteArray(const int16_t* audio, size_t num_samples) override { 51 return left_sink_->WriteArray(audio, num_samples) && 52 right_sink_->WriteArray(audio, num_samples);
|
H A D | output_wav_file.h | 30 bool WriteArray(const int16_t* audio, size_t num_samples) override { 31 wav_writer_.WriteSamples(audio, num_samples);
|
H A D | audio_checksum.h | 29 bool WriteArray(const int16_t* audio, size_t num_samples) override { 36 checksum_.Update(audio, num_samples * sizeof(*audio));
|
/external/webrtc/webrtc/common_audio/ |
H A D | wav_file.h | 31 virtual size_t num_samples() const = 0; 50 void WriteSamples(const float* samples, size_t num_samples); 51 void WriteSamples(const int16_t* samples, size_t num_samples); 55 size_t num_samples() const override { return num_samples_; } 78 size_t ReadSamples(size_t num_samples, float* samples); 79 size_t ReadSamples(size_t num_samples, int16_t* samples); 83 size_t num_samples() const override { return num_samples_; } 109 size_t num_samples);
|
H A D | wav_header.h | 39 size_t num_samples); 50 size_t num_samples); 60 size_t* num_samples);
|
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_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_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/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/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/modules/audio_coding/neteq/ |
H A D | statistics_calculator.h | 40 // Reports that |num_samples| samples were produced through expansion, and 42 void ExpandedVoiceSamples(size_t num_samples); 44 // Reports that |num_samples| samples were produced through expansion, and 46 void ExpandedNoiseSamples(size_t num_samples); 48 // Reports that |num_samples| samples were produced through preemptive 50 void PreemptiveExpandedSamples(size_t num_samples); 52 // Reports that |num_samples| samples were removed through accelerate. 53 void AcceleratedSamples(size_t num_samples); 55 // Reports that |num_samples| zeros were inserted into the output. 56 void AddZeros(size_t num_samples); [all...] |
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...] |
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 | dtmf_tone_generator.h | 33 virtual int Generate(size_t num_samples, AudioMultiVector* output);
|
/external/webrtc/webrtc/common_audio/vad/mock/ |
H A D | mock_vad.h | 27 size_t num_samples,
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
H A D | mock_dtmf_tone_generator.h | 29 int(size_t num_samples, AudioMultiVector* output));
|
/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/vad/ |
H A D | vad.cc | 29 size_t num_samples, 31 int ret = WebRtcVad_Process(handle_, sample_rate_hz, audio, num_samples);
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_texture_desc.h | 41 unsigned num_samples,
|
/external/webrtc/webrtc/common_audio/vad/include/ |
H A D | vad.h | 38 size_t num_samples,
|
/external/webrtc/webrtc/modules/audio_processing/logging/ |
H A D | aec_logging.h | 21 #define RTC_AEC_DEBUG_WAV_WRITE(file, data, num_samples) \ 23 rtc_WavWriteSamples(file, data, num_samples); \ 73 #define RTC_AEC_DEBUG_WAV_WRITE(file, data, num_samples) \
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_fbo.h | 133 intel_create_renderbuffer(gl_format format, unsigned num_samples); 136 intel_create_private_renderbuffer(gl_format format, unsigned num_samples); 207 intel_quantize_num_samples(struct intel_screen *intel, unsigned num_samples);
|