Searched defs:channels (Results 1 - 25 of 288) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dbackground_noise_unittest.cc20 size_t channels = 1; local
21 BackgroundNoise bgn(channels);
H A Dmerge_unittest.cc27 size_t channels = 1; local
28 BackgroundNoise bgn(channels);
31 Expand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
32 Merge merge(fs, channels, &expand, &sync_buffer);
H A Dexpand_unittest.cc24 size_t channels = 1; local
25 BackgroundNoise bgn(channels);
28 Expand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
33 size_t channels = 1; local
34 BackgroundNoise bgn(channels);
39 expand_factory.Create(&bgn, &sync_buffer, &random_vector, fs, channels);
H A Dnormal_unittest.cc35 size_t channels = 1; local
36 BackgroundNoise bgn(channels);
39 Expand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
48 size_t channels = 1; local
49 BackgroundNoise bgn(channels);
52 MockExpand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
56 scoped_ptr<int16_t[]> mute_factor_array(new int16_t[channels]);
57 for (size_t i = 0; i < channels; ++i) {
60 AudioMultiVector output(channels);
92 size_t channels local
[all...]
H A Daudio_classifier.cc42 int channels) {
44 assert((input_length / channels) == kDefaultFrameSizeSamples);
47 assert(channels == 1 || channels == 2);
61 channels,
40 Analysis(const int16_t* input, int input_length, int channels) argument
H A Daudio_classifier_unittest.cc40 size_t channels) {
42 scoped_ptr<int16_t[]> in(new int16_t[channels * kFrameSize]);
51 while (fread(in.get(), sizeof(int16_t), channels * kFrameSize, audio_file) ==
52 channels * kFrameSize) {
54 classifier.Analysis(in.get(), channels * kFrameSize, channels);
38 RunAnalysisTest(const std::string& audio_filename, const std::string& data_filename, size_t channels) argument
/external/chromium_org/chrome/utility/cloud_print/
H A Dbitmap_image.cc18 data_(new uint8[size.GetArea() * channels()]) {
24 uint8 BitmapImage::channels() const { function in class:cloud_print::BitmapImage
31 return data_.get() + (point.y() * size_.width() + point.x()) * channels();
/external/chromium_org/components/copresence/test/
H A Daudio_test_support.cc20 int channels,
22 scoped_ptr<media::AudioBus> bus = media::AudioBus::Create(channels, samples);
23 for (int ch = 0; ch < channels; ++ch)
29 CreateRandomAudioRefCounted(int random_seed, int channels, int samples) { argument
31 media::AudioBusRefCounted::Create(channels, samples);
32 for (int ch = 0; ch < channels; ++ch)
19 CreateRandomAudio(int random_seed, int channels, int samples) argument
/external/chromium_org/media/base/
H A Dchannel_layout.cc161 ChannelLayout GuessChannelLayout(int channels) { argument
162 switch (channels) {
180 DVLOG(1) << "Unsupported channel count: " << channels;
H A Daudio_bus.h29 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses
30 // channels() and frames_per_buffer() from AudioParameters if given.
31 static scoped_ptr<AudioBus> Create(int channels, int frames);
34 // Creates a new AudioBus with the given number of channels, but zero length.
37 static scoped_ptr<AudioBus> CreateWrapper(int channels);
48 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data);
53 // Calculates the required size for an AudioBus given the number of channels
55 static int CalculateMemorySize(int channels, int frames);
76 // AudioBus object must have the same frames() and channels().
80 // objects must have the same number of channels()
95 int channels() const { return static_cast<int>(channel_data_.size()); } function in class:media::AudioBus
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/
H A Dopus_inst.h24 int channels; member in struct:WebRtcOpusDecInst
/external/flac/libFLAC/include/protected/
H A Dstream_decoder.h42 unsigned channels; member in struct:FLAC__StreamDecoderProtected
/external/chromium_org/media/audio/
H A Dsimple_sources.cc19 SineWaveAudioSource::SineWaveAudioSource(int channels, argument
21 : channels_(channels),
44 for (int i = 1; i < audio_bus->channels(); ++i) {
/external/chromium_org/media/filters/
H A Daudio_file_reader.h33 // channels(), GetDuration(), and GetNumberOfFrames() methods can be called.
40 // |audio_data| must be of the same size as channels().
48 int channels() const { return channels_; } function in class:media::AudioFileReader
/external/chromium_org/remoting/host/
H A Daudio_silence_detector.cc30 void AudioSilenceDetector::Reset(int sampling_rate, int channels) { argument
34 sampling_rate * channels * kSilencePeriodThresholdSeconds;
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DServiceWorkerClient.cpp29 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); local
34 OwnPtr<WebMessagePortChannelArray> webChannels = MessagePort::toWebMessagePortChannelArray(channels.release());
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebDOMMessageEvent.cpp71 MessagePortChannelArray* channels = constUnwrap<MessageEvent>()->channels(); local
72 WebMessagePortChannelArray webChannels(channels ? channels->size() : 0);
73 if (channels) {
74 for (size_t i = 0; i < channels->size(); ++i)
75 webChannels[i] = (*channels)[i].leakPtr();
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
H A DCodecInst.java26 "Channels: " + channels() + " " +
37 public native int channels(); method in class:CodecInst
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Daudio_coding_module.cc44 // Get supported codec parameters with name, frequency and number of channels.
48 int channels) {
53 payload_name, sampling_freq_hz, channels);
68 // Keep the number of channels from the function call. For most codecs it
70 codec->channels = channels;
75 // Get supported codec Index with name, frequency and number of channels.
78 int channels) {
79 return acm2::ACMCodecDB::CodecId(payload_name, sampling_freq_hz, channels);
45 Codec(const char* payload_name, CodecInst* codec, int sampling_freq_hz, int channels) argument
76 Codec(const char* payload_name, int sampling_freq_hz, int channels) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
H A Dinput_audio_file.cc41 size_t channels,
47 for (int j = static_cast<int>(channels - 1); j >= 0; --j) {
48 destination[i * channels + j] = source[i];
40 DuplicateInterleaved(const int16_t* source, size_t samples, size_t channels, int16_t* destination) argument
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
H A DAudioQuality.java24 int channels; field in class:AudioQuality
/external/chromium_org/content/child/service_worker/
H A Dweb_service_worker_impl.cc85 WebMessagePortChannelArray* channels) {
89 WebMessagePortChannelImpl::ExtractMessagePortIDs(channels)));
84 postMessage(const WebString& message, WebMessagePortChannelArray* channels) argument
/external/chromium_org/content/common/media/
H A Dmedia_param_traits.cc26 m->WriteInt(p.channels());
34 frames_per_buffer, channels, effects; local
41 !m->ReadInt(iter, &channels) ||
46 static_cast<ChannelLayout>(channel_layout), channels,
/external/chromium_org/content/renderer/media/
H A Dmedia_stream_audio_sink_owner.cc20 const std::vector<int>& channels,
16 OnData(const int16* audio_data, int sample_rate, int number_of_channels, int number_of_frames, const std::vector<int>& channels, int audio_delay_milliseconds, int current_volume, bool need_audio_processing, bool key_pressed) argument
H A Dpeer_connection_audio_sink_owner.cc20 const std::vector<int>& channels,
31 channels,
16 OnData(const int16* audio_data, int sample_rate, int number_of_channels, int number_of_frames, const std::vector<int>& channels, int audio_delay_milliseconds, int current_volume, bool need_audio_processing, bool key_pressed) argument

Completed in 631 milliseconds

1234567891011>>