/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
background_noise_unittest.cc | 20 size_t channels = 1; local 21 BackgroundNoise bgn(channels);
|
merge_unittest.cc | 27 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);
|
expand_unittest.cc | 24 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);
|
normal_unittest.cc | 35 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 = 2 local [all...] |
audio_classifier.cc | 42 int channels) { 44 assert((input_length / channels) == kDefaultFrameSizeSamples); 47 assert(channels == 1 || channels == 2); 61 channels,
|
/external/libpng/contrib/tools/ |
cvtcolor.c | 53 int channels = 0; local 92 ++channels; 95 ++channels; 98 ++channels; 101 ++channels; 108 int components = channels; 114 if (components < channels) 123 if ((channels & 1) == 0) 125 double alpha = c[channels-1]; 128 for (i=0; i<channels-1; ++i) c[i] /= alpha [all...] |
/external/chromium_org/components/copresence/test/ |
audio_test_support.cc | 20 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) { 31 media::AudioBusRefCounted::Create(channels, samples); 32 for (int ch = 0; ch < channels; ++ch)
|
audio_test_support.h | 25 int channels, 30 CreateRandomAudioRefCounted(int random_seed, int channels, int samples);
|
/external/bluetooth/bluedroid/embdrv/sbc/encoder/include/ |
sbc_if.h | 28 channels - 1 mono 2 stereo 33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
opus_inst.h | 24 int channels; member in struct:WebRtcOpusDecInst
|
/external/chromium_org/media/base/ |
audio_block_fifo_unittest.cc | 18 int channels, int block_frames, int max_frames) { 21 Push(fifo, frames_to_push, channels); 29 void Push(AudioBlockFifo* fifo, int frames_to_push, int channels) { 32 const int data_byte_size = bytes_per_sample * channels * frames_to_push; 45 for (int i = 0; i < bus->channels(); ++i) { 57 const int channels = 6; local 60 AudioBlockFifo fifo(channels, frames, blocks); 67 const int channels = 2; local 70 AudioBlockFifo fifo(channels, frames, blocks); 73 PushAndVerify(&fifo, frames / 2, channels, frames, frames * blocks) 88 const int channels = 2; local 152 static const int channels = 2; local 171 const int channels = 2; local [all...] |
audio_bus.h | 29 // 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(). |source_start_frame| i 95 int channels() const { return static_cast<int>(channel_data_.size()); } function in class:media::AudioBus [all...] |
multi_channel_resampler_unittest.cc | 45 void InitializeAudioData(int channels, int frames) { 47 audio_bus_ = AudioBus::Create(channels, frames); 57 EXPECT_EQ(audio_bus->channels(), audio_bus_->channels()); 58 for (int i = 0; i < audio_bus->channels(); ++i) 63 void MultiChannelTest(int channels, int frames, double expected_max_rms_error, 65 InitializeAudioData(channels, frames); 67 channels, kScaleFactor, SincResampler::kDefaultRequestSize, base::Bind( 85 void HighLatencyTest(int channels) { 86 MultiChannelTest(channels, kHighLatencySize, kHighLatencyMaxRMSError [all...] |
multi_channel_resampler.cc | 14 MultiChannelResampler::MultiChannelResampler(int channels, 19 wrapped_resampler_audio_bus_(AudioBus::CreateWrapper(channels)), 22 resamplers_.reserve(channels); 23 for (int i = 0; i < channels; ++i) { 32 // Allocate storage for all channels except the first, which will use the 34 if (channels > 1) { 35 resampler_audio_bus_ = AudioBus::Create(channels - 1, request_size); 36 for (int i = 0; i < resampler_audio_bus_->channels(); ++i) { 46 DCHECK_EQ(static_cast<size_t>(audio_bus->channels()), resamplers_.size()); 49 if (audio_bus->channels() == 1) [all...] |
audio_bus.cc | 24 static int CalculateMemorySizeInternal(int channels, int frames, 35 return sizeof(float) * channels * aligned_frames; 48 const int channels = dest->channels(); local 49 for (int ch = 0; ch < channels; ++ch) { 52 ++i, offset += channels) { 68 const int channels = source->channels(); local 69 for (int ch = 0; ch < channels; ++ch) { 72 ++i, offset += channels) { [all...] |
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
CodecInst.java | 26 "Channels: " + channels() + " " + 37 public native int channels(); method in class:CodecInst
|
/external/chromium_org/chrome/common/extensions/features/ |
chrome_channel_feature_filter.cc | 23 channels["trunk"] = chrome::VersionInfo::CHANNEL_UNKNOWN; 24 channels["canary"] = chrome::VersionInfo::CHANNEL_CANARY; 25 channels["dev"] = chrome::VersionInfo::CHANNEL_DEV; 26 channels["beta"] = chrome::VersionInfo::CHANNEL_BETA; 27 channels["stable"] = chrome::VersionInfo::CHANNEL_STABLE; 30 std::map<std::string, chrome::VersionInfo::Channel> channels; member in struct:extensions::__anon10276::Mappings 37 ChannelsMap channels = g_mappings.Get().channels; local 38 for (ChannelsMap::iterator i = channels.begin(); i != channels.end(); ++i) 48 ChannelsMap channels = g_mappings.Get().channels; local [all...] |
/external/chromium_org/media/filters/ |
wsola_internals.cc | 29 int channels) { 32 for (int n = 0; n < channels; ++n) { 45 DCHECK_EQ(a->channels(), b->channels()); 51 memset(dot_product, 0, sizeof(*dot_product) * a->channels()); 52 for (int k = 0; k < a->channels(); ++k) { 65 int channels = input->channels(); local 67 for (int k = 0; k < input->channels(); ++k) { 80 energy[k + n * channels] = energy[k + (n - 1) * channels] - *slide_out 114 int channels = search_segment->channels(); local 193 int channels = search_block->channels(); local 223 int channels = search_block->channels(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDOMMessageEvent.cpp | 71 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/chrome/utility/cloud_print/ |
bitmap_image.cc | 18 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/remoting/host/ |
audio_silence_detector.h | 21 void Reset(int sampling_rate, int channels);
|
/external/libvorbis/include/vorbis/ |
vorbisenc.h | 47 * \param channels The number of channels to be encoded. 61 long channels, 84 * \param channels The number of channels to be encoded. 98 long channels, 118 * \param channels The number of channels to be encoded. 130 long channels, 146 * \param channels The number of channels to be encoded [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
AudioQuality.java | 24 int channels; field in class:AudioQuality
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
MessagePort.cpp | 72 OwnPtr<MessagePortChannelArray> channels; local 82 channels = MessagePort::disentanglePorts(ports, exceptionState); 88 OwnPtr<WebMessagePortChannelArray> webChannels = toWebMessagePortChannelArray(channels.release()); 93 PassOwnPtr<WebMessagePortChannelArray> MessagePort::toWebMessagePortChannelArray(PassOwnPtr<MessagePortChannelArray> channels) 96 if (channels && channels->size()) { 97 webChannels = adoptPtr(new WebMessagePortChannelArray(channels->size())); 98 for (size_t i = 0; i < channels->size(); ++i) 99 (*webChannels)[i] = (*channels)[i].leakPtr(); 109 OwnPtr<MessagePortChannelArray> channels = adoptPtr(new MessagePortChannelArray(webChannels.size())) local 192 OwnPtr<MessagePortChannelArray> channels; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
audio_coding_module.cc | 44 // 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);
|