Searched defs:channels (Results 26 - 50 of 288) sorted by relevance

1234567891011>>

/external/chromium_org/content/test/
H A Dblink_test_environment.cc40 void EnableBlinkPlatformLogChannels(const std::string& channels) { argument
41 if (channels.empty())
43 base::StringTokenizer t(channels, ", ");
/external/chromium_org/media/audio/
H A Daudio_parameters.cc47 int channels, int sample_rate,
55 channels_(channels),
58 DCHECK_EQ(channels, ChannelLayoutToChannelCount(channel_layout));
62 int channels, int sample_rate,
65 DCHECK_EQ(channels, ChannelLayoutToChannelCount(channel_layout));
69 channels_ = channels;
112 channels_ == other.channels() &&
46 AudioParameters(Format format, ChannelLayout channel_layout, int channels, int sample_rate, int bits_per_sample, int frames_per_buffer, int effects) argument
61 Reset(Format format, ChannelLayout channel_layout, int channels, int sample_rate, int bits_per_sample, int frames_per_buffer) argument
/external/chromium_org/media/base/
H A Daudio_buffer_queue_unittest.cc26 for (int ch = 0; ch < bus->channels(); ++ch) {
87 const int channels = ChannelLayoutToChannelCount(channel_layout); local
89 scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100);
153 const int channels = ChannelLayoutToChannelCount(channel_layout); local
166 scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100);
188 const int channels = ChannelLayoutToChannelCount(channel_layout); local
197 scoped_ptr<AudioBus> bus = AudioBus::Create(channels, frames);
205 const int channels = ChannelLayoutToChannelCount(channel_layout); local
217 scoped_ptr<AudioBus> bus = AudioBus::Create(channels, buffer.frames());
226 const int channels local
251 const int channels = ChannelLayoutToChannelCount(channel_layout); local
271 const int channels = ChannelLayoutToChannelCount(channel_layout); local
291 const int channels = ChannelLayoutToChannelCount(channel_layout); local
314 const int channels = ChannelLayoutToChannelCount(channel_layout); local
[all...]
H A Daudio_pull_fifo.cc14 AudioPullFifo::AudioPullFifo(int channels, int frames, const ReadCB& read_cb) argument
16 fifo_(AudioBus::Create(channels, frames)),
56 for (int ch = 0; ch < fifo_->channels(); ++ch) {
H A Dmulti_channel_resampler.cc14 MultiChannelResampler::MultiChannelResampler(int channels, argument
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()
[all...]
H A Daudio_block_fifo.cc13 AudioBlockFifo::AudioBlockFifo(int channels, int frames, int blocks) argument
14 : channels_(channels),
H A Daudio_block_fifo_unittest.cc18 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) { argument
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, frame
17 PushAndVerify(AudioBlockFifo* fifo, int frames_to_push, int channels, int block_frames, int max_frames) argument
88 const int channels = 2; local
152 static const int channels = 2; local
171 const int channels = 2; local
[all...]
H A Daudio_decoder_config.cc77 int channels = ChannelLayoutToChannelCount(channel_layout_); local
78 bytes_per_frame_ = channels * bytes_per_channel_;
H A Daudio_fifo.cc40 AudioFifo::AudioFifo(int channels, int frames) argument
41 : audio_bus_(AudioBus::Create(channels, frames)),
57 DCHECK_EQ(source->channels(), audio_bus_->channels());
69 // Copy all channels from the source to the FIFO. Wrap around if needed.
70 for (int ch = 0; ch < source->channels(); ++ch) {
91 DCHECK_EQ(destination->channels(), audio_bus_->channels());
107 // For all channels, remove the requested amount of data from the FIFO
109 for (int ch = 0; ch < destination->channels();
[all...]
H A Daudio_hash_unittest.cc29 // Use an AudioBus wrapper to avoid an extra memcpy when filling channels.
35 for (int ch = 0; ch < audio_bus->channels(); ++ch) {
82 const int channels = bus_one_->channels(); local
83 scoped_ptr<AudioBus> swapped_ch_bus = AudioBus::CreateWrapper(channels);
85 for (int i = channels - 1; i >= 0; --i)
86 swapped_ch_bus->SetChannelData(channels - (i + 1), bus_one_->channel(i));
133 const int channels = bus_one_->channels(); local
134 scoped_ptr<AudioBus> half_bus = AudioBus::CreateWrapper(channels);
[all...]
/external/chromium_org/third_party/webrtc/examples/android/opensl_loopback/
H A Dfake_audio_device_buffer.cc41 int32_t FakeAudioDeviceBuffer::SetRecordingChannels(uint8_t channels) { argument
42 assert(channels > 0);
43 record_channels_ = channels;
49 int32_t FakeAudioDeviceBuffer::SetPlayoutChannels(uint8_t channels) { argument
50 assert(channels > 0);
51 play_channels_ = channels;
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Dacm_receiver.h46 int channels; member in struct:webrtc::acm2::AcmReceiver::Decoder
114 int channels,
H A Dacm_receive_test_oldapi.cc27 // the number of channels for the Opus codec to always be 1.
59 int channels,
61 if (channels != 1)
138 my_codec_param.channels,
158 // Don't check number of channels for PLC output, since each test run
57 RemapPltypeAndUseThisCodec(const char* plname, int plfreq, int channels, int* pltype) argument
H A Dacm_send_test.cc51 int channels,
56 input_frame_.num_channels_ = channels;
50 RegisterCodec(int codec_type, int channels, int payload_type, int frame_size_samples) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dsync_buffer.h22 SyncBuffer(size_t channels, size_t length) argument
23 : AudioMultiVector(channels, length),
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
H A Daudio_classifier_test.cc26 " channels output_type <input file name> <output file name> "
28 std::cout << "Where channels can be 1 (mono) or 2 (interleaved stereo),";
38 int channels = atoi(argv[1]); local
39 if (channels < 1 || channels > 2) {
40 std::cout << "Disallowed number of channels " << channels << std::endl;
50 const int data_size = channels * kFrameSizeSamples;
76 bool is_music = classifier.Analysis(in.get(), data_size, channels);
/external/chromium_org/third_party/webrtc/sound/
H A Dsoundsysteminterface.h52 // Number of channels in the PCM stream.
53 unsigned int channels; member in struct:rtc::SoundSystemInterface::OpenParams
/external/libpng/contrib/tools/
H A Dcvtcolor.c53 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
[all...]
/external/chromium_org/chrome/common/extensions/features/
H A Dchrome_channel_feature_filter.cc23 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::__anon5651::Mappings
37 ChannelsMap channels = g_mappings.Get().channels; local
38 for (ChannelsMap::iterator i = channels.begin(); i != channels
48 ChannelsMap channels = g_mappings.Get().channels; local
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dflock.cc34 int channels; member in struct:ImageFormat
112 len = fmt.width * fmt.height * fmt.channels;
/external/chromium_org/sandbox/win/src/
H A Dsharedmem_ipc_client.h14 // The shared memory is divided on blocks called channels, and potentially
15 // it can perform as many concurrent IPC calls as channels. The IPC over
88 // total number of channels available, some might be busy at a given time
93 ChannelControl channels[1]; member in struct:sandbox::IPCControl
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DWorker.cpp96 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); local
99 m_contextProxy->postMessageToWorkerGlobalScope(message, channels.release());
H A DWorkerObjectProxy.cpp50 void WorkerObjectProxy::postMessageToWorkerObject(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray> channels) argument
52 m_executionContext->postTask(createCrossThreadTask(&WorkerMessagingProxy::postMessageToWorkerObject, m_messagingProxy, message, channels));
/external/chromium_org/third_party/opus/src/celt/dump_modes/
H A Ddump_modes.c259 int channels = 0; local
275 if (channels>0)
277 fprintf (file, "#define CHANNELS(mode) %d\n", channels);
278 if (channels==1)
/external/chromium_org/third_party/opus/src/celt/
H A Dopus_custom_demo.c51 opus_int32 frame_size, channels, rate; local
64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> "
71 channels = atoi(argv[2]);
104 enc = opus_custom_encoder_create(mode, channels, &err);
112 dec = opus_custom_decoder_create(mode, channels, &err);
128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
134 err = fread(in, sizeof(short), frame_size*channels, fin);
174 for (i=0;i<ret*channels;i++)
178 for (i=0;i<ret*channels;
[all...]

Completed in 861 milliseconds

1234567891011>>