/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
H A D | AudioData.java | 48 protected int channels; field in class:AudioData 82 * @return Number of channels. 1 for mono, 2 for stereo, etc. 85 return channels; 97 * @param channels # of channels, 1 = mono, 2 = stereo 101 public void setupFormat(int channels, int bitsPerSample, int sampleRate){ argument 105 this.channels = channels;
|
/external/bluetooth/bluedroid/embdrv/sbc/encoder/include/ |
H A D | sbc_if.h | 28 channels - 1 mono 2 stereo 33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
|
/external/chromium_org/media/base/ |
H A D | multi_channel_resampler_unittest.cc | 45 void InitializeAudioData(int channels, int frames) { argument 47 audio_bus_ = AudioBus::Create(channels, frames); 57 EXPECT_EQ(audio_bus->channels(), audio_bus_->channels()); 58 for (int i = 0; i < audio_bus->channels(); ++i) 63 void MultiChannelTest(int channels, int frames, double expected_max_rms_error, argument 65 InitializeAudioData(channels, frames); 67 channels, kScaleFactor, SincResampler::kDefaultRequestSize, base::Bind( 85 void HighLatencyTest(int channels) { argument 86 MultiChannelTest(channels, kHighLatencySiz 90 LowLatencyTest(int channels) argument [all...] |
H A D | audio_bus.cc | 23 static int CalculateMemorySizeInternal(int channels, int frames, argument 34 return sizeof(float) * channels * aligned_frames; 47 const int channels = dest->channels(); local 48 for (int ch = 0; ch < channels; ++ch) { 51 ++i, offset += channels) { 67 const int channels = source->channels(); local 68 for (int ch = 0; ch < channels; ++ch) { 71 ++i, offset += channels) { 85 ValidateConfig(size_t channels, int frames) argument 99 AudioBus(int channels, int frames) argument 113 AudioBus(int channels, int frames, float* data) argument 137 AudioBus(int channels) argument 147 Create(int channels, int frames) argument 156 CreateWrapper(int channels) argument 165 WrapMemory(int channels, int frames, void* data) argument 221 CalculateMemorySize(int channels, int frames) argument 225 BuildChannelData(int channels, int aligned_frames, float* data) argument [all...] |
H A D | audio_bus.h | 28 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses 29 // channels() and frames_per_buffer() from AudioParameters if given. 30 static scoped_ptr<AudioBus> Create(int channels, int frames); 33 // Creates a new AudioBus with the given number of channels, but zero length. 36 static scoped_ptr<AudioBus> CreateWrapper(int channels); 47 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data); 53 // Calculates the required size for an AudioBus given the number of channels 55 static int CalculateMemorySize(int channels, int frames); 76 // AudioBus object must have the same frames() and channels(). 80 // objects must have the same number of channels() 95 int channels() const { return static_cast<int>(channel_data_.size()); } function in class:media::AudioBus [all...] |
H A D | multi_channel_resampler.cc | 14 MultiChannelResampler::MultiChannelResampler(int channels, argument 19 wrapped_resampler_audio_bus_(AudioBus::CreateWrapper(channels)), 22 resamplers_.reserve(channels); 23 for (int i = 0; i < channels; ++i) { 32 // Allocate storage for all channels except the first, which will use the 34 if (channels > 1) { 35 resampler_audio_bus_ = AudioBus::Create(channels - 1, request_size); 36 for (int i = 0; i < resampler_audio_bus_->channels(); ++i) { 46 DCHECK_EQ(static_cast<size_t>(audio_bus->channels()), resamplers_.size()); 49 if (audio_bus->channels() [all...] |
H A D | channel_layout.cc | 157 ChannelLayout GuessChannelLayout(int channels) { argument 158 switch (channels) { 176 DVLOG(1) << "Unsupported channel count: " << channels;
|
H A D | audio_buffer_queue_unittest.cc | 32 const int channels = 1; local 38 kSampleFormatU8, channels, 10, 1, frames, kNoTime, kNoTime)); 43 kSampleFormatU8, channels, 20, 1, frames, kNoTime, kNoTime)); 48 const int channels = 1; local 55 kSampleFormatU8, channels, 10, 1, frames, kNoTime, kNoTime)); 58 kSampleFormatU8, channels, 10, 1, frames, kNoTime, kNoTime)); 61 kSampleFormatU8, channels, 10, 1, frames, kNoTime, kNoTime)); 64 kSampleFormatU8, channels, 10, 1, frames, kNoTime, kNoTime)); 67 kSampleFormatU8, channels, 10, 1, frames, kNoTime, kNoTime)); 72 const int channels local 118 const int channels = 2; local 141 const int channels = 2; local 179 const int channels = 4; local 202 const int channels = 2; local 224 const int channels = 2; local 252 const int channels = 2; local 275 const int channels = 2; local 299 const int channels = 16; local 328 const int channels = 4; local 374 const int channels = 2; local 427 const int channels = 2; local [all...] |
H A D | audio_fifo.cc | 43 AudioFifo::AudioFifo(int channels, int frames) argument 44 : audio_bus_(AudioBus::Create(channels, frames)), 61 DCHECK_EQ(source->channels(), audio_bus_->channels()); 73 // Copy all channels from the source to the FIFO. Wrap around if needed. 74 for (int ch = 0; ch < source->channels(); ++ch) { 100 DCHECK_EQ(destination->channels(), audio_bus_->channels()); 116 // For all channels, remove the requested amount of data from the FIFO 118 for (int ch = 0; ch < destination->channels(); [all...] |
/external/chromium_org/media/filters/ |
H A D | audio_file_reader.cc | 103 codec_context_->channel_layout, codec_context_->channels) == 109 channels_ = codec_context_->channels; 127 DCHECK_EQ(audio_bus->channels(), channels()); 128 if (audio_bus->channels() != channels()) 183 int channels = av_get_channel_layout_nb_channels( local 186 int channels = av_frame->channels; local 189 channels ! 213 int channels = audio_bus->channels(); local [all...] |
/external/libvorbis/include/vorbis/ |
H A D | vorbisenc.h | 47 * \param channels The number of channels to be encoded. 61 long channels, 84 * \param channels The number of channels to be encoded. 98 long channels, 118 * \param channels The number of channels to be encoded. 130 long channels, 146 * \param channels Th [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
H A D | AudioQuality.java | 24 int channels; field in class:AudioQuality
|
/external/chromium_org/media/audio/ |
H A D | audio_parameters.h | 54 int channels, int input_channels, 76 int channels() const { return channels_; } function in class:media::AudioParameters 79 // Set to CHANNEL_LAYOUT_DISCRETE with given number of channels. 80 void SetDiscreteChannels(int channels); 87 channels_ == other.channels() && 95 ChannelLayout channel_layout_; // Order of surround sound channels. 100 int channels_; // Number of channels. Value set based on 102 int input_channels_; // Optional number of input channels. 111 if (a.channels() != b.channels()) [all...] |
/external/chromium_org/tools/ |
H A D | omahaproxy.py | 31 channels = set() 40 channels.add(version['channel']) 45 channels = sorted(channels) 59 choices=channels, 62 '[default: %%default]' % ', '.join(channels))
|
/external/libpng/contrib/gregbook/ |
H A D | readppm.c | 68 int bit_depth, color_type, channels; variable 97 channels = 3; 100 channels = 4; 103 channels = 1; 152 /* GRR WARNING: grayscale needs to be expanded and channels reset! */ 154 *pRowbytes = rowbytes = channels*width; 155 *pChannels = channels;
|
/external/wpa_supplicant_8/hostapd/src/p2p/ |
H A D | p2p_utils.c | 61 /* channels 1..13 */ 70 case 83: /* channels 1..9; 40 MHz */ 71 case 84: /* channels 5..13; 40 MHz */ 75 case 115: /* channels 36,40,44,48; indoor only */ 76 case 118: /* channels 52,56,60,64; dfs */ 80 case 124: /* channels 149,153,157,161 */ 81 case 125: /* channels 149,153,157,161,165,169 */ 85 case 116: /* channels 36,44; 40 MHz; indoor only */ 86 case 117: /* channels 40,48; 40 MHz; indoor only */ 87 case 119: /* channels 5 214 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument 231 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument 287 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument [all...] |
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_utils.c | 61 /* channels 1..13 */ 70 case 83: /* channels 1..9; 40 MHz */ 71 case 84: /* channels 5..13; 40 MHz */ 75 case 115: /* channels 36,40,44,48; indoor only */ 76 case 118: /* channels 52,56,60,64; dfs */ 80 case 124: /* channels 149,153,157,161 */ 81 case 125: /* channels 149,153,157,161,165,169 */ 85 case 116: /* channels 36,44; 40 MHz; indoor only */ 86 case 117: /* channels 40,48; 40 MHz; indoor only */ 87 case 119: /* channels 5 214 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument 231 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument 287 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_utils.c | 61 /* channels 1..13 */ 70 case 83: /* channels 1..9; 40 MHz */ 71 case 84: /* channels 5..13; 40 MHz */ 75 case 115: /* channels 36,40,44,48; indoor only */ 76 case 118: /* channels 52,56,60,64; dfs */ 80 case 124: /* channels 149,153,157,161 */ 81 case 125: /* channels 149,153,157,161,165,169 */ 85 case 116: /* channels 36,44; 40 MHz; indoor only */ 86 case 117: /* channels 40,48; 40 MHz; indoor only */ 87 case 119: /* channels 5 214 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument 231 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument 287 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | MessagePort.cpp | 66 OwnPtr<MessagePortChannelArray> channels; local 76 channels = MessagePort::disentanglePorts(ports, es); 80 m_entangledChannel->postMessageToRemote(message, channels.release()); 163 OwnPtr<MessagePortChannelArray> channels; local 164 while (m_entangledChannel && m_entangledChannel->tryGetMessageFromRemote(message, channels)) { 170 OwnPtr<MessagePortArray> ports = MessagePort::entanglePorts(*m_scriptExecutionContext, channels.release()); 220 PassOwnPtr<MessagePortArray> MessagePort::entanglePorts(ScriptExecutionContext& context, PassOwnPtr<MessagePortChannelArray> channels) argument 222 if (!channels || !channels->size()) 225 OwnPtr<MessagePortArray> portArray = adoptPtr(new MessagePortArray(channels [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
H A D | opus_custom_demo.c | 51 opus_int32 frame_size, channels, rate; local 64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> " 71 channels = atoi(argv[2]); 104 enc = opus_custom_encoder_create(mode, channels, &err); 112 dec = opus_custom_decoder_create(mode, channels, &err); 128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16)); 129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16)); 134 err = fread(in, sizeof(short), frame_size*channels, fin); 174 for (i=0;i<ret*channels;i++) 178 for (i=0;i<ret*channels; [all...] |
/external/chromium_org/third_party/opus/src/include/ |
H A D | opus_custom.h | 132 * @param [in] channels <tt>int</tt>: Number of channels 137 int channels 145 * @param [in] channels <tt>int</tt>: Number of channels 151 int channels, 164 * @param [in] channels <tt>int</tt>: Number of channels 170 int channels 236 * @param [in] channels <t [all...] |
/external/chromium_org/remoting/codec/ |
H A D | audio_encoder_speex.cc | 57 DCHECK_EQ(AudioPacket::CHANNELS_STEREO, packet->channels()); 60 packet->data(0).size() / packet->bytes_per_sample() / packet->channels(); 69 encoded_packet->set_channels(packet->channels()); 79 memcpy(leftover_buffer_.get() + leftover_frames_ * packet->channels(), 81 frames_consumed * packet->bytes_per_sample() * packet->channels()); 99 next_sample += frames_consumed * packet->channels(); 120 memcpy(leftover_buffer_.get() + leftover_frames_ * packet->channels(), 122 frames_left * packet->bytes_per_sample() * packet->channels());
|
/external/chromium_org/remoting/host/ |
H A D | audio_silence_detector.cc | 30 void AudioSilenceDetector::Reset(int sampling_rate, int channels) { argument 34 sampling_rate * channels * kSilencePeriodThresholdSeconds;
|
/external/chromium_org/sandbox/win/src/ |
H A D | ipc_unittest.cc | 21 // Calculate how many channels we can fit in the shared memory. 22 total_shared_size -= offsetof(IPCControl, channels); 27 offsetof(IPCControl, channels); 43 ChannelControl& channel = client_control->channels[ix]; 57 ChannelControl& channel = client_control->channels[ix]; 80 // Make 7 channels of kIPCChannelSize (1kb) each. Test that we lock and 81 // unlock channels properly. 90 // Test that we lock the first 3 channels in sequence. 92 EXPECT_TRUE(mem + client_control->channels[0].channel_base == buff0); 93 EXPECT_EQ(kBusyChannel, client_control->channels[ [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | Box.java | 24 import java.nio.channels.ReadableByteChannel; 25 import java.nio.channels.WritableByteChannel;
|