/external/opencv/otherlibs/highgui/ |
grfmt_pxm.h | 82 int width, int height, int depth, int channels );
|
grfmt_tiff.cpp | 360 int channels = 1; local 460 channels = value; 461 if( channels != 1 && channels != 3 && channels != 4 ) 507 if( photometric == 0 || photometric == 1 && channels == 1 ) 518 m_compression != TIFF_HUFFMAN && channels == 1 ) 532 (channels == 3 || channels == 4) && 535 m_bpp = 8*channels; [all...] |
/external/chromium_org/media/base/ |
audio_bus_unittest.cc | 32 EXPECT_EQ(kChannels, bus->channels()); 45 ASSERT_EQ(expected->channels(), result->channels()); 47 for (int ch = 0; ch < result->channels(); ++ch) { 69 for (int i = 0; i < bus->channels(); ++i) { 75 for (int i = 0; i < bus->channels(); ++i) 79 for (int i = 0; i < bus->channels(); ++i) 86 for (int i = 0; i < bus1->channels(); ++i) 151 for (int i = 0; i < bus->channels(); ++i) 158 EXPECT_LT(bus->channel(bus->channels() - 1) + bus->frames() [all...] |
/external/chromium_org/media/filters/ |
opus_audio_decoder.cc | 33 // mappings for up to 8 channels. This information is part of the Vorbis I 50 // Vorbis channel ordering for streams with >= 2 channels: 51 // 2 Channels 53 // 3 Channels 55 // 4 Channels 57 // 5 Channels 59 // 6 Channels (5.1) 61 // 7 channels (6.1) 63 // 8 Channels (7.1) 78 // 3 Channels, from Vorbis order to 182 int channels; member in struct:media::OpusExtraData [all...] |
audio_file_reader_unittest.cc | 35 AudioBus::Create(reader_->channels(), reader_->GetNumberOfFrames()); 84 int channels, 91 EXPECT_EQ(channels, reader_->channels()); 110 AudioBus::Create(reader_->channels(), reader_->GetNumberOfFrames());
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
acm_codec_database.cc | 205 // Basic block samples, max number of channels that are supported. 500 // Looks for a matching payload name, frequency, and channels in the 502 // entries with different frequencies and/or channels. 507 codec_inst.channels)); 510 int ACMCodecDB::CodecId(const char* payload_name, int frequency, int channels) { 516 // Payload name, sampling frequency and number of channels need to match. 521 // The number of channels must match for all codecs but Opus. 523 channels_match = (channels == database_[id].channels); 525 // For opus we just check that number of channels is valid [all...] |
audio_coding_module_impl.cc | 762 if ((send_codec.channels != 1) && (send_codec.channels != 2)) { 764 "Wrong number of channels (%d, only mono and stereo are " 765 "supported) for %s encoder", send_codec.channels, 796 < send_codec.channels) { 798 "%d number of channels not supportedn for %s.", 799 send_codec.channels, send_codec.plname); 2057 int channels; local 2102 int channels; local [all...] |
/external/chromium_org/components/copresence/mediums/audio/ |
audio_recorder_unittest.cc | 93 void CreateRecorder(size_t channels, 100 channels, 145 expected_samples * sizeof(float) * params_.channels(); 157 const int channels = params_.channels(); local 159 received_samples_.size() / sizeof(float) / params_.channels(); 160 for (int ch = 0; ch < channels; ++ch) { 161 for (int si = 0, di = ch; si < frames; ++si, di += channels)
|
/external/chromium_org/content/renderer/media/ |
peer_connection_audio_sink_owner.cc | 20 const std::vector<int>& channels, 31 channels,
|
media_stream_audio_processor.cc | 59 NOTREACHED() << "Channels not supported: " << num_channels; 88 MediaStreamAudioBus(int channels, int frames) 89 : bus_(media::AudioBus::Create(channels, frames)), 90 channel_ptrs_(new float*[channels]) { 102 for (int i = 0; i < bus_->channels(); ++i) { 119 MediaStreamAudioFifo(int channels, int source_frames, 122 destination_(new MediaStreamAudioBus(channels, destination_frames)), 129 fifo_.reset(new media::AudioFifo(channels, fifo_frames)); 138 DCHECK_EQ(source->channels(), destination_->bus()->channels()); [all...] |
webrtc_local_audio_source_provider_unittest.cc | 30 source_params_.frames_per_buffer() * source_params_.channels(); 71 static_cast<size_t>(sink_bus_->channels())); 83 source_params_.frames_per_buffer() * source_params_.channels(); 89 source_params_.channels(), 109 source_params_.channels(),
|
/external/chromium_org/media/cast/ |
cast_config.h | 54 int channels; member in struct:media::cast::AudioSenderConfig 141 // Number of channels. For audio, this is normally 2. For video, this must 143 int channels; member in struct:media::cast::FrameReceiverConfig
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
sync_buffer.h | 22 SyncBuffer(size_t channels, size_t length) 23 : AudioMultiVector(channels, length),
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/irc/ |
ircbot.py | 40 The bot keeps track of the channels it has joined, the other 41 clients that are present in the channels and which of those that 43 self.channels attribute, which is an IRCDict of Channels. 66 self.channels = IRCDict() 102 self.channels = IRCDict() 111 self.channels[ch] = Channel() 112 self.channels[ch].add_user(nick) 120 del self.channels[channel] 122 self.channels[channel].remove_user(nick [all...] |
/external/chromium_org/chrome/browser/copresence/ |
chrome_whispernet_client_browsertest.cc | 36 buffer.resize(source->frames() * source->channels() * sizeof(float)); 39 const int channels = source->channels(); local 40 for (int ch = 0; ch < channels; ++ch) { 41 for (int si = 0, di = ch; si < source->frames(); ++si, di += channels)
|
/external/libvorbis/examples/ |
decoder_example.c | 193 fprintf(stderr,"\nBitstream is %d channel, %ldHz\n",vi.channels,vi.rate); 197 convsize=4096/vi.channels; 246 for(i=0;i<vi.channels;i++){ 265 ptr+=vi.channels; 273 fwrite(convbuffer,2*vi.channels,bout,stdout);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
EncodeDecodeTest.cc | 55 std::string in_file_name, int sample_rate, int channels) { 64 if (channels == 2) { 85 sendCodec.channels = channels; 127 std::string out_file_name, int channels) { 135 if (recvCodec.channels == channels) 139 recvCodec.channels = channels; 292 } else if (sendCodecTmp.channels == 2) [all...] |
/external/aac/libPCMutils/src/ |
limiter.cpp | 99 unsigned int channels, maxChannels; member in struct:TDLimiter 162 limiter->channels = maxChannels; 190 FDKmemset(limiter->delayBuf, 0, limiter->attack * limiter->channels * sizeof(FIXP_DBL) ); 235 unsigned int channels = limiter->channels; local 278 /* get maximum absolute sample value of all channels, including the additional gain. */ 280 for (j = 0; j < channels; j++) { 281 tmp2 = (FIXP_PCM)samples[i * channels + j]; 349 for (j = 0; j < channels; j++) { 351 tmp = delayBuf[delayBufIdx * channels + j] [all...] |
/external/chromium_org/components/variations/ |
study_filtering_unittest.cc | 34 const Study_Channel channels[] = { local 40 bool channel_added[arraysize(channels)] = { 0 }; 44 // Check in the forwarded order. The loop cond is <= arraysize(channels) 46 for (size_t i = 0; i <= arraysize(channels); ++i) { 47 for (size_t j = 0; j < arraysize(channels); ++j) { 49 const bool result = internal::CheckStudyChannel(filter, channels[j]); 53 if (i < arraysize(channels)) { 54 filter.add_channel(channels[i]); 62 for (size_t i = 0; i <= arraysize(channels); ++i) { 63 for (size_t j = 0; j < arraysize(channels); ++j) [all...] |
/external/flac/libFLAC/ |
md5.c | 277 static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) 285 if(channels == 2 && bytes_per_sample == 2) { 291 else if(channels == 1 && bytes_per_sample == 2) { 299 if(channels == 2) { 309 else if(channels == 1) { 318 for(channel = 0; channel < channels; channel++) { 327 if(channels == 2) { 339 else if(channels == 1) { 349 for(channel = 0; channel < channels; channel++) { 359 if(channels == 2) [all...] |
/external/chromium_org/media/audio/alsa/ |
alsa_util.cc | 17 int channels, 30 SND_PCM_ACCESS_RW_INTERLEAVED, channels, 35 << " Channels: " << channels << " Latency: " << latency_us; 97 int channels, 101 return OpenDevice(wrapper, device_name, SND_PCM_STREAM_CAPTURE, channels, 107 int channels, 111 return OpenDevice(wrapper, device_name, SND_PCM_STREAM_PLAYBACK, channels,
|
/external/chromium_org/media/audio/pulse/ |
pulse_util.cc | 18 pa_channel_position ChromiumToPAChannelPosition(Channels channel) { 86 channel_map.channels = ChannelLayoutToChannelCount(channel_layout); 87 for (Channels ch = LEFT; ch <= CHANNELS_MAX; 88 ch = static_cast<Channels>(ch + 1)) { 152 sample_specifications.channels = params.channels(); 157 pa_channel_map* map = (source_channel_map.channels != 0) ? 251 sample_specifications.channels = params.channels(); 257 if (source_channel_map.channels != 0) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
codec.h | 150 int channels; member in struct:cricket::AudioCodec 156 channels(cs) { 160 AudioCodec() : Codec(), bitrate(0), channels(0) {} 176 channels = c.channels; 188 channels == c.channels &&
|
/external/chromium_org/third_party/opus/src/src/ |
opus_demo.c | 47 fprintf(stderr, "Usage: %s [-e] <application> <sampling rate (Hz)> <channels (1/2)> " 49 fprintf(stderr, " %s -d <sampling rate (Hz)> <channels (1/2)> " 200 static OpusEncoder *ms_opus_encoder_create(opus_int32 Fs, int channels, int application, int *error) 204 return (OpusEncoder *)opus_multistream_surround_encoder_create(Fs, channels, 1, &streams, &coupled_streams, mapping, application, error); 206 static OpusDecoder *ms_opus_decoder_create(opus_int32 Fs, int channels, int *error) 212 coupled_streams = channels==2; 213 return (OpusDecoder *)opus_multistream_decoder_create(Fs, channels, streams, coupled_streams, mapping, error); 226 int frame_size, channels; local 322 channels = atoi(argv[args]); 325 if (channels < 1 || channels > 2 [all...] |
/external/libopus/src/ |
opus_demo.c | 47 fprintf(stderr, "Usage: %s [-e] <application> <sampling rate (Hz)> <channels (1/2)> " 49 fprintf(stderr, " %s -d <sampling rate (Hz)> <channels (1/2)> " 200 static OpusEncoder *ms_opus_encoder_create(opus_int32 Fs, int channels, int application, int *error) 204 return (OpusEncoder *)opus_multistream_surround_encoder_create(Fs, channels, 1, &streams, &coupled_streams, mapping, application, error); 206 static OpusDecoder *ms_opus_decoder_create(opus_int32 Fs, int channels, int *error) 212 coupled_streams = channels==2; 213 return (OpusDecoder *)opus_multistream_decoder_create(Fs, channels, streams, coupled_streams, mapping, error); 226 int frame_size, channels; local 322 channels = atoi(argv[args]); 325 if (channels < 1 || channels > 2 [all...] |