Searched refs:channels (Results 101 - 125 of 710) sorted by relevance

1234567891011>>

/external/chromium_org/media/base/
H A Daudio_hash_unittest.cc29 // Use an AudioBus wrapper to avoid an extra memcpy when filling channels.
35 for (int ch = 0; ch < audio_bus->channels(); ++ch) {
82 const int channels = bus_one_->channels(); local
83 scoped_ptr<AudioBus> swapped_ch_bus = AudioBus::CreateWrapper(channels);
85 for (int i = channels - 1; i >= 0; --i)
86 swapped_ch_bus->SetChannelData(channels - (i + 1), bus_one_->channel(i));
133 const int channels = bus_one_->channels(); local
134 scoped_ptr<AudioBus> half_bus = AudioBus::CreateWrapper(channels);
[all...]
H A Daudio_pull_fifo.h29 // FIFO can contain |channel| number of channels, where each channel is of
31 AudioPullFifo(int channels, int frames, const ReadCB& read_cb);
H A Dmulti_channel_resampler.h19 // high quality sample rate conversion of multiple channels at once.
32 MultiChannelResampler(int channels,
/external/libvorbis/lib/
H A Dmapping0.c81 oggpack_write(opb,info->coupling_mag[i],ilog(vi->channels));
82 oggpack_write(opb,info->coupling_ang[i],ilog(vi->channels));
91 for(i=0;i<vi->channels;i++)
122 int testM=info->coupling_mag[i]=oggpack_read(opb,ilog(vi->channels));
123 int testA=info->coupling_ang[i]=oggpack_read(opb,ilog(vi->channels));
128 testM>=vi->channels ||
129 testA>=vi->channels) goto err_out;
137 for(i=0;i<vi->channels;i++){
247 int *nonzero = alloca(sizeof(*nonzero)*vi->channels);
248 float **gmdct = _vorbis_block_alloc(vb,vi->channels*sizeo
[all...]
/external/tinyalsa/
H A Dtinycap.c62 unsigned int channels, unsigned int rate,
77 unsigned int channels = 2; local
86 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-c channels] "
107 channels = atoi(*argv);
139 header.num_channels = channels;
158 header.byte_rate = (header.bits_per_sample / 8) * channels * rate;
159 header.block_align = channels * (header.bits_per_sample / 8);
184 unsigned int channels, unsigned int rate,
194 config.channels = channels;
183 capture_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, unsigned int rate, enum pcm_format format, unsigned int period_size, unsigned int period_count) argument
[all...]
/external/opencv/otherlibs/highgui/
H A Dgrfmt_pxm.cpp381 int channels = _channels > 1 ? 3 : 1; local
382 int fileStep = width*channels*(depth/8);
394 lineLength = channels * width * depth / 8;
396 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32;
410 '2' + (channels > 1 ? 1 : 0) + (isBinary ? 3 : 0),
434 for( x = 0; x < width*channels*2; x += 2 )
441 m_strm.PutBytes( (channels > 1 || depth > 8) ? buffer : (char*)data, fileStep );
447 if( channels > 1 )
451 for( x = 0; x < width*channels;
[all...]
H A Dgrfmt_imageio.h41 int width, int height, int depth, int channels );
/external/speex/libspeex/
H A Dscal.c59 int channels; member in struct:SpeexDecorrState_
81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) argument
86 st->channels = channels;
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float));
97 st->ringID = speex_alloc(channels*sizeof(int));
98 st->order = speex_alloc(channels*sizeof(int));
99 st->alpha = speex_alloc(channels*sizeof(float));
100 st->ring = speex_alloc(channels*ALLPASS_ORDER*sizeof(float));
108 for (ch=0;ch<channels;c
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_table.py111 channel = format.channels[i]
135 if format.colorspace != ZS and format.channels[0].pure == False:
168 if format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == UNSIGNED:
175 elif format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == SIGNED:
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
H A DPCMFile.cc117 uint16_t channels = 1; local
119 channels = 2;
123 samples_10ms_ * channels, pcm_file_);
124 if (payload_size < samples_10ms_ * channels) {
125 for (int k = payload_size; k < samples_10ms_ * channels; k++) {
137 audio_frame.num_channels_ = channels;
H A Dopus_test.h34 void Run(TestPackStereo* channel, int channels, int bitrate, int frame_length,
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_table.py111 channel = format.channels[i]
135 if format.colorspace != ZS and format.channels[0].pure == False:
168 if format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == UNSIGNED:
175 elif format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == SIGNED:
/external/qemu/distrib/sdl-1.2.15/src/audio/dmedia/
H A DSDL_irixaudio.c190 if (alSetChannels(audio_config, spec->channels) < 0) {
191 if (spec->channels > 2) { /* can't handle > stereo? */
192 spec->channels = 2; /* try again below. */
199 (alSetChannels(audio_config, spec->channels) >= 0)) {
206 spec->channels = 2;
207 alSetChannels(audio_config, spec->channels);
/external/chromium_org/chrome/utility/cloud_print/
H A Dbitmap_image.h25 uint8 channels() const;
/external/chromium_org/content/common/media/
H A Dmedia_param_traits.cc26 m->WriteInt(p.channels());
34 frames_per_buffer, channels, effects; local
41 !m->ReadInt(iter, &channels) ||
46 static_cast<ChannelLayout>(channel_layout), channels,
/external/chromium_org/content/renderer/media/
H A Dwebaudio_capturer_source.cc55 wrapper_bus_ = AudioBus::CreateWrapper(params_.channels());
58 new int16[params_.frames_per_buffer() * params_.channels()]);
60 params_.channels(),
96 // about the channels.
97 DCHECK_EQ(params_.channels(), static_cast<int>(audio_data.size()));
/external/chromium_org/media/audio/
H A Dsimple_sources.h18 // |channels| is the number of audio channels, |freq| is the frequency in
21 SineWaveAudioSource(int channels, double freq, double sample_freq);
/external/chromium_org/media/cast/net/rtp/
H A Dmock_rtp_feedback.h19 const uint8 channels,
/external/chromium_org/media/cast/receiver/
H A Daudio_decoder.h30 int channels,
/external/chromium_org/media/cast/test/utility/
H A Ddefault_config.cc35 config.channels = 2;
48 config.channels = 1;
62 config.channels = recv_config.channels;
/external/chromium_org/remoting/codec/
H A Daudio_decoder_opus.cc55 if (packet->channels() != channels_ ||
59 channels_ = packet->channels();
65 << channels_ << " channels with "
100 decoded_packet->set_channels(packet->channels());
127 buffer_pos += result * packet->channels() *
H A Daudio_decoder_verbatim.cc25 (packet->channels() != AudioPacket::CHANNELS_STEREO) ||
/external/chromium_org/third_party/WebKit/public/web/
H A DWebDOMMessageEvent.h50 BLINK_EXPORT void initMessageEvent(const WebString& type, bool canBubble, bool cancelable, const WebSerializedScriptValue& messageData, const WebString& origin, const WebFrame* sourceFrame, const WebString& lastEventId, const WebMessagePortChannelArray& channels = WebMessagePortChannelArray());
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dcommon.h37 // array of the deinterleaved channels.
58 ChannelBuffer(const T* const* channels, int samples_per_channel, argument
66 CopyFrom(channels[i], i);
89 T* const* channels() { return channels_.get(); } function in class:webrtc::ChannelBuffer
90 const T* const* channels() const { return channels_.get(); } function in class:webrtc::ChannelBuffer
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_wave.h49 Uint16 channels; /* 1 = mono, 2 = stereo */ member in struct:WaveFMT

Completed in 859 milliseconds

1234567891011>>