/external/chromium_org/media/base/ |
H A D | audio_hash_unittest.cc | 29 // 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 D | audio_pull_fifo.h | 29 // FIFO can contain |channel| number of channels, where each channel is of 31 AudioPullFifo(int channels, int frames, const ReadCB& read_cb);
|
H A D | multi_channel_resampler.h | 19 // high quality sample rate conversion of multiple channels at once. 32 MultiChannelResampler(int channels,
|
/external/libvorbis/lib/ |
H A D | mapping0.c | 81 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 D | tinycap.c | 62 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 D | grfmt_pxm.cpp | 381 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 D | grfmt_imageio.h | 41 int width, int height, int depth, int channels );
|
/external/speex/libspeex/ |
H A D | scal.c | 59 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 D | u_format_table.py | 111 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 D | PCMFile.cc | 117 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 D | opus_test.h | 34 void Run(TestPackStereo* channel, int channels, int bitrate, int frame_length,
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_table.py | 111 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 D | SDL_irixaudio.c | 190 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 D | bitmap_image.h | 25 uint8 channels() const;
|
/external/chromium_org/content/common/media/ |
H A D | media_param_traits.cc | 26 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 D | webaudio_capturer_source.cc | 55 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 D | simple_sources.h | 18 // |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 D | mock_rtp_feedback.h | 19 const uint8 channels,
|
/external/chromium_org/media/cast/receiver/ |
H A D | audio_decoder.h | 30 int channels,
|
/external/chromium_org/media/cast/test/utility/ |
H A D | default_config.cc | 35 config.channels = 2; 48 config.channels = 1; 62 config.channels = recv_config.channels;
|
/external/chromium_org/remoting/codec/ |
H A D | audio_decoder_opus.cc | 55 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 D | audio_decoder_verbatim.cc | 25 (packet->channels() != AudioPacket::CHANNELS_STEREO) ||
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebDOMMessageEvent.h | 50 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 D | common.h | 37 // 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 D | SDL_wave.h | 49 Uint16 channels; /* 1 = mono, 2 = stereo */ member in struct:WaveFMT
|