channels 228 chrome/browser/extensions/api/cast_streaming/performance_test.cc i += audio_frame->channels) { channels 82 chrome/common/cast_messages.h IPC_STRUCT_TRAITS_MEMBER(channels) channels 22 chrome/common/extensions/features/chrome_channel_feature_filter.cc channels["trunk"] = chrome::VersionInfo::CHANNEL_UNKNOWN; channels 23 chrome/common/extensions/features/chrome_channel_feature_filter.cc channels["canary"] = chrome::VersionInfo::CHANNEL_CANARY; channels 24 chrome/common/extensions/features/chrome_channel_feature_filter.cc channels["dev"] = chrome::VersionInfo::CHANNEL_DEV; channels 25 chrome/common/extensions/features/chrome_channel_feature_filter.cc channels["beta"] = chrome::VersionInfo::CHANNEL_BETA; channels 26 chrome/common/extensions/features/chrome_channel_feature_filter.cc channels["stable"] = chrome::VersionInfo::CHANNEL_STABLE; channels 29 chrome/common/extensions/features/chrome_channel_feature_filter.cc std::map<std::string, chrome::VersionInfo::Channel> channels; channels 36 chrome/common/extensions/features/chrome_channel_feature_filter.cc ChannelsMap channels = g_mappings.Get().channels; channels 37 chrome/common/extensions/features/chrome_channel_feature_filter.cc for (ChannelsMap::iterator i = channels.begin(); i != channels.end(); ++i) { channels 47 chrome/common/extensions/features/chrome_channel_feature_filter.cc ChannelsMap channels = g_mappings.Get().channels; channels 48 chrome/common/extensions/features/chrome_channel_feature_filter.cc ChannelsMap::const_iterator iter = channels.find(name); channels 49 chrome/common/extensions/features/chrome_channel_feature_filter.cc CHECK(iter != channels.end()); channels 466 chrome/installer/util/installation_validator_unittest.cc const wchar_t* const* channels = &kChromeChannels[0]; channels 468 chrome/installer/util/installation_validator_unittest.cc channels = &kChromeFrameChannels[0]; // SxS GCF has its own channel names. channels 473 chrome/installer/util/installation_validator_unittest.cc state->SetChannel(channels[channel], channel_modifiers); channels 71 chrome/renderer/extensions/cast_streaming_native_handler.cc cast_params->channels = ext_params.channels ? *ext_params.channels : 0; channels 110 chrome/renderer/extensions/cast_streaming_native_handler.cc if (cast_params.channels) channels 111 chrome/renderer/extensions/cast_streaming_native_handler.cc ext_params->channels.reset(new int(cast_params.channels)); channels 56 chrome/renderer/media/cast_rtp_stream.cc payload.channels = 2; channels 141 chrome/renderer/media/cast_rtp_stream.cc config->channels = params.payload.channels; channels 344 chrome/renderer/media/cast_rtp_stream.cc params.channels(), params.frames_per_buffer()); channels 403 chrome/renderer/media/cast_rtp_stream.cc channels(0), channels 448 chrome/renderer/media/cast_rtp_stream.cc params.payload.channels, channels 57 chrome/renderer/media/cast_rtp_stream.h int channels; channels 84 chrome/renderer/media/cast_session_delegate.cc transport_config.channels = config.channels; channels 17 chrome/utility/cloud_print/bitmap_image.cc data_(new uint8[size.GetArea() * channels()]) { channels 24 chrome/utility/cloud_print/bitmap_image.h uint8 channels() const; channels 156 chrome/utility/cloud_print/pwg_encoder.cc return image.pixel_data() + row * image.size().width() * image.channels(); channels 168 chrome/utility/cloud_print/pwg_encoder.cc if (image.channels() != 4) { channels 175 chrome/utility/cloud_print/pwg_encoder.cc int row_size = image.size().width() * image.channels(); channels 124 components/variations/variations_seed_processor_unittest.cc const Study_Channel channels[] = { channels 130 components/variations/variations_seed_processor_unittest.cc bool channel_added[arraysize(channels)] = { 0 }; channels 136 components/variations/variations_seed_processor_unittest.cc for (size_t i = 0; i <= arraysize(channels); ++i) { channels 137 components/variations/variations_seed_processor_unittest.cc for (size_t j = 0; j < arraysize(channels); ++j) { channels 139 components/variations/variations_seed_processor_unittest.cc const bool result = seed_processor.CheckStudyChannel(filter, channels[j]); channels 143 components/variations/variations_seed_processor_unittest.cc if (i < arraysize(channels)) { channels 144 components/variations/variations_seed_processor_unittest.cc filter.add_channel(channels[i]); channels 152 components/variations/variations_seed_processor_unittest.cc for (size_t i = 0; i <= arraysize(channels); ++i) { channels 153 components/variations/variations_seed_processor_unittest.cc for (size_t j = 0; j < arraysize(channels); ++j) { channels 155 components/variations/variations_seed_processor_unittest.cc const bool result = seed_processor.CheckStudyChannel(filter, channels[j]); channels 159 components/variations/variations_seed_processor_unittest.cc if (i < arraysize(channels)) { channels 160 components/variations/variations_seed_processor_unittest.cc const int index = arraysize(channels) - i - 1; channels 161 components/variations/variations_seed_processor_unittest.cc filter.add_channel(channels[index]); channels 116 content/browser/media/media_internals.cc dict.SetInteger("channels", params.channels()); channels 99 content/browser/media/media_internals_unittest.cc ExpectInt("channels", test_params_.channels()); channels 234 content/browser/renderer_host/media/audio_input_renderer_host.cc config.params.channel_layout(), config.params.channels(), 0, channels 557 content/browser/speech/speech_recognizer_impl.cc in_params.channels(), channels 143 content/child/npapi/np_channel_base.cc std::vector<scoped_refptr<NPChannelBase> > channels; channels 147 content/child/npapi/np_channel_base.cc channels.push_back(iter->second); channels 150 content/child/npapi/np_channel_base.cc for (size_t i = 0; i < channels.size(); ++i) channels 151 content/child/npapi/np_channel_base.cc channels[i]->CleanUp(); channels 22 content/child/service_worker/web_service_worker_impl.cc WebMessagePortChannelArray* channels) { channels 26 content/child/service_worker/web_service_worker_impl.cc WebMessagePortChannelImpl::ExtractMessagePortIDs(channels))); channels 27 content/child/service_worker/web_service_worker_impl.h blink::WebMessagePortChannelArray* channels); channels 64 content/child/webmessageportchannel_impl.cc WebMessagePortChannelArray* channels) { channels 66 content/child/webmessageportchannel_impl.cc if (channels) { channels 67 content/child/webmessageportchannel_impl.cc message_port_ids.resize(channels->size()); channels 69 content/child/webmessageportchannel_impl.cc for (size_t i = 0; i < channels->size(); ++i) { channels 71 content/child/webmessageportchannel_impl.cc static_cast<WebMessagePortChannelImpl*>((*channels)[i]); channels 76 content/child/webmessageportchannel_impl.cc delete channels; channels 106 content/child/webmessageportchannel_impl.cc WebMessagePortChannelArray* channels) { channels 111 content/child/webmessageportchannel_impl.cc &WebMessagePortChannelImpl::PostMessage, this, message, channels)); channels 113 content/child/webmessageportchannel_impl.cc PostMessage(message, channels); channels 119 content/child/webmessageportchannel_impl.cc WebMessagePortChannelArray* channels) { channels 121 content/child/webmessageportchannel_impl.cc message_port_id_, message, ExtractMessagePortIDs(channels)); channels 127 content/child/webmessageportchannel_impl.cc WebMessagePortChannelArray& channels) { channels 140 content/child/webmessageportchannel_impl.cc channels.swap(result_ports); channels 39 content/child/webmessageportchannel_impl.h blink::WebMessagePortChannelArray* channels); channels 55 content/child/webmessageportchannel_impl.h blink::WebMessagePortChannelArray* channels); channels 57 content/child/webmessageportchannel_impl.h blink::WebMessagePortChannelArray& channels); channels 63 content/child/webmessageportchannel_impl.h blink::WebMessagePortChannelArray* channels); channels 26 content/common/media/media_param_traits.cc m->WriteInt(p.channels()); channels 35 content/common/media/media_param_traits.cc frames_per_buffer, channels, input_channels, effects; channels 42 content/common/media/media_param_traits.cc !m->ReadInt(iter, &channels) || channels 47 content/common/media/media_param_traits.cc static_cast<ChannelLayout>(channel_layout), channels, channels 42 content/renderer/media/audio_decoder.cc size_t number_of_channels = reader.channels(); channels 230 content/renderer/media/audio_message_filter.cc int channels = audio_hardware_config_->GetOutputChannels(); channels 236 content/renderer/media/audio_message_filter.cc channels, channels 72 content/renderer/media/media_stream_audio_processor.cc fifo_.reset(new media::AudioFifo(source_params_.channels(), buffer_size)); channels 74 content/renderer/media/media_stream_audio_processor.cc audio_wrapper_ = media::AudioBus::Create(sink_params_.channels(), channels 118 content/renderer/media/media_stream_audio_processor.cc out->num_channels_ = sink_params_.channels(); channels 191 content/renderer/media/media_stream_audio_processor.cc DCHECK_EQ(audio_source->channels(), channels 192 content/renderer/media/media_stream_audio_processor.cc capture_converter_->source_parameters().channels()); channels 256 content/renderer/media/media_stream_audio_processor.cc InitializeRenderConverterIfNeeded(sample_rate, audio_bus->channels(), channels 426 content/renderer/media/media_stream_audio_processor.cc render_converter_->source_parameters().channels() == number_of_channels) { channels 460 content/renderer/media/media_stream_audio_processor.cc capture_converter_->sink_parameters().channels()); channels 462 content/renderer/media/media_stream_audio_processor.cc capture_converter_->sink_parameters().channels()); channels 72 content/renderer/media/media_stream_audio_processor_unittest.cc params_.frames_per_buffer() * 2 * params_.channels(); channels 78 content/renderer/media/media_stream_audio_processor_unittest.cc params_.channels(), params_.frames_per_buffer()); channels 106 content/renderer/media/media_stream_audio_processor_unittest.cc EXPECT_EQ(audio_processor->OutputFormat().channels(), channels 112 content/renderer/media/media_stream_audio_processor_unittest.cc data_ptr += params_.frames_per_buffer() * params_.channels(); channels 168 content/renderer/media/media_stream_audio_processor_unittest.cc params_.channels(), channels 216 content/renderer/media/media_stream_audio_processor_unittest.cc params_.channels(), channels 250 content/renderer/media/media_stream_audio_processor_unittest.cc params_.channels(), channels 20 content/renderer/media/media_stream_audio_sink_owner.cc const std::vector<int>& channels, channels 27 content/renderer/media/media_stream_audio_sink_owner.h const std::vector<int>& channels, channels 28 content/renderer/media/media_stream_audio_track_sink.h const std::vector<int>& channels, channels 20 content/renderer/media/peer_connection_audio_sink_owner.cc const std::vector<int>& channels, channels 31 content/renderer/media/peer_connection_audio_sink_owner.cc channels, channels 27 content/renderer/media/peer_connection_audio_sink_owner.h const std::vector<int>& channels, channels 91 content/renderer/media/renderer_webaudiodevice_impl.cc source ? static_cast<size_t>(source->channels()) : 0; channels 98 content/renderer/media/renderer_webaudiodevice_impl.cc static_cast<size_t>(dest->channels())); channels 99 content/renderer/media/renderer_webaudiodevice_impl.cc for (int i = 0; i < dest->channels(); ++i) channels 55 content/renderer/media/webaudio_capturer_source.cc wrapper_bus_ = AudioBus::CreateWrapper(params_.channels()); channels 58 content/renderer/media/webaudio_capturer_source.cc new int16[params_.frames_per_buffer() * params_.channels()]); channels 60 content/renderer/media/webaudio_capturer_source.cc params_.channels(), channels 97 content/renderer/media/webaudio_capturer_source.cc DCHECK_EQ(params_.channels(), static_cast<int>(audio_data.size())); channels 97 content/renderer/media/webaudiosourceprovider_impl.cc static_cast<size_t>(bus_wrapper_->channels()) != audio_data.size()) { channels 116 content/renderer/media/webaudiosourceprovider_impl.cc DCHECK_EQ(channels_, bus_wrapper_->channels()); channels 171 content/renderer/media/webaudiosourceprovider_impl.cc channels_ = params.channels(); channels 61 content/renderer/media/webaudiosourceprovider_impl_unittest.cc EXPECT_CALL(*this, setFormat(params_.channels(), params_.sample_rate())); channels 71 content/renderer/media/webaudiosourceprovider_impl_unittest.cc EXPECT_EQ(bus1->channels(), bus2->channels()); channels 73 content/renderer/media/webaudiosourceprovider_impl_unittest.cc for (int ch = 0; ch < bus1->channels(); ++ch) { channels 105 content/renderer/media/webaudiosourceprovider_impl_unittest.cc EXPECT_CALL(*this, setFormat(params_.channels(), params_.sample_rate())); channels 163 content/renderer/media/webaudiosourceprovider_impl_unittest.cc blink::WebVector<float*> audio_data(static_cast<size_t>(bus1->channels())); channels 64 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc const int length = params_.frames_per_buffer() * params_.channels(); channels 70 content/renderer/media/webrtc/webrtc_local_audio_track_adapter_unittest.cc OnData(_, 16, params_.sample_rate(), params_.channels(), channels 472 content/renderer/media/webrtc_audio_capturer.cc DCHECK_EQ(audio_source->channels(), channels 473 content/renderer/media/webrtc_audio_capturer.cc audio_processor_->InputFormat().channels()); channels 46 content/renderer/media/webrtc_audio_capturer_unittest.cc const std::vector<int>& channels, channels 50 content/renderer/media/webrtc_audio_capturer_unittest.cc EXPECT_EQ(number_of_channels, params_.channels()); channels 52 content/renderer/media/webrtc_audio_capturer_unittest.cc OnDataCallback(audio_data, channels, audio_delay_milliseconds, channels 57 content/renderer/media/webrtc_audio_capturer_unittest.cc const std::vector<int>& channels, channels 59 content/renderer/media/webrtc_audio_device_impl.cc const std::vector<int>& channels, channels 69 content/renderer/media/webrtc_audio_device_impl.cc if (!recording_ || channels.empty()) channels 99 content/renderer/media/webrtc_audio_device_impl.cc &channels[0], channels 100 content/renderer/media/webrtc_audio_device_impl.cc channels.size(), channels 129 content/renderer/media/webrtc_audio_device_impl.cc render_buffer_.resize(audio_bus->frames() * audio_bus->channels()); channels 141 content/renderer/media/webrtc_audio_device_impl.cc audio_bus->channels() * samples_per_10_msec * bytes_per_sample; channels 154 content/renderer/media/webrtc_audio_device_impl.cc audio_bus->channels(), channels 370 content/renderer/media/webrtc_audio_device_impl.cc *available = renderer_ && renderer_->channels() == 2; channels 383 content/renderer/media/webrtc_audio_device_impl.cc *available = (capturer->source_audio_parameters().channels() == 2); channels 218 content/renderer/media/webrtc_audio_device_impl.h const std::vector<int>& channels, channels 378 content/renderer/media/webrtc_audio_device_impl.h const std::vector<int>& channels, channels 269 content/renderer/media/webrtc_audio_renderer.cc sink_params_.channel_layout(), sink_params_.channels(), 0, channels 296 content/renderer/media/webrtc_audio_renderer.cc sink_params_.channels(), 0, sample_rate, 16, channels 307 content/renderer/media/webrtc_audio_renderer.cc source_params.channels(), channels 100 content/renderer/media/webrtc_audio_renderer.h int channels() const { return sink_params_.channels(); } channels 106 content/renderer/media/webrtc_local_audio_renderer.cc source_params_.channel_layout(), source_params_.channels(), channels 131 content/renderer/media/webrtc_local_audio_renderer.cc params.channels(), 10 * params.frames_per_buffer())); channels 76 content/renderer/media/webrtc_local_audio_source_provider.cc params.channels(), channels 78 content/renderer/media/webrtc_local_audio_source_provider.cc input_bus_ = media::AudioBus::Create(params.channels(), channels 103 content/renderer/media/webrtc_local_audio_source_provider.cc DCHECK(input_bus_->channels() == number_of_channels); channels 124 content/renderer/media/webrtc_local_audio_source_provider.cc static_cast<size_t>(output_wrapper_->channels()) != audio_data.size()) { channels 29 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc source_params_.frames_per_buffer() * source_params_.channels(); channels 63 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc static_cast<size_t>(sink_bus_->channels())); channels 75 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc source_params_.frames_per_buffer() * source_params_.channels(); channels 81 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc source_params_.channels(), channels 101 content/renderer/media/webrtc_local_audio_source_provider_unittest.cc source_params_.channels(), channels 50 content/renderer/media/webrtc_local_audio_track.cc audio_data, audio_parameters_.channels(), channels 82 content/renderer/media/webrtc_local_audio_track.cc audio_parameters_.channels(), channels 132 content/renderer/media/webrtc_local_audio_track_unittest.cc const std::vector<int>& channels, channels 138 content/renderer/media/webrtc_local_audio_track_unittest.cc EXPECT_EQ(params_.channels(), number_of_channels); channels 140 content/renderer/media/webrtc_local_audio_track_unittest.cc CaptureData(channels.size(), channels 94 content/renderer/pepper/pepper_media_stream_audio_track_host.cc DCHECK_EQ(number_of_channels, audio_params_.channels()); channels 144 content/renderer/pepper/pepper_media_stream_audio_track_host.cc DCHECK_EQ(params.channels(), original_audio_params_.channels()); channels 152 content/renderer/pepper/pepper_media_stream_audio_track_host.cc params.channels() * kMaxDuration / 1000; channels 250 content/renderer/render_thread_impl.cc void EnableBlinkPlatformLogChannels(const std::string& channels) { channels 251 content/renderer/render_thread_impl.cc if (channels.empty()) channels 253 content/renderer/render_thread_impl.cc base::StringTokenizer t(channels, ", "); channels 2815 content/renderer/render_view_impl.cc blink::WebMessagePortChannelArray channels = event.releaseChannels(); channels 2816 content/renderer/render_view_impl.cc if (!channels.isEmpty()) { channels 2817 content/renderer/render_view_impl.cc std::vector<int> message_port_ids(channels.size()); channels 2819 content/renderer/render_view_impl.cc for (size_t i = 0; i < channels.size(); ++i) { channels 2821 content/renderer/render_view_impl.cc static_cast<WebMessagePortChannelImpl*>(channels[i]); channels 3322 content/renderer/render_view_impl.cc blink::WebMessagePortChannelArray channels(params.message_port_ids.size()); channels 3326 content/renderer/render_view_impl.cc channels[i] = channels 3340 content/renderer/render_view_impl.cc params.source_origin, source_frame, "", channels); channels 696 content/renderer/renderer_webkitplatformsupport_impl.cc unsigned channels, channels 712 content/renderer/renderer_webkitplatformsupport_impl.cc switch (channels) { channels 106 content/renderer/renderer_webkitplatformsupport_impl.h size_t buffer_size, unsigned input_channels, unsigned channels, channels 36 content/test/webkit_support.cc void EnableBlinkPlatformLogChannels(const std::string& channels) { channels 37 content/test/webkit_support.cc if (channels.empty()) channels 39 content/test/webkit_support.cc base::StringTokenizer t(channels, ", "); channels 7779 gpu/command_buffer/service/gles2_cmd_decoder.cc uint32 channels = GLES2Util::GetChannelsForFormat(format); channels 7781 gpu/command_buffer/service/gles2_cmd_decoder.cc (channels & GLES2Util::kDepth) != 0) { channels 7788 gpu/command_buffer/service/gles2_cmd_decoder.cc bool have_stencil = (channels & GLES2Util::kStencil) != 0; channels 350 gpu/command_buffer/service/texture_manager.cc uint32 channels = GLES2Util::GetChannelsForFormat(first.format); channels 351 gpu/command_buffer/service/texture_manager.cc if (channels & (GLES2Util::kDepth | GLES2Util::kStencil)) { channels 1370 gpu/command_buffer/service/texture_manager.cc uint32 channels = GLES2Util::GetChannelsForFormat(format); channels 1371 gpu/command_buffer/service/texture_manager.cc if ((channels & (GLES2Util::kDepth | GLES2Util::kStencil)) != 0 && level) { channels 35 media/audio/alsa/alsa_input.cc (params.channels() * params.bits_per_sample()) / channels 72 media/audio/alsa/alsa_input.cc wrapper_, device_names[i], params_.channels(), channels 83 media/audio/alsa/alsa_input.cc params_.channels(), channels 78 media/audio/alsa/alsa_output.cc static const char* GuessSpecificDeviceName(uint32 channels) { channels 79 media/audio/alsa/alsa_output.cc switch (channels) { channels 139 media/audio/alsa/alsa_output.cc channels_(params.channels()), channels 220 media/audio/alsa/alsa_output.cc mixed_audio_bus_->channels() * bytes_per_sample_ : bytes_per_frame_; channels 516 media/audio/alsa/alsa_output.cc std::string AlsaPcmOutputStream::FindDeviceForChannels(uint32 channels) { channels 523 media/audio/alsa/alsa_output.cc const char* wanted_device = GuessSpecificDeviceName(channels); channels 131 media/audio/alsa/alsa_output.h std::string FindDeviceForChannels(uint32 channels); channels 56 media/audio/alsa/alsa_output_unittest.cc snd_pcm_access_t access, unsigned int channels, channels 17 media/audio/alsa/alsa_util.cc int channels, channels 30 media/audio/alsa/alsa_util.cc SND_PCM_ACCESS_RW_INTERLEAVED, channels, channels 35 media/audio/alsa/alsa_util.cc << " Channels: " << channels << " Latency: " << latency_us; channels 97 media/audio/alsa/alsa_util.cc int channels, channels 101 media/audio/alsa/alsa_util.cc return OpenDevice(wrapper, device_name, SND_PCM_STREAM_CAPTURE, channels, channels 107 media/audio/alsa/alsa_util.cc int channels, channels 111 media/audio/alsa/alsa_util.cc return OpenDevice(wrapper, device_name, SND_PCM_STREAM_PLAYBACK, channels, channels 21 media/audio/alsa/alsa_util.h int channels, channels 28 media/audio/alsa/alsa_util.h int channels, channels 75 media/audio/alsa/alsa_wrapper.cc snd_pcm_access_t access, unsigned int channels, channels 81 media/audio/alsa/alsa_wrapper.cc channels, channels 43 media/audio/alsa/alsa_wrapper.h snd_pcm_access_t access, unsigned int channels, channels 79 media/audio/alsa/alsa_wrapper.h unsigned int channels, unsigned int rate, channels 138 media/audio/android/audio_android_unittest.cc << "channels: " << params.channels() << endl channels 185 media/audio/android/audio_android_unittest.cc audio_bus->frames() * audio_bus->channels() * kBytesPerSample; channels 197 media/audio/android/audio_android_unittest.cc int frames = max_size / (audio_bus->channels() * kBytesPerSample); channels 356 media/audio/android/audio_android_unittest.cc (params_.bits_per_sample() / 8) * dest->frames() * dest->channels(); channels 858 media/audio/android/audio_android_unittest.cc if (params.sample_rate() == 48000 && params.channels() == 2) { channels 860 media/audio/android/audio_android_unittest.cc } else if (params.sample_rate() == 48000 && params.channels() == 1) { channels 862 media/audio/android/audio_android_unittest.cc } else if (params.sample_rate() == 44100 && params.channels() == 2) { channels 864 media/audio/android/audio_android_unittest.cc } else if (params.sample_rate() == 44100 && params.channels() == 1) { channels 892 media/audio/android/audio_android_unittest.cc params.channels()); channels 919 media/audio/android/audio_android_unittest.cc in_params.channels()); channels 358 media/audio/android/audio_manager_android.cc int channels) { channels 365 media/audio/android/audio_manager_android.cc sample_rate, channels)); channels 78 media/audio/android/audio_manager_android.h int GetOptimalOutputFrameSize(int sample_rate, int channels); channels 25 media/audio/android/audio_record_input.cc params.channels(), channels 33 media/audio/android/opensles_input.cc format_.numChannels = static_cast<SLuint32>(params.channels()); channels 38 media/audio/android/opensles_output.cc format_.numChannels = static_cast<SLuint32>(params.channels()); channels 344 media/audio/android/opensles_output.cc frames_filled * audio_bus_->channels() * format_.bitsPerSample / 8; channels 201 media/audio/audio_device_thread.cc bytes_per_ms_(audio_parameters.channels() * channels 63 media/audio/audio_input_controller.cc if (!params.IsValid() || (params.channels() > kMaxInputChannels)) channels 97 media/audio/audio_input_controller.cc if (!params.IsValid() || (params.channels() > kMaxInputChannels)) channels 138 media/audio/audio_low_latency_input_output_unittest.cc int channels) channels 141 media/audio/audio_low_latency_input_output_unittest.cc channels_(channels), channels 245 media/audio/audio_low_latency_input_output_unittest.cc EXPECT_EQ(channels_, audio_bus->channels()); channels 411 media/audio/audio_low_latency_input_output_unittest.cc aisw.channels()!= aosw.channels() || channels 425 media/audio/audio_low_latency_input_output_unittest.cc aisw.sample_rate(), aisw.samples_per_packet(), aisw.channels()); channels 430 media/audio/audio_low_latency_input_output_unittest.cc DVLOG(0) << " channels : " << aisw.channels(); channels 188 media/audio/audio_manager_base.cc if (!params.IsValid() || (params.channels() > kMaxInputChannels) || channels 251 media/audio/audio_manager_base.cc << "audio path. Channels: " << output_params.channels() << ", " channels 86 media/audio/audio_output_resampler.cc "Media.HardwareAudioChannelCount", output_params.channels(), channels 114 media/audio/audio_output_resampler.cc "Media.FallbackHardwareAudioChannelCount", output_params.channels(), channels 227 media/audio/audio_output_resampler.cc params_.channels(), params_.input_channels(), params_.sample_rate(), channels 51 media/audio/audio_parameters.cc int channels, int input_channels, channels 59 media/audio/audio_parameters.cc channels_(channels), channels 63 media/audio/audio_parameters.cc DCHECK_EQ(channels, ChannelLayoutToChannelCount(channel_layout)); channels 67 media/audio/audio_parameters.cc int channels, int input_channels, channels 71 media/audio/audio_parameters.cc DCHECK_EQ(channels, ChannelLayoutToChannelCount(channel_layout)); channels 75 media/audio/audio_parameters.cc channels_ = channels; channels 65 media/audio/audio_parameters.h int channels, int input_channels, channels 70 media/audio/audio_parameters.h int channels, int input_channels, channels 96 media/audio/audio_parameters.h int channels() const { return channels_; } channels 105 media/audio/audio_parameters.h channels_ == other.channels() && channels 133 media/audio/audio_parameters.h if (a.channels() != b.channels()) channels 134 media/audio/audio_parameters.h return a.channels() < b.channels(); channels 24 media/audio/audio_parameters_unittest.cc EXPECT_EQ(expected_channels, params.channels()); channels 44 media/audio/audio_parameters_unittest.cc EXPECT_EQ(expected_channels, params.channels()); channels 35 media/audio/audio_power_monitor.cc const int num_channels = buffer.channels(); channels 36 media/audio/audio_power_monitor_unittest.cc this->bus_ = AudioBus::Create(other.bus_->channels(), other.bus_->frames()); channels 84 media/audio/audio_power_monitor_unittest.cc return os << "{" << ts.data().channels() << "-channel signal} --> {" channels 191 media/audio/audio_power_monitor_unittest.cc AudioBus::Create(scenario.data().channels(), scenario.data().frames()); channels 117 media/audio/cras/cras_input.cc params_.channels()); channels 89 media/audio/cras/cras_input_unittest.cc params.channels() * channels 87 media/audio/cras/cras_unified.cc DCHECK(params_.channels() > 0); channels 95 media/audio/cras/cras_unified.cc DCHECK(params_.channels() == input_channels); channels 188 media/audio/cras/cras_unified.cc params_.channels()); channels 347 media/audio/cras/cras_unified.cc uint32 bytes_per_sample = bytes_per_frame_ / params_.channels(); channels 385 media/audio/cras/cras_unified.cc frames_filled, bytes_per_frame_ / params_.channels(), buffer); channels 24 media/audio/fake_audio_consumer_unittest.cc source_(params_.channels(), 200.0, params_.sample_rate()) { channels 44 media/audio/fake_audio_input_stream.cc buffer_size_((params.channels() * params.bits_per_sample() * channels 98 media/audio/fake_audio_input_stream.cc params_.channels() / 8; channels 34 media/audio/mac/audio_auhal_mac.cc const int channels = bus->channels(); channels 36 media/audio/mac/audio_auhal_mac.cc CHECK_EQ(channels, buffer_list_channels); channels 39 media/audio/mac/audio_auhal_mac.cc for (int i = 0; i < channels; ++i) { channels 55 media/audio/mac/audio_auhal_mac.cc output_channels_(params_.channels()), channels 423 media/audio/mac/audio_auhal_mac.cc int channels, channels 436 media/audio/mac/audio_auhal_mac.cc format.mChannelsPerFrame = channels; channels 98 media/audio/mac/audio_auhal_mac.h int channels, channels 34 media/audio/mac/audio_input_mac.cc format_.mChannelsPerFrame = params.channels(); channels 36 media/audio/mac/audio_input_mac.cc format_.mBytesPerPacket = (params.bits_per_sample() * params.channels()) / 8; channels 55 media/audio/mac/audio_low_latency_input_mac.cc format_.mChannelsPerFrame = input_params.channels(); channels 58 media/audio/mac/audio_low_latency_input_mac.cc input_params.channels()) / 8; channels 84 media/audio/mac/audio_low_latency_input_mac.cc audio_buffer->mNumberChannels = input_params.channels(); channels 349 media/audio/mac/audio_manager_mac.cc int* channels) { channels 356 media/audio/mac/audio_manager_mac.cc channels); channels 362 media/audio/mac/audio_manager_mac.cc int* channels) { channels 363 media/audio/mac/audio_manager_mac.cc CHECK(channels); channels 396 media/audio/mac/audio_manager_mac.cc *channels = buffer_list.mNumberBuffers; channels 399 media/audio/mac/audio_manager_mac.cc *channels = channels_per_frame; channels 461 media/audio/mac/audio_manager_mac.cc int channels = 0; channels 463 media/audio/mac/audio_manager_mac.cc if (GetDeviceChannels(device, kAudioDevicePropertyScopeInput, &channels) && channels 464 media/audio/mac/audio_manager_mac.cc channels <= 2) { channels 465 media/audio/mac/audio_manager_mac.cc channel_layout = GuessChannelLayout(channels); channels 686 media/audio/mac/audio_manager_mac.cc int output_channels = input_params.channels(); channels 58 media/audio/mac/audio_manager_mac.h static bool GetDefaultOutputChannels(int* channels); channels 62 media/audio/mac/audio_manager_mac.h int* channels); channels 218 media/audio/pulse/pulse_input.cc if (stream->channels_ != info->channel_map.channels) channels 219 media/audio/pulse/pulse_input.cc stream->channels_ = info->channel_map.channels; channels 86 media/audio/pulse/pulse_util.cc channel_map.channels = ChannelLayoutToChannelCount(channel_layout); channels 152 media/audio/pulse/pulse_util.cc sample_specifications.channels = params.channels(); channels 157 media/audio/pulse/pulse_util.cc pa_channel_map* map = (source_channel_map.channels != 0) ? channels 251 media/audio/pulse/pulse_util.cc sample_specifications.channels = params.channels(); channels 257 media/audio/pulse/pulse_util.cc if (source_channel_map.channels != 0) { channels 19 media/audio/simple_sources.cc SineWaveAudioSource::SineWaveAudioSource(int channels, channels 21 media/audio/simple_sources.cc : channels_(channels), channels 44 media/audio/simple_sources.cc for (int i = 1; i < audio_bus->channels(); ++i) { channels 21 media/audio/simple_sources.h SineWaveAudioSource(int channels, double freq, double sample_freq); channels 94 media/audio/sounds/wav_audio_handler.cc if (bus->channels() != params_.channels()) { channels 20 media/audio/sounds/wav_audio_handler_unittest.cc ASSERT_EQ(2, params.channels()); channels 30 media/audio/sounds/wav_audio_handler_unittest.cc params.channels(), handler.data().size() / params.channels()); channels 63 media/audio/win/audio_low_latency_input_win.cc format_.nChannels = params.channels(); channels 373 media/audio/win/audio_low_latency_input_win_unittest.cc uint32 bytes_per_packet = aisw.channels() * aisw.frames_per_buffer() * channels 397 media/audio/win/audio_low_latency_input_win_unittest.cc bytes_per_packet = aisw.channels() * aisw.frames_per_buffer() * channels 414 media/audio/win/audio_low_latency_input_win_unittest.cc bytes_per_packet = aisw.channels() * aisw.frames_per_buffer() * channels 89 media/audio/win/audio_low_latency_output_win.cc format->nChannels = params.channels(); channels 118 media/audio/win/audio_low_latency_output_win_unittest.cc audio_bus->frames() * audio_bus->channels() * kBitsPerSample / 8; channels 124 media/audio/win/audio_low_latency_output_win_unittest.cc int frames = max_size / (audio_bus->channels() * kBitsPerSample / 8); channels 406 media/audio/win/audio_low_latency_output_win_unittest.cc uint32 bytes_per_packet = aosw.channels() * aosw.samples_per_packet() * channels 459 media/audio/win/audio_low_latency_output_win_unittest.cc VLOG(0) << "#channels : " << aosw.channels(); channels 610 media/audio/win/audio_low_latency_output_win_unittest.cc uint32 bytes_per_packet = aosw.channels() * aosw.samples_per_packet() * channels 651 media/audio/win/audio_low_latency_output_win_unittest.cc uint32 bytes_per_packet = aosw.channels() * aosw.samples_per_packet() * channels 329 media/audio/win/audio_manager_win.cc if (params.channels() > kWinMaxChannels) channels 347 media/audio/win/audio_manager_win.cc if (params.channels() > kWinMaxChannels) channels 607 media/audio/win/audio_output_win_unittest.cc int channels; channels 626 media/audio/win/audio_output_win_unittest.cc ctx.channels, ctx.frames, data.get()); channels 682 media/audio/win/audio_output_win_unittest.cc thread_context.channels = params.channels(); channels 559 media/audio/win/core_audio_util_win.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 560 media/audio/win/core_audio_util_win.cc if (channels != format.Format.nChannels) { channels 561 media/audio/win/core_audio_util_win.cc format.Format.nChannels = channels; channels 562 media/audio/win/core_audio_util_win.cc format.Format.nBlockAlign = (format.Format.wBitsPerSample / 8) * channels; channels 683 media/audio/win/core_audio_util_win.cc params->channels(), params->input_channels(), params->sample_rate(), channels 32 media/audio/win/wavein_input_win.cc channels_(params.channels()) { channels 35 media/audio/win/wavein_input_win.cc format_.nChannels = params.channels() > 2 ? 2 : params.channels(); channels 90 media/audio/win/waveout_output_win.cc channels_(params.channels()), channels 95 media/audio/win/waveout_output_win.cc format_.Format.nChannels = params.channels(); channels 104 media/audio/win/waveout_output_win.cc if (params.channels() > kMaxChannelsToMask) { channels 107 media/audio/win/waveout_output_win.cc format_.dwChannelMask = kChannelsToMask[params.channels()]; channels 331 media/audio/win/waveout_output_win.cc uint32 used = frames_filled * audio_bus_->channels() * channels 430 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java private static int getMinInputFrameSize(int sampleRate, int channels) { channels 432 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java if (channels == 1) { channels 434 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java } else if (channels == 2) { channels 440 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / 2 / channels; channels 450 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java private static int getMinOutputFrameSize(int sampleRate, int channels) { channels 452 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java if (channels == 1) { channels 454 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java } else if (channels == 2) { channels 460 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java sampleRate, channelConfig, AudioFormat.ENCODING_PCM_16BIT) / 2 / channels; channels 98 media/base/android/java/src/org/chromium/media/AudioRecordInput.java int sampleRate, int channels, int bitsPerSample, int bytesPerBuffer, channels 100 media/base/android/java/src/org/chromium/media/AudioRecordInput.java return new AudioRecordInput(nativeAudioRecordInputStream, sampleRate, channels, channels 104 media/base/android/java/src/org/chromium/media/AudioRecordInput.java private AudioRecordInput(long nativeAudioRecordInputStream, int sampleRate, int channels, channels 108 media/base/android/java/src/org/chromium/media/AudioRecordInput.java mChannels = channels; channels 178 media/base/audio_buffer.cc DCHECK_EQ(dest->channels(), channel_count_); channels 24 media/base/audio_buffer_converter.cc buffer->channel_count() != params.channels() || channels 191 media/base/audio_buffer_converter.cc output_params_.channels(), channels 82 media/base/audio_buffer_converter_unittest.cc out_channel_count_ = out_params.channels(); channels 87 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 89 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 153 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 167 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 191 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 202 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 213 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 226 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 235 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 248 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 263 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 275 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 286 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 299 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 310 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 317 media/base/audio_buffer_queue_unittest.cc kSampleFormatF32, channel_layout, 6.0f * channels, 1.0f, 10)); channels 319 media/base/audio_buffer_queue_unittest.cc kSampleFormatF32, channel_layout, 16.0f * channels, 1.0f, 60)); channels 324 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 327 media/base/audio_buffer_queue_unittest.cc for (int i = 0; i < channels; ++i) { channels 334 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 343 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus1 = AudioBus::Create(channels, 100); channels 350 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus2 = AudioBus::Create(channels, 100); channels 352 media/base/audio_buffer_queue_unittest.cc for (int i = 0; i < channels; ++i) { channels 356 media/base/audio_buffer_queue_unittest.cc static_cast<float>(channels)); channels 360 media/base/audio_buffer_queue_unittest.cc static_cast<float>(channels)); channels 365 media/base/audio_buffer_queue_unittest.cc for (int i = 0; i < channels; ++i) { channels 368 media/base/audio_buffer_queue_unittest.cc static_cast<float>(i + 40 * channels), channels 369 media/base/audio_buffer_queue_unittest.cc static_cast<float>(channels)); channels 380 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 385 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 392 media/base/audio_buffer_queue_unittest.cc channels, channels 417 media/base/audio_buffer_queue_unittest.cc channels, channels 448 media/base/audio_buffer_queue_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 451 media/base/audio_buffer_queue_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 86 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 92 media/base/audio_buffer_unittest.cc channels, channels 104 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 114 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 120 media/base/audio_buffer_unittest.cc channels, channels 131 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 137 media/base/audio_buffer_unittest.cc bus = AudioBus::Create(channels, 100); channels 147 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 153 media/base/audio_buffer_unittest.cc channels, channels 164 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 178 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 184 media/base/audio_buffer_unittest.cc channels, channels 194 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 200 media/base/audio_buffer_unittest.cc bus = AudioBus::Create(channels, 100); channels 208 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 215 media/base/audio_buffer_unittest.cc channels, channels 226 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 232 media/base/audio_buffer_unittest.cc bus = AudioBus::Create(channels, 100); channels 250 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 257 media/base/audio_buffer_unittest.cc channels, channels 268 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 276 media/base/audio_buffer_unittest.cc bus = AudioBus::Create(channels, 100); channels 286 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 291 media/base/audio_buffer_unittest.cc channel_layout, channels, kSampleRate, frames, start_time, duration); channels 298 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 308 media/base/audio_buffer_unittest.cc const int channels = ChannelLayoutToChannelCount(channel_layout); channels 315 media/base/audio_buffer_unittest.cc channels, channels 326 media/base/audio_buffer_unittest.cc scoped_ptr<AudioBus> bus = AudioBus::Create(channels, 100); channels 24 media/base/audio_bus.cc static int CalculateMemorySizeInternal(int channels, int frames, channels 35 media/base/audio_bus.cc return sizeof(float) * channels * aligned_frames; channels 48 media/base/audio_bus.cc const int channels = dest->channels(); channels 49 media/base/audio_bus.cc for (int ch = 0; ch < channels; ++ch) { channels 52 media/base/audio_bus.cc ++i, offset += channels) { channels 68 media/base/audio_bus.cc const int channels = source->channels(); channels 69 media/base/audio_bus.cc for (int ch = 0; ch < channels; ++ch) { channels 72 media/base/audio_bus.cc ++i, offset += channels) { channels 86 media/base/audio_bus.cc static void ValidateConfig(int channels, int frames) { channels 88 media/base/audio_bus.cc CHECK_GT(channels, 0); channels 89 media/base/audio_bus.cc CHECK_LE(channels, static_cast<int>(limits::kMaxChannels)); channels 101 media/base/audio_bus.cc AudioBus::AudioBus(int channels, int frames) channels 104 media/base/audio_bus.cc ValidateConfig(channels, frames_); channels 107 media/base/audio_bus.cc int size = CalculateMemorySizeInternal(channels, frames, &aligned_frames); channels 112 media/base/audio_bus.cc BuildChannelData(channels, aligned_frames, data_.get()); channels 115 media/base/audio_bus.cc AudioBus::AudioBus(int channels, int frames, float* data) channels 120 media/base/audio_bus.cc ValidateConfig(channels, frames_); channels 123 media/base/audio_bus.cc CalculateMemorySizeInternal(channels, frames, &aligned_frames); channels 125 media/base/audio_bus.cc BuildChannelData(channels, aligned_frames, data); channels 140 media/base/audio_bus.cc AudioBus::AudioBus(int channels) channels 141 media/base/audio_bus.cc : channel_data_(channels), channels 144 media/base/audio_bus.cc CHECK_GT(channels, 0); channels 151 media/base/audio_bus.cc scoped_ptr<AudioBus> AudioBus::Create(int channels, int frames) { channels 152 media/base/audio_bus.cc return scoped_ptr<AudioBus>(new AudioBus(channels, frames)); channels 157 media/base/audio_bus.cc params.channels(), params.frames_per_buffer())); channels 160 media/base/audio_bus.cc scoped_ptr<AudioBus> AudioBus::CreateWrapper(int channels) { channels 161 media/base/audio_bus.cc return scoped_ptr<AudioBus>(new AudioBus(channels)); channels 169 media/base/audio_bus.cc scoped_ptr<AudioBus> AudioBus::WrapMemory(int channels, int frames, channels 174 media/base/audio_bus.cc channels, frames, static_cast<float*>(data))); channels 182 media/base/audio_bus.cc params.channels(), params.frames_per_buffer(), channels 223 media/base/audio_bus.cc params.channels(), params.frames_per_buffer(), NULL); channels 226 media/base/audio_bus.cc int AudioBus::CalculateMemorySize(int channels, int frames) { channels 227 media/base/audio_bus.cc return CalculateMemorySizeInternal(channels, frames, NULL); channels 230 media/base/audio_bus.cc void AudioBus::BuildChannelData(int channels, int aligned_frames, float* data) { channels 234 media/base/audio_bus.cc channel_data_.reserve(channels); channels 235 media/base/audio_bus.cc for (int i = 0; i < channels; ++i) channels 314 media/base/audio_bus.cc CHECK_EQ(channels(), dest->channels()); channels 320 media/base/audio_bus.cc for (int i = 0; i < channels(); ++i) { channels 329 media/base/audio_bus.cc for (int i = 0; i < channels(); ++i) channels 337 media/base/audio_bus.cc DCHECK(a < channels() && a >= 0); channels 338 media/base/audio_bus.cc DCHECK(b < channels() && b >= 0); channels 30 media/base/audio_bus.h static scoped_ptr<AudioBus> Create(int channels, int frames); channels 36 media/base/audio_bus.h static scoped_ptr<AudioBus> CreateWrapper(int channels); channels 47 media/base/audio_bus.h static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data); channels 54 media/base/audio_bus.h static int CalculateMemorySize(int channels, int frames); channels 94 media/base/audio_bus.h int channels() const { return static_cast<int>(channel_data_.size()); } channels 115 media/base/audio_bus.h AudioBus(int channels, int frames); channels 116 media/base/audio_bus.h AudioBus(int channels, int frames, float* data); channels 118 media/base/audio_bus.h explicit AudioBus(int channels); channels 122 media/base/audio_bus.h void BuildChannelData(int channels, int aligned_frame, float* data); channels 17 media/base/audio_bus_perftest.cc const int frame_size = bus->frames() * bus->channels(); channels 32 media/base/audio_bus_unittest.cc EXPECT_EQ(kChannels, bus->channels()); channels 45 media/base/audio_bus_unittest.cc ASSERT_EQ(expected->channels(), result->channels()); channels 47 media/base/audio_bus_unittest.cc for (int ch = 0; ch < result->channels(); ++ch) { channels 69 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) { channels 75 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) channels 79 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) channels 86 media/base/audio_bus_unittest.cc for (int i = 0; i < bus1->channels(); ++i) channels 151 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) channels 158 media/base/audio_bus_unittest.cc EXPECT_LT(bus->channel(bus->channels() - 1) + bus->frames(), channels 206 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) channels 211 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) { channels 219 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) channels 224 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) { channels 232 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) channels 237 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) { channels 317 media/base/audio_bus_unittest.cc kTestVectorInt32 + kPartialStart * bus->channels(), kPartialStart, channels 327 media/base/audio_bus_unittest.cc for (int ch = 0; ch < bus->channels(); ++ch) { channels 390 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) channels 395 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) { channels 403 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) { channels 410 media/base/audio_bus_unittest.cc for (int i = 0; i < bus->channels(); ++i) { channels 31 media/base/audio_converter.cc input_channel_count_(input_params.channels()) { channels 39 media/base/audio_converter.cc << input_params.channels() << " channels to " channels 40 media/base/audio_converter.cc << output_params.channels() << " channels."; channels 44 media/base/audio_converter.cc downmix_early_ = input_params.channels() > output_params.channels(); channels 57 media/base/audio_converter.cc downmix_early_ ? output_params.channels() : input_params.channels(), channels 83 media/base/audio_converter.cc downmix_early_ ? output_params.channels() : input_params.channels(), channels 182 media/base/audio_converter.cc DCHECK_EQ(temp_dest->channels(), mixer_input_audio_bus_->channels()); channels 212 media/base/audio_converter.cc for (int i = 0; i < provide_input_dest->channels(); ++i) { channels 227 media/base/audio_converter.cc for (int i = 0; i < mixer_input_audio_bus_->channels(); ++i) { channels 92 media/base/audio_converter_unittest.cc for (int i = 0; i < audio_bus_->channels(); ++i) { channels 118 media/base/audio_converter_unittest.cc for (int i = input_parameters_.channels(); channels 119 media/base/audio_converter_unittest.cc i < output_parameters_.channels(); ++i) { channels 129 media/base/audio_converter_unittest.cc for (int i = 0; i < audio_bus_->channels(); ++i) { channels 232 media/base/audio_converter_unittest.cc audio_bus_ = AudioBus::Create(output_parameters_.channels(), channels 76 media/base/audio_decoder_config.cc int channels = ChannelLayoutToChannelCount(channel_layout_); channels 77 media/base/audio_decoder_config.cc bytes_per_frame_ = channels * bytes_per_channel_; channels 43 media/base/audio_fifo.cc AudioFifo::AudioFifo(int channels, int frames) channels 44 media/base/audio_fifo.cc : audio_bus_(AudioBus::Create(channels, frames)), channels 61 media/base/audio_fifo.cc DCHECK_EQ(source->channels(), audio_bus_->channels()); channels 74 media/base/audio_fifo.cc for (int ch = 0; ch < source->channels(); ++ch) { channels 100 media/base/audio_fifo.cc DCHECK_EQ(destination->channels(), audio_bus_->channels()); channels 118 media/base/audio_fifo.cc for (int ch = 0; ch < destination->channels(); ++ch) { channels 23 media/base/audio_fifo.h AudioFifo(int channels, int frames); channels 144 media/base/audio_fifo_unittest.cc for (int j = 0; j < bus->channels(); ++j) channels 163 media/base/audio_fifo_unittest.cc for (int j = 0; j < bus->channels(); ++j) channels 174 media/base/audio_fifo_unittest.cc for (int j = 0; j < bus->channels(); ++j) channels 184 media/base/audio_fifo_unittest.cc for (int j = 0; j < bus->channels(); ++j) { channels 185 media/base/audio_fifo_unittest.cc VerifyValue(bus->channel(j), bus->channels(), value); channels 38 media/base/audio_hardware_config.cc return output_params_.channels(); channels 53 media/base/audio_hardware_config.cc return input_params_.channels(); channels 26 media/base/audio_hash.cc for (uint32 ch = 0; ch < static_cast<uint32>(audio_bus->channels()); ++ch) { channels 35 media/base/audio_hash_unittest.cc for (int ch = 0; ch < audio_bus->channels(); ++ch) { channels 82 media/base/audio_hash_unittest.cc const int channels = bus_one_->channels(); channels 83 media/base/audio_hash_unittest.cc scoped_ptr<AudioBus> swapped_ch_bus = AudioBus::CreateWrapper(channels); channels 85 media/base/audio_hash_unittest.cc for (int i = channels - 1; i >= 0; --i) channels 86 media/base/audio_hash_unittest.cc swapped_ch_bus->SetChannelData(channels - (i + 1), bus_one_->channel(i)); channels 133 media/base/audio_hash_unittest.cc const int channels = bus_one_->channels(); channels 134 media/base/audio_hash_unittest.cc scoped_ptr<AudioBus> half_bus = AudioBus::CreateWrapper(channels); channels 136 media/base/audio_hash_unittest.cc for (int i = 0; i < channels; ++i) channels 14 media/base/audio_pull_fifo.cc AudioPullFifo::AudioPullFifo(int channels, int frames, const ReadCB& read_cb) channels 16 media/base/audio_pull_fifo.cc fifo_(AudioBus::Create(channels, frames)), channels 56 media/base/audio_pull_fifo.cc for (int ch = 0; ch < fifo_->channels(); ++ch) { channels 31 media/base/audio_pull_fifo.h AudioPullFifo(int channels, int frames, const ReadCB& read_cb); channels 66 media/base/audio_pull_fifo_unittest.cc EXPECT_EQ(audio_bus->channels(), audio_bus_->channels()); channels 69 media/base/audio_pull_fifo_unittest.cc for (int j = 0; j < audio_bus->channels(); ++j) { channels 100 media/base/audio_renderer_mixer_unittest.cc for (int i = 0; i < audio_bus_->channels(); ++i) { channels 149 media/base/audio_renderer_mixer_unittest.cc for (int i = 0; i < audio_bus_->channels(); ++i) { channels 520 media/base/audio_splicer.cc for (int ch = 0; ch < output_bus->channels(); ++ch) { channels 161 media/base/channel_layout.cc ChannelLayout GuessChannelLayout(int channels) { channels 162 media/base/channel_layout.cc switch (channels) { channels 180 media/base/channel_layout.cc DVLOG(1) << "Unsupported channel count: " << channels; channels 137 media/base/channel_layout.h MEDIA_EXPORT ChannelLayout GuessChannelLayout(int channels); channels 127 media/base/channel_mixer.cc input.channels(), channels 129 media/base/channel_mixer.cc output.channels()); channels 335 media/base/channel_mixer.cc CHECK_EQ(matrix_.size(), static_cast<size_t>(output->channels())); channels 336 media/base/channel_mixer.cc CHECK_EQ(matrix_[0].size(), static_cast<size_t>(input->channels())); channels 344 media/base/channel_mixer.cc for (int output_ch = 0; output_ch < output->channels(); ++output_ch) { channels 345 media/base/channel_mixer.cc for (int input_ch = 0; input_ch < input->channels(); ++input_ch) { channels 358 media/base/channel_mixer.cc for (int output_ch = 0; output_ch < output->channels(); ++output_ch) { channels 359 media/base/channel_mixer.cc for (int input_ch = 0; input_ch < input->channels(); ++input_ch) { channels 45 media/base/channel_mixer_unittest.cc for (int ch = 0; ch < input_bus->channels(); ++ch) channels 129 media/base/channel_mixer_unittest.cc ASSERT_EQ(input_bus->channels(), GetParam().num_channel_values); channels 133 media/base/channel_mixer_unittest.cc for (int ch = 0; ch < input_bus->channels(); ++ch) { channels 144 media/base/channel_mixer_unittest.cc for (int ch = 0; ch < output_bus->channels(); ++ch) { channels 153 media/base/channel_mixer_unittest.cc for (int ch = 0; ch < output_bus->channels(); ++ch) { channels 37 media/base/fake_audio_render_callback.cc for (int i = 1; i < audio_bus->channels(); ++i) channels 14 media/base/multi_channel_resampler.cc MultiChannelResampler::MultiChannelResampler(int channels, channels 19 media/base/multi_channel_resampler.cc wrapped_resampler_audio_bus_(AudioBus::CreateWrapper(channels)), channels 22 media/base/multi_channel_resampler.cc resamplers_.reserve(channels); channels 23 media/base/multi_channel_resampler.cc for (int i = 0; i < channels; ++i) { channels 34 media/base/multi_channel_resampler.cc if (channels > 1) { channels 35 media/base/multi_channel_resampler.cc resampler_audio_bus_ = AudioBus::Create(channels - 1, request_size); channels 36 media/base/multi_channel_resampler.cc for (int i = 0; i < resampler_audio_bus_->channels(); ++i) { channels 46 media/base/multi_channel_resampler.cc DCHECK_EQ(static_cast<size_t>(audio_bus->channels()), resamplers_.size()); channels 49 media/base/multi_channel_resampler.cc if (audio_bus->channels() == 1) { channels 32 media/base/multi_channel_resampler.h MultiChannelResampler(int channels, channels 45 media/base/multi_channel_resampler_unittest.cc void InitializeAudioData(int channels, int frames) { channels 47 media/base/multi_channel_resampler_unittest.cc audio_bus_ = AudioBus::Create(channels, frames); channels 57 media/base/multi_channel_resampler_unittest.cc EXPECT_EQ(audio_bus->channels(), audio_bus_->channels()); channels 58 media/base/multi_channel_resampler_unittest.cc for (int i = 0; i < audio_bus->channels(); ++i) channels 63 media/base/multi_channel_resampler_unittest.cc void MultiChannelTest(int channels, int frames, double expected_max_rms_error, channels 65 media/base/multi_channel_resampler_unittest.cc InitializeAudioData(channels, frames); channels 67 media/base/multi_channel_resampler_unittest.cc channels, kScaleFactor, SincResampler::kDefaultRequestSize, base::Bind( channels 85 media/base/multi_channel_resampler_unittest.cc void HighLatencyTest(int channels) { channels 86 media/base/multi_channel_resampler_unittest.cc MultiChannelTest(channels, kHighLatencySize, kHighLatencyMaxRMSError, channels 90 media/base/multi_channel_resampler_unittest.cc void LowLatencyTest(int channels) { channels 91 media/base/multi_channel_resampler_unittest.cc MultiChannelTest(channels, kLowLatencySize, kLowLatencyMaxRMSError, channels 99 media/base/multi_channel_resampler_unittest.cc for (int i = 0; i < audio_bus_->channels(); ++i) { channels 111 media/base/multi_channel_resampler_unittest.cc sum_of_squares / (frames_ * audio_bus_->channels())); channels 161 media/base/test_helpers.cc int channels = ChannelLayoutToChannelCount(channel_layout); channels 185 media/base/test_helpers.cc output->channel_data().size() == 1 ? frames * channels : frames; channels 219 media/cast/audio_receiver/audio_decoder.cc audio_config.channels, channels 224 media/cast/audio_receiver/audio_decoder.cc audio_config.channels, channels 44 media/cast/audio_receiver/audio_decoder_unittest.cc decoder_config.channels = GetParam().num_channels; channels 89 media/cast/audio_receiver/audio_decoder_unittest.cc const int num_elements = audio_bus->channels() * audio_bus->frames(); channels 165 media/cast/audio_receiver/audio_decoder_unittest.cc for (int ch = 0; ch < audio_bus->channels(); ++ch) { channels 65 media/cast/audio_receiver/audio_receiver_unittest.cc audio_config_.channels = 1; channels 82 media/cast/audio_sender/audio_encoder.cc DCHECK_EQ(audio_bus->channels(), num_channels_); channels 225 media/cast/audio_sender/audio_encoder.cc for (int ch = 0; ch < audio_bus->channels(); ++ch) { channels 329 media/cast/audio_sender/audio_encoder.cc audio_config.channels, channels 336 media/cast/audio_sender/audio_encoder.cc audio_config.channels, channels 135 media/cast/audio_sender/audio_encoder_unittest.cc audio_config.channels = 2; channels 140 media/cast/audio_sender/audio_encoder_unittest.cc new TestAudioBusFactory(audio_config.channels, channels 67 media/cast/audio_sender/audio_sender_unittest.cc audio_config_.channels = 2; channels 73 media/cast/audio_sender/audio_sender_unittest.cc transport_config.channels = 2; channels 109 media/cast/audio_sender/audio_sender_unittest.cc TestAudioBusFactory(audio_config_.channels, channels 125 media/cast/audio_sender/audio_sender_unittest.cc TestAudioBusFactory(audio_config_.channels, channels 31 media/cast/cast_config.cc channels(0), channels 44 media/cast/cast_config.h int channels; channels 93 media/cast/cast_config.h int channels; channels 132 media/cast/cast_config.h int channels; // Samples in interleaved stereo format. L0, R0, L1 ,R1 ,... channels 19 media/cast/rtp_receiver/rtp_parser/include/mock/mock_rtp_feedback.h const uint8 channels, channels 27 media/cast/rtp_receiver/rtp_receiver.cc config.audio_channels = audio_config->channels; channels 235 media/cast/test/end2end_unittest.cc AudioBus::Create(audio_bus.channels(), audio_bus.frames()).Pass(); channels 257 media/cast/test/end2end_unittest.cc EXPECT_EQ(audio_bus->channels(), kAudioChannels); channels 259 media/cast/test/end2end_unittest.cc for (int ch = 0; ch < audio_bus->channels(); ++ch) { channels 293 media/cast/test/end2end_unittest.cc ASSERT_EQ(expected_audio_frame.audio_bus->channels() * channels 301 media/cast/test/end2end_unittest.cc AudioBus::Create(expected_audio_frame.audio_bus->channels(), channels 434 media/cast/test/end2end_unittest.cc audio_sender_config_.channels = kAudioChannels; channels 445 media/cast/test/end2end_unittest.cc audio_receiver_config_.channels = kAudioChannels; channels 480 media/cast/test/end2end_unittest.cc transport_audio_config_.channels = audio_sender_config_.channels; channels 560 media/cast/test/end2end_unittest.cc new TestAudioBusFactory(audio_sender_config_.channels, channels 165 media/cast/test/sender.cc audio_config.channels = kAudioChannels; channels 47 media/cast/test/utility/audio_utility.cc audio_frame->channels = audio_bus.channels(); channels 49 media/cast/test/utility/audio_utility.cc audio_frame->samples.resize(audio_bus.channels() * audio_bus.frames()); channels 36 media/cast/test/utility/default_config.cc config.channels = 2; channels 111 media/cast/test/utility/in_process_receiver.cc pcm_frame->channels = audio_frame->channels(); channels 113 media/cast/test/utility/in_process_receiver.cc pcm_frame->samples.resize(audio_frame->channels() * audio_frame->frames()); channels 64 media/cast/transport/cast_transport_config.h int channels; channels 47 media/cast/transport/rtp_sender/rtp_packetizer/rtp_packetizer.h uint8 channels; channels 66 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc codec_context->channels = config.channel_count; channels 118 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc decoded_audio_size / av_frame.channels; channels 119 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc for (int i = 0; i < av_frame.channels; ++i) { channels 185 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc bytes_per_frame_ = codec_context_->channels * config.bits_per_channel / 8; channels 191 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc channels_ = codec_context_->channels; channels 316 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc av_frame_->channels != channels_ || channels 321 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc << ", Channels: " << av_frame_->channels << " vs " channels 329 media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc NULL, codec_context_->channels, av_frame_->nb_samples, channels 285 media/ffmpeg/ffmpeg_common.cc codec_context->channel_layout, codec_context->channels); channels 344 media/ffmpeg/ffmpeg_common.cc codec_context->channels = channels 456 media/ffmpeg/ffmpeg_common.cc ChannelLayout ChannelLayoutToChromeChannelLayout(int64_t layout, int channels) { channels 517 media/ffmpeg/ffmpeg_common.cc return GuessChannelLayout(channels); channels 101 media/ffmpeg/ffmpeg_common.h int channels); channels 90 media/filters/audio_file_reader.cc codec_context_->channel_layout, codec_context_->channels) == channels 96 media/filters/audio_file_reader.cc channels_ = codec_context_->channels; channels 114 media/filters/audio_file_reader.cc DCHECK_EQ(audio_bus->channels(), channels()); channels 115 media/filters/audio_file_reader.cc if (audio_bus->channels() != channels()) channels 169 media/filters/audio_file_reader.cc int channels = av_get_channel_layout_nb_channels( channels 172 media/filters/audio_file_reader.cc int channels = av_frame->channels; channels 175 media/filters/audio_file_reader.cc channels != channels_ || channels 180 media/filters/audio_file_reader.cc << ", Channels: " << channels << " vs " channels 201 media/filters/audio_file_reader.cc int channels = audio_bus->channels(); channels 202 media/filters/audio_file_reader.cc for (int ch = 0; ch < channels; ++ch) { channels 205 media/filters/audio_file_reader.cc ++i, offset += channels) { channels 210 media/filters/audio_file_reader.cc for (int ch = 0; ch < audio_bus->channels(); ++ch) { channels 46 media/filters/audio_file_reader.h int channels() const { return channels_; } channels 33 media/filters/audio_file_reader_unittest.cc reader_->channels(), reader_->GetNumberOfFrames()); channels 43 media/filters/audio_file_reader_unittest.cc void RunTest(const char* fn, const char* hash, int channels, int sample_rate, channels 47 media/filters/audio_file_reader_unittest.cc EXPECT_EQ(channels, reader_->channels()); channels 64 media/filters/audio_file_reader_unittest.cc reader_->channels(), reader_->GetNumberOfFrames()); channels 90 media/filters/audio_renderer_algorithm.cc channels_ = params.channels(); channels 144 media/filters/audio_renderer_algorithm.cc DCHECK_EQ(channels_, dest->channels()); channels 100 media/filters/decrypting_audio_decoder_unittest.cc int channels = ChannelLayoutToChannelCount(config.channel_layout()); channels 101 media/filters/decrypting_audio_decoder_unittest.cc if (channels < 0) channels 102 media/filters/decrypting_audio_decoder_unittest.cc channels = 0; channels 104 media/filters/decrypting_audio_decoder_unittest.cc channels, channels 39 media/filters/ffmpeg_audio_decoder.cc return frame->channels; channels 62 media/filters/ffmpeg_audio_decoder.cc int channels = DetermineChannels(frame); channels 63 media/filters/ffmpeg_audio_decoder.cc if (channels <= 0 || channels >= limits::kMaxChannels) { channels 64 media/filters/ffmpeg_audio_decoder.cc DLOG(ERROR) << "Requested number of channels (" << channels channels 73 media/filters/ffmpeg_audio_decoder.cc if (s->channels != channels) { channels 83 media/filters/ffmpeg_audio_decoder.cc channels, channels 90 media/filters/ffmpeg_audio_decoder.cc int frames_required = buffer_size_in_bytes / bytes_per_channel / channels; channels 94 media/filters/ffmpeg_audio_decoder.cc ChannelLayoutToChromeChannelLayout(s->channel_layout, s->channels), channels 95 media/filters/ffmpeg_audio_decoder.cc channels, channels 374 media/filters/ffmpeg_audio_decoder.cc int channels = DetermineChannels(av_frame_.get()); channels 377 media/filters/ffmpeg_audio_decoder.cc channels != ChannelLayoutToChannelCount(config_.channel_layout()) || channels 382 media/filters/ffmpeg_audio_decoder.cc << ", Channels: " << channels << " vs " channels 489 media/filters/ffmpeg_audio_decoder.cc if (codec_context_->channels != channels 494 media/filters/ffmpeg_audio_decoder.cc << codec_context_->channels << " channels"; channels 704 media/filters/ffmpeg_demuxer.cc audio_codec->channels); channels 176 media/filters/opus_audio_decoder.cc : channels(0), channels 186 media/filters/opus_audio_decoder.cc int channels; channels 206 media/filters/opus_audio_decoder.cc extra_data->channels = *(data + kOpusExtraDataChannelsOffset); channels 208 media/filters/opus_audio_decoder.cc if (extra_data->channels <= 0 || extra_data->channels > kMaxVorbisChannels) { channels 210 media/filters/opus_audio_decoder.cc << extra_data->channels; channels 222 media/filters/opus_audio_decoder.cc if (extra_data->channels > kMaxChannelsWithDefaultLayout) { channels 233 media/filters/opus_audio_decoder.cc if (data_size < kOpusExtraDataStreamMapOffset + extra_data->channels) { channels 235 media/filters/opus_audio_decoder.cc << "count: " << extra_data->channels; channels 242 media/filters/opus_audio_decoder.cc if (extra_data->num_streams + extra_data->num_coupled != extra_data->channels) channels 245 media/filters/opus_audio_decoder.cc for (int i = 0; i < extra_data->channels; ++i) channels 29 media/filters/wsola_internals.cc int channels) { channels 32 media/filters/wsola_internals.cc for (int n = 0; n < channels; ++n) { channels 45 media/filters/wsola_internals.cc DCHECK_EQ(a->channels(), b->channels()); channels 51 media/filters/wsola_internals.cc memset(dot_product, 0, sizeof(*dot_product) * a->channels()); channels 52 media/filters/wsola_internals.cc for (int k = 0; k < a->channels(); ++k) { channels 65 media/filters/wsola_internals.cc int channels = input->channels(); channels 67 media/filters/wsola_internals.cc for (int k = 0; k < input->channels(); ++k) { channels 80 media/filters/wsola_internals.cc energy[k + n * channels] = energy[k + (n - 1) * channels] - *slide_out * channels 114 media/filters/wsola_internals.cc int channels = search_segment->channels(); channels 117 media/filters/wsola_internals.cc scoped_ptr<float[]> dot_prod(new float[channels]); channels 125 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); channels 140 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); channels 155 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); channels 193 media/filters/wsola_internals.cc int channels = search_block->channels(); channels 195 media/filters/wsola_internals.cc scoped_ptr<float[]> dot_prod(new float[channels]); channels 209 media/filters/wsola_internals.cc &energy_candidate_blocks[n * channels], channels); channels 223 media/filters/wsola_internals.cc int channels = search_block->channels(); channels 224 media/filters/wsola_internals.cc DCHECK_EQ(channels, target_block->channels()); channels 236 media/filters/wsola_internals.cc scoped_ptr<float[]> energy_target_block(new float[channels]); channels 238 media/filters/wsola_internals.cc new float[channels * num_candidate_blocks]); channels 168 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc uint32_t channels = buffer.GetNumberOfChannels(); channels 169 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc uint32_t samples = buffer.GetNumberOfSamples() / channels; channels 171 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc if (channel_count_ != channels || sample_count_ != samples) { channels 172 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc channel_count_ = channels; channels 34 native_client_sdk/src/examples/demo/flock/flock.cc int channels; channels 112 native_client_sdk/src/examples/demo/flock/flock.cc len = fmt.width * fmt.height * fmt.channels; channels 9 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequest.java import java.nio.channels.WritableByteChannel; channels 10 net/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestFactory.java import java.nio.channels.WritableByteChannel; channels 9 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java import java.nio.channels.ClosedChannelException; channels 10 net/cronet/android/java/src/org/chromium/net/ChunkedWritableByteChannel.java import java.nio.channels.WritableByteChannel; channels 19 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java import java.nio.channels.ReadableByteChannel; channels 20 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java import java.nio.channels.WritableByteChannel; channels 9 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequestFactory.java import java.nio.channels.WritableByteChannel; channels 9 net/cronet/android/java/src/org/chromium/net/HttpUrlRequest.java import java.nio.channels.ReadableByteChannel; channels 11 net/cronet/android/java/src/org/chromium/net/HttpUrlRequestFactory.java import java.nio.channels.WritableByteChannel; channels 16 net/cronet/android/java/src/org/chromium/net/UrlRequest.java import java.nio.channels.ReadableByteChannel; channels 17 net/cronet/android/java/src/org/chromium/net/UrlRequest.java import java.nio.channels.WritableByteChannel; channels 15 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/ChunkedWritableByteChannelTest.java import java.nio.channels.ClosedChannelException; channels 26 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import java.nio.channels.Channels; channels 27 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import java.nio.channels.ReadableByteChannel; channels 28 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java import java.nio.channels.WritableByteChannel; channels 165 ppapi/examples/media_stream_audio/media_stream_audio.cc uint32_t channels = buffer.GetNumberOfChannels(); channels 166 ppapi/examples/media_stream_audio/media_stream_audio.cc uint32_t samples = buffer.GetNumberOfSamples() / channels; channels 168 ppapi/examples/media_stream_audio/media_stream_audio.cc if (channel_count_ != channels || sample_count_ != samples) { channels 169 ppapi/examples/media_stream_audio/media_stream_audio.cc channel_count_ = channels; channels 122 ppapi/shared_impl/ppb_audio_shared.cc client_buffer_size_bytes_ = audio_bus_->frames() * audio_bus_->channels() * channels 39 remoting/client/audio_player.cc DCHECK_EQ(static_cast<int>(kChannels), packet->channels()); channels 55 remoting/codec/audio_decoder_opus.cc if (packet->channels() != channels_ || channels 59 remoting/codec/audio_decoder_opus.cc channels_ = packet->channels(); channels 100 remoting/codec/audio_decoder_opus.cc decoded_packet->set_channels(packet->channels()); channels 127 remoting/codec/audio_decoder_opus.cc buffer_pos += result * packet->channels() * channels 25 remoting/codec/audio_decoder_verbatim.cc (packet->channels() != AudioPacket::CHANNELS_STEREO) || channels 103 remoting/codec/audio_encoder_opus.cc if (packet->channels() != channels_ || channels 107 remoting/codec/audio_encoder_opus.cc channels_ = packet->channels(); channels 22 remoting/codec/audio_encoder_verbatim.cc DCHECK_NE(AudioPacket::CHANNELS_INVALID, packet->channels()); channels 30 remoting/host/audio_silence_detector.cc void AudioSilenceDetector::Reset(int sampling_rate, int channels) { channels 34 remoting/host/audio_silence_detector.cc sampling_rate * channels * kSilencePeriodThresholdSeconds; channels 21 remoting/host/audio_silence_detector.h void Reset(int sampling_rate, int channels); channels 22 sandbox/win/src/ipc_unittest.cc total_shared_size -= offsetof(IPCControl, channels); channels 27 sandbox/win/src/ipc_unittest.cc offsetof(IPCControl, channels); channels 43 sandbox/win/src/ipc_unittest.cc ChannelControl& channel = client_control->channels[ix]; channels 57 sandbox/win/src/ipc_unittest.cc ChannelControl& channel = client_control->channels[ix]; channels 92 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(mem + client_control->channels[0].channel_base == buff0); channels 93 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 94 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[1].state); channels 95 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[2].state); channels 96 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[3].state); channels 97 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[4].state); channels 98 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[5].state); channels 101 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(mem + client_control->channels[1].channel_base == buff1); channels 102 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 103 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[1].state); channels 104 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[2].state); channels 105 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[3].state); channels 106 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[4].state); channels 107 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[5].state); channels 110 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(mem + client_control->channels[2].channel_base == buff2); channels 111 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 112 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[1].state); channels 113 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[2].state); channels 114 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[3].state); channels 115 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[4].state); channels 116 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[5].state); channels 120 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 121 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[1].state); channels 122 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[2].state); channels 123 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[3].state); channels 124 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[4].state); channels 125 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[5].state); channels 128 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(mem + client_control->channels[1].channel_base == buff2b); channels 129 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 130 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[1].state); channels 131 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[2].state); channels 132 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[3].state); channels 133 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[4].state); channels 134 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[5].state); channels 137 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[0].state); channels 138 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[1].state); channels 139 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[2].state); channels 140 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[3].state); channels 141 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[4].state); channels 142 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[5].state); channels 421 sandbox/win/src/ipc_unittest.cc events.ping = client_control->channels[1].ping_event; channels 422 sandbox/win/src/ipc_unittest.cc events.pong = client_control->channels[1].pong_event; channels 423 sandbox/win/src/ipc_unittest.cc events.state = &client_control->channels[1].state; channels 430 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(mem + client_control->channels[0].channel_base == buff0); channels 431 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 432 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[1].state); channels 433 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[2].state); channels 436 sandbox/win/src/ipc_unittest.cc EXPECT_TRUE(mem + client_control->channels[1].channel_base == buff1); channels 437 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 438 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[1].state); channels 439 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[2].state); channels 441 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(0, client_control->channels[1].ipc_tag); channels 453 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(tag, client_control->channels[1].ipc_tag); channels 454 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kBusyChannel, client_control->channels[0].state); channels 455 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[1].state); channels 456 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[2].state); channels 463 sandbox/win/src/ipc_unittest.cc events.ping = client_control->channels[0].ping_event; channels 464 sandbox/win/src/ipc_unittest.cc events.pong = client_control->channels[0].pong_event; channels 465 sandbox/win/src/ipc_unittest.cc events.state = &client_control->channels[0].state; channels 476 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(tag, client_control->channels[0].ipc_tag); channels 477 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[0].state); channels 478 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[1].state); channels 479 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[2].state); channels 523 sandbox/win/src/ipc_unittest.cc events.ping = client_control->channels[0].ping_event; channels 524 sandbox/win/src/ipc_unittest.cc events.pong = client_control->channels[0].pong_event; channels 525 sandbox/win/src/ipc_unittest.cc events.state = &client_control->channels[0].state; channels 552 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(tag, client_control->channels[0].ipc_tag); channels 553 sandbox/win/src/ipc_unittest.cc EXPECT_EQ(kFreeChannel, client_control->channels[0].state); channels 24 sandbox/win/src/sharedmem_ipc_client.cc control_->channels[ix].channel_base; channels 32 sandbox/win/src/sharedmem_ipc_client.cc ChannelControl* channel = control_->channels; channels 44 sandbox/win/src/sharedmem_ipc_client.cc control_->channels[0].channel_base; channels 58 sandbox/win/src/sharedmem_ipc_client.cc ChannelControl* channel = control_->channels; channels 122 sandbox/win/src/sharedmem_ipc_client.cc ChannelControl* channel = control_->channels; channels 93 sandbox/win/src/sharedmem_ipc_client.h ChannelControl channels[1]; channels 76 sandbox/win/src/sharedmem_ipc_server.cc shared_size -= offsetof(IPCControl, channels); channels 85 sandbox/win/src/sharedmem_ipc_server.cc offsetof(IPCControl, channels); channels 97 sandbox/win/src/sharedmem_ipc_server.cc ChannelControl* client_context = &client_control_->channels[ix]; channels 830 third_party/libpng/png.h png_byte channels PNG_DEPSTRUCT; /* number of data channels per pixel (1, 2, 3, 4) */ channels 1161 third_party/libpng/png.h png_byte channels; /* number of channels (1, 2, 3, or 4) */ channels 1326 third_party/libpng/png.h png_byte channels PNG_DEPSTRUCT; /* number of channels in file */ channels 375 third_party/libpng/pngget.c return(info_ptr->channels); channels 937 third_party/libpng/pngpread.c png_ptr->row_info.channels = png_ptr->channels; channels 771 third_party/libpng/pngread.c png_ptr->row_info.channels = png_ptr->channels; channels 1285 third_party/libpng/pngrtran.c info_ptr->channels = 1; channels 1287 third_party/libpng/pngrtran.c info_ptr->channels = 3; channels 1289 third_party/libpng/pngrtran.c info_ptr->channels = 1; channels 1297 third_party/libpng/pngrtran.c info_ptr->channels++; channels 1305 third_party/libpng/pngrtran.c info_ptr->channels++; channels 1320 third_party/libpng/pngrtran.c if (info_ptr->channels < png_ptr->user_transform_channels) channels 1321 third_party/libpng/pngrtran.c info_ptr->channels = png_ptr->user_transform_channels; channels 1325 third_party/libpng/pngrtran.c info_ptr->pixel_depth = (png_byte)(info_ptr->channels * channels 1573 third_party/libpng/pngrtran.c png_ptr->row_info.channels = png_ptr->user_transform_channels; channels 1576 third_party/libpng/pngrtran.c png_ptr->row_info.channels); channels 1672 third_party/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(8 * row_info->channels); channels 1673 third_party/libpng/pngrtran.c row_info->rowbytes = row_width * row_info->channels; channels 1696 third_party/libpng/pngrtran.c int channels = 0; channels 1703 third_party/libpng/pngrtran.c shift[channels++] = row_info->bit_depth - sig_bits->red; channels 1704 third_party/libpng/pngrtran.c shift[channels++] = row_info->bit_depth - sig_bits->green; channels 1705 third_party/libpng/pngrtran.c shift[channels++] = row_info->bit_depth - sig_bits->blue; channels 1709 third_party/libpng/pngrtran.c shift[channels++] = row_info->bit_depth - sig_bits->gray; channels 1713 third_party/libpng/pngrtran.c shift[channels++] = row_info->bit_depth - sig_bits->alpha; channels 1716 third_party/libpng/pngrtran.c for (c = 0; c < channels; c++) channels 1763 third_party/libpng/pngrtran.c png_uint_32 istop = row_width * channels; channels 1767 third_party/libpng/pngrtran.c *bp++ >>= shift[i%channels]; channels 1776 third_party/libpng/pngrtran.c png_uint_32 istop = channels * row_width; channels 1781 third_party/libpng/pngrtran.c value >>= shift[i%channels]; channels 1808 third_party/libpng/pngrtran.c png_uint_32 istop = row_info->width * row_info->channels; channels 1845 third_party/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(8 * row_info->channels); channels 1846 third_party/libpng/pngrtran.c row_info->rowbytes = row_info->width * row_info->channels; channels 2076 third_party/libpng/pngrtran.c row_info->channels = 2; channels 2090 third_party/libpng/pngrtran.c row_info->channels = 2; channels 2111 third_party/libpng/pngrtran.c row_info->channels = 2; channels 2127 third_party/libpng/pngrtran.c row_info->channels = 2; channels 2150 third_party/libpng/pngrtran.c row_info->channels = 4; channels 2166 third_party/libpng/pngrtran.c row_info->channels = 4; channels 2191 third_party/libpng/pngrtran.c row_info->channels = 4; channels 2211 third_party/libpng/pngrtran.c row_info->channels = 4; channels 2295 third_party/libpng/pngrtran.c row_info->channels += (png_byte)2; channels 2297 third_party/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(row_info->channels * channels 2553 third_party/libpng/pngrtran.c row_info->channels -= (png_byte)2; channels 2555 third_party/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(row_info->channels * channels 3488 third_party/libpng/pngrtran.c row_info->channels--; channels 3489 third_party/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(row_info->channels * channels 3810 third_party/libpng/pngrtran.c row_info->channels = 4; channels 3829 third_party/libpng/pngrtran.c row_info->channels = 3; channels 3982 third_party/libpng/pngrtran.c row_info->channels = 2; channels 4044 third_party/libpng/pngrtran.c row_info->channels = 4; channels 4098 third_party/libpng/pngrtran.c row_info->channels = 1; channels 4127 third_party/libpng/pngrtran.c row_info->channels = 1; channels 486 third_party/libpng/pngrutil.c png_ptr->channels = 1; channels 490 third_party/libpng/pngrutil.c png_ptr->channels = 3; channels 494 third_party/libpng/pngrutil.c png_ptr->channels = 2; channels 498 third_party/libpng/pngrutil.c png_ptr->channels = 4; channels 504 third_party/libpng/pngrutil.c png_ptr->channels); channels 507 third_party/libpng/pngrutil.c png_debug1(3, "channels = %d", png_ptr->channels); channels 792 third_party/libpng/pngrutil.c truelen = (png_size_t)png_ptr->channels; channels 250 third_party/libpng/pngset.c info_ptr->channels = 1; channels 252 third_party/libpng/pngset.c info_ptr->channels = 3; channels 254 third_party/libpng/pngset.c info_ptr->channels = 1; channels 256 third_party/libpng/pngset.c info_ptr->channels++; channels 257 third_party/libpng/pngset.c info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); channels 273 third_party/libpng/pngtrans.c png_uint_32 istop= row_info->width * row_info->channels; channels 442 third_party/libpng/pngtrans.c row_info->channels == 4) channels 518 third_party/libpng/pngtrans.c row_info->channels = 3; channels 523 third_party/libpng/pngtrans.c row_info->channels == 2) channels 574 third_party/libpng/pngtrans.c row_info->channels = 1; channels 906 third_party/libpng/pngwrite.c png_ptr->row_info.channels = png_ptr->usr_channels; channels 909 third_party/libpng/pngwrite.c png_ptr->row_info.channels); channels 916 third_party/libpng/pngwrite.c png_debug1(3, "row_info->channels = %d", png_ptr->row_info.channels); channels 100 third_party/libpng/pngwtran.c row_info->channels == 1) channels 203 third_party/libpng/pngwtran.c row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); channels 231 third_party/libpng/pngwtran.c int channels = 0; channels 235 third_party/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->red; channels 236 third_party/libpng/pngwtran.c shift_dec[channels] = bit_depth->red; channels 237 third_party/libpng/pngwtran.c channels++; channels 238 third_party/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->green; channels 239 third_party/libpng/pngwtran.c shift_dec[channels] = bit_depth->green; channels 240 third_party/libpng/pngwtran.c channels++; channels 241 third_party/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->blue; channels 242 third_party/libpng/pngwtran.c shift_dec[channels] = bit_depth->blue; channels 243 third_party/libpng/pngwtran.c channels++; channels 247 third_party/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->gray; channels 248 third_party/libpng/pngwtran.c shift_dec[channels] = bit_depth->gray; channels 249 third_party/libpng/pngwtran.c channels++; channels 253 third_party/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->alpha; channels 254 third_party/libpng/pngwtran.c shift_dec[channels] = bit_depth->alpha; channels 255 third_party/libpng/pngwtran.c channels++; channels 293 third_party/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; channels 300 third_party/libpng/pngwtran.c int c = (int)(i%channels); channels 317 third_party/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; channels 321 third_party/libpng/pngwtran.c int c = (int)(i%channels); channels 415 third_party/libpng/pngwutil.c case 16: png_ptr->channels = 1; break; channels 423 third_party/libpng/pngwutil.c png_ptr->channels = 3; channels 431 third_party/libpng/pngwutil.c case 8: png_ptr->channels = 1; break; channels 438 third_party/libpng/pngwutil.c png_ptr->channels = 2; channels 443 third_party/libpng/pngwutil.c png_ptr->channels = 4; channels 500 third_party/libpng/pngwutil.c png_ptr->pixel_depth = (png_byte)(bit_depth * png_ptr->channels); channels 505 third_party/libpng/pngwutil.c png_ptr->usr_channels = png_ptr->channels; channels 666 third_party/libpng/pngwutil.c png_ptr->channels * png_ptr->bit_depth + 15) >> 3); channels 150 tools/imagediff/image_diff_png.cc int filter_type, channels; channels 203 tools/imagediff/image_diff_png.cc channels = png_get_channels(png_ptr, info_ptr); channels 206 tools/imagediff/image_diff_png.cc if (channels == 3) { channels 224 tools/imagediff/image_diff_png.cc } else if (channels == 4) { channels 839 tools/ipc_fuzzer/mutate/generate.cc int channels; channels 849 tools/ipc_fuzzer/mutate/generate.cc if (!GenerateParam(&channels, generator)) channels 864 tools/ipc_fuzzer/mutate/generate.cc channels, input_channels, sample_rate, channels 141 ui/gfx/codec/png_codec.cc const int channels = row_info->channels; channels 142 ui/gfx/codec/png_codec.cc DCHECK_EQ(channels, 4); channels 149 ui/gfx/codec/png_codec.cc for (unsigned char* p = data; p < end; p += channels) { channels 151 ui/gfx/codec/png_codec.cc const unsigned char alpha = p[channels - 1];