/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
D | statistics_calculator.cc | 55 void StatisticsCalculator::ExpandedVoiceSamples(int num_samples) { in ExpandedVoiceSamples() argument 56 expanded_voice_samples_ += num_samples; in ExpandedVoiceSamples() 59 void StatisticsCalculator::ExpandedNoiseSamples(int num_samples) { in ExpandedNoiseSamples() argument 60 expanded_noise_samples_ += num_samples; in ExpandedNoiseSamples() 63 void StatisticsCalculator::PreemptiveExpandedSamples(int num_samples) { in PreemptiveExpandedSamples() argument 64 preemptive_samples_ += num_samples; in PreemptiveExpandedSamples() 67 void StatisticsCalculator::AcceleratedSamples(int num_samples) { in AcceleratedSamples() argument 68 accelerate_samples_ += num_samples; in AcceleratedSamples() 71 void StatisticsCalculator::AddZeros(int num_samples) { in AddZeros() argument 72 added_zero_samples_ += num_samples; in AddZeros() [all …]
|
D | statistics_calculator.h | 44 void ExpandedVoiceSamples(int num_samples); 48 void ExpandedNoiseSamples(int num_samples); 52 void PreemptiveExpandedSamples(int num_samples); 55 void AcceleratedSamples(int num_samples); 58 void AddZeros(int num_samples); 64 void LostSamples(int num_samples); 68 void IncreaseCounter(int num_samples, int fs_hz);
|
D | dtmf_tone_generator.cc | 152 int DtmfToneGenerator::Generate(int num_samples, in Generate() argument 158 if (num_samples < 0 || !output) { in Generate() 162 output->AssertSize(num_samples); in Generate() 163 for (int i = 0; i < num_samples; ++i) { in Generate() 189 return num_samples; in Generate()
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
D | gen6_multisample_state.c | 35 unsigned num_samples) in gen6_emit_3dstate_multisample() argument 43 switch (num_samples) { in gen6_emit_3dstate_multisample() 118 unsigned num_samples, float coverage, in gen6_emit_3dstate_sample_mask() argument 125 if (num_samples > 1) { in gen6_emit_3dstate_sample_mask() 126 int coverage_int = (int) (num_samples * coverage + 0.5); in gen6_emit_3dstate_sample_mask() 129 coverage_bits ^= (1 << num_samples) - 1; in gen6_emit_3dstate_sample_mask() 146 unsigned num_samples = ctx->DrawBuffer->Visual.samples; in upload_multisample_state() local 157 gen6_emit_3dstate_multisample(brw, num_samples); in upload_multisample_state() 158 gen6_emit_3dstate_sample_mask(brw, num_samples, coverage, coverage_invert); in upload_multisample_state()
|
D | brw_blorp_blit.cpp | 496 void encode_msaa(unsigned num_samples, intel_msaa_layout layout); 497 void decode_msaa(unsigned num_samples, intel_msaa_layout layout); 501 void manual_blend(unsigned num_samples); 1016 brw_blorp_blit_program::encode_msaa(unsigned num_samples, in encode_msaa() argument 1034 switch (num_samples) { in encode_msaa() 1103 brw_blorp_blit_program::decode_msaa(unsigned num_samples, in decode_msaa() argument 1122 switch (num_samples) { in decode_msaa() 1247 brw_blorp_blit_program::manual_blend(unsigned num_samples) in manual_blend() argument 1288 for (unsigned i = 0; i < num_samples; ++i) { in manual_blend() 1344 brw_imm_f(1.0/num_samples)); in manual_blend() [all …]
|
D | intel_mipmap_tree.c | 84 GLuint num_samples, in intel_miptree_create_internal() argument 105 mt->num_samples = num_samples; in intel_miptree_create_internal() 138 num_samples > 1 ? INTEL_MSAA_LAYOUT_IMS : INTEL_MSAA_LAYOUT_NONE; in intel_miptree_create_internal() 148 num_samples, in intel_miptree_create_internal() 196 GLuint num_samples, in intel_miptree_create() argument 238 false, num_samples, msaa_layout); in intel_miptree_create() 349 uint32_t num_samples, in intel_miptree_create_for_dri2_buffer() argument 369 if (num_samples == 0) in intel_miptree_create_for_dri2_buffer() 376 num_samples); in intel_miptree_create_for_dri2_buffer() 399 uint32_t num_samples) in intel_miptree_create_for_renderbuffer() argument [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen6_multisample_state.c | 35 unsigned num_samples) in gen6_emit_3dstate_multisample() argument 43 switch (num_samples) { in gen6_emit_3dstate_multisample() 118 unsigned num_samples, float coverage, in gen6_emit_3dstate_sample_mask() argument 125 if (num_samples > 1) { in gen6_emit_3dstate_sample_mask() 126 int coverage_int = (int) (num_samples * coverage + 0.5); in gen6_emit_3dstate_sample_mask() 129 coverage_bits ^= (1 << num_samples) - 1; in gen6_emit_3dstate_sample_mask() 146 unsigned num_samples = ctx->DrawBuffer->Visual.samples; in upload_multisample_state() local 157 gen6_emit_3dstate_multisample(brw, num_samples); in upload_multisample_state() 158 gen6_emit_3dstate_sample_mask(brw, num_samples, coverage, coverage_invert); in upload_multisample_state()
|
D | brw_blorp_blit.cpp | 496 void encode_msaa(unsigned num_samples, intel_msaa_layout layout); 497 void decode_msaa(unsigned num_samples, intel_msaa_layout layout); 501 void manual_blend(unsigned num_samples); 1016 brw_blorp_blit_program::encode_msaa(unsigned num_samples, in encode_msaa() argument 1034 switch (num_samples) { in encode_msaa() 1103 brw_blorp_blit_program::decode_msaa(unsigned num_samples, in decode_msaa() argument 1122 switch (num_samples) { in decode_msaa() 1247 brw_blorp_blit_program::manual_blend(unsigned num_samples) in manual_blend() argument 1288 for (unsigned i = 0; i < num_samples; ++i) { in manual_blend() 1344 brw_imm_f(1.0/num_samples)); in manual_blend() [all …]
|
D | intel_mipmap_tree.c | 84 GLuint num_samples, in intel_miptree_create_internal() argument 105 mt->num_samples = num_samples; in intel_miptree_create_internal() 138 num_samples > 1 ? INTEL_MSAA_LAYOUT_IMS : INTEL_MSAA_LAYOUT_NONE; in intel_miptree_create_internal() 148 num_samples, in intel_miptree_create_internal() 196 GLuint num_samples, in intel_miptree_create() argument 238 false, num_samples, msaa_layout); in intel_miptree_create() 349 uint32_t num_samples, in intel_miptree_create_for_dri2_buffer() argument 369 if (num_samples == 0) in intel_miptree_create_for_dri2_buffer() 376 num_samples); in intel_miptree_create_for_dri2_buffer() 399 uint32_t num_samples) in intel_miptree_create_for_renderbuffer() argument [all …]
|
/external/chromium_org/third_party/webrtc/common_audio/ |
D | wav_writer.cc | 49 void WavFile::WriteSamples(const int16_t* samples, size_t num_samples) { in WriteSamples() argument 54 fwrite(samples, sizeof(*samples), num_samples, file_handle_); in WriteSamples() 55 CHECK_EQ(num_samples, written); in WriteSamples() 66 void WavFile::WriteSamples(const float* samples, size_t num_samples) { in WriteSamples() argument 68 for (size_t i = 0; i < num_samples; i += kChunksize) { in WriteSamples() 70 const size_t chunk = std::min(kChunksize, num_samples - i); in WriteSamples() 101 size_t num_samples) { in rtc_WavWriteSamples() argument 102 reinterpret_cast<webrtc::WavFile*>(wf)->WriteSamples(samples, num_samples); in rtc_WavWriteSamples() 114 return reinterpret_cast<const webrtc::WavFile*>(wf)->num_samples(); in rtc_WavNumSamples()
|
D | wav_writer.h | 35 void WriteSamples(const float* samples, size_t num_samples); 36 void WriteSamples(const int16_t* samples, size_t num_samples); 40 uint32_t num_samples() const { return num_samples_; } in num_samples() function 63 size_t num_samples);
|
D | wav_header.cc | 35 uint32_t num_samples) { in CheckWavParameters() argument 75 if (num_samples > max_samples) in CheckWavParameters() 79 if (num_samples % num_channels != 0) in CheckWavParameters() 103 uint32_t num_samples) { in WriteWavHeader() argument 105 bytes_per_sample, num_samples)); in WriteWavHeader() 127 const uint32_t bytes_in_payload = bytes_per_sample * num_samples; in WriteWavHeader()
|
/external/opencv/ml/src/ |
D | mltestset.cpp | 60 int num_samples, in cvCreateTestSet() argument 87 if( num_samples < 1 ) in cvCreateTestSet() 105 CV_CALL( *samples = cvCreateMat( num_samples, num_features, CV_32FC1 ) ); in cvCreateTestSet() 106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); in cvCreateTestSet() 133 num_classes = MIN( num_samples, num_classes ); in cvCreateTestSet() 136 for( i = 0, cur_class = 0; i < num_samples; ++cur_class ) in cvCreateTestSet() 141 last_idx = num_samples * (cur_class + 1) / num_classes - 1; in cvCreateTestSet() 145 for( ; elem.d <= max_dst && i < num_samples; ++i ) in cvCreateTestSet() 148 if( i < num_samples - 1 ) in cvCreateTestSet()
|
/external/chromium_org/content/browser/speech/ |
D | audio_encoder.cc | 90 const int num_samples = raw_audio.NumSamples(); in Encode() local 91 scoped_ptr<FLAC__int32[]> flac_samples(new FLAC__int32[num_samples]); in Encode() 93 for (int i = 0; i < num_samples; ++i) in Encode() 96 FLAC__stream_encoder_process(encoder_, &flac_samples_ptr, num_samples); in Encode() 154 int num_samples = raw_audio.NumSamples(); in Encode() local 156 num_samples -= (num_samples % samples_per_frame_); in Encode() 157 for (int i = 0; i < num_samples; i += samples_per_frame_) { in Encode()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
D | audio_sink.h | 30 virtual bool WriteArray(const int16_t* audio, size_t num_samples) = 0; 50 virtual bool WriteArray(const int16_t* audio, size_t num_samples) OVERRIDE { in WriteArray() argument 51 return left_sink_->WriteArray(audio, num_samples) && in WriteArray() 52 right_sink_->WriteArray(audio, num_samples); in WriteArray()
|
D | output_audio_file.h | 37 virtual bool WriteArray(const int16_t* audio, size_t num_samples) OVERRIDE { in WriteArray() argument 39 return fwrite(audio, sizeof(*audio), num_samples, out_file_) == num_samples; in WriteArray()
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
D | file_player_unittests.cc | 64 int num_samples; in PlayFileAndCheck() local 66 player_->Get10msAudioFromFile(out, num_samples, kSampleRateHz)); in PlayFileAndCheck() 67 checksum.Update(out, num_samples * sizeof(out[0])); in PlayFileAndCheck() 69 ASSERT_EQ(static_cast<size_t>(num_samples), in PlayFileAndCheck() 70 fwrite(out, sizeof(out[0]), num_samples, output_file_)); in PlayFileAndCheck()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/utility/ |
D | quality_scaler.cc | 105 bool QualityScaler::MovingAverage::GetAverage(size_t num_samples, int* avg) { in GetAverage() argument 106 assert(num_samples > 0); in GetAverage() 107 if (num_samples > samples_.size()) in GetAverage() 111 while (num_samples < samples_.size()) { in GetAverage() 116 *avg = sum_ / static_cast<int>(num_samples); in GetAverage()
|
/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_chromium_framebuffer_multisample_unittest.cc | 78 GLsizei num_samples = 4, max_samples = 0; in TEST_F() local 80 num_samples = std::min(num_samples, max_samples); in TEST_F() 86 GL_RENDERBUFFER, num_samples, GL_RGBA8_OES, width, height); in TEST_F() 90 EXPECT_GE(param, num_samples); in TEST_F()
|
/external/srec/srec/cfront/ |
D | spec_anl.c | 50 int num_samples, coefdata pre_mel, 58 samdata *outgo, int num_samples) in filterbank_emulation() argument 71 preemph(channel->prebuff, freqobj->window_length, income, num_samples, in filterbank_emulation() 144 int num_samples, coefdata pre_mel, in preemph() argument 156 ASSERT(num_samples >= 0); in preemph() 157 if (num_samples > window_len) in preemph() 158 num_samples = window_len; in preemph() 160 if (num_samples < window_len) in preemph() 161 MEMMOVE(data, data + num_samples, (window_len - num_samples), in preemph() 163 data += window_len - num_samples; in preemph() [all …]
|
/external/chromium_org/media/cast/test/utility/ |
D | generate_timecode_audio.cc | 24 size_t num_samples = 0; in main() local 27 frame_id, num_samples, samples.size(), &samples.front())); in main() 28 num_samples += samples.size(); in main()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_mipmap_tree.h | 217 GLuint num_samples; member 381 GLuint num_samples, 394 uint32_t num_samples, 409 uint32_t num_samples); 487 GLuint num_samples); 506 GLuint num_samples);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
D | intel_mipmap_tree.h | 217 GLuint num_samples; member 381 GLuint num_samples, 394 uint32_t num_samples, 409 uint32_t num_samples); 487 GLuint num_samples); 506 GLuint num_samples);
|
D | intel_mipmap_tree.c | 84 GLuint num_samples, in intel_miptree_create_internal() argument 105 mt->num_samples = num_samples; in intel_miptree_create_internal() 138 num_samples > 1 ? INTEL_MSAA_LAYOUT_IMS : INTEL_MSAA_LAYOUT_NONE; in intel_miptree_create_internal() 148 num_samples, in intel_miptree_create_internal() 196 GLuint num_samples, in intel_miptree_create() argument 238 false, num_samples, msaa_layout); in intel_miptree_create() 349 uint32_t num_samples, in intel_miptree_create_for_dri2_buffer() argument 369 if (num_samples == 0) in intel_miptree_create_for_dri2_buffer() 376 num_samples); in intel_miptree_create_for_dri2_buffer() 399 uint32_t num_samples) in intel_miptree_create_for_renderbuffer() argument [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
D | intel_mipmap_tree.c | 84 GLuint num_samples, in intel_miptree_create_internal() argument 105 mt->num_samples = num_samples; in intel_miptree_create_internal() 138 num_samples > 1 ? INTEL_MSAA_LAYOUT_IMS : INTEL_MSAA_LAYOUT_NONE; in intel_miptree_create_internal() 148 num_samples, in intel_miptree_create_internal() 196 GLuint num_samples, in intel_miptree_create() argument 238 false, num_samples, msaa_layout); in intel_miptree_create() 349 uint32_t num_samples, in intel_miptree_create_for_dri2_buffer() argument 369 if (num_samples == 0) in intel_miptree_create_for_dri2_buffer() 376 num_samples); in intel_miptree_create_for_dri2_buffer() 399 uint32_t num_samples) in intel_miptree_create_for_renderbuffer() argument [all …]
|