/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
NotYetBoundExceptionTest.java | 16 package org.apache.harmony.nio.tests.java.nio.channels; 18 import java.nio.channels.NotYetBoundException; 30 * @tests {@link java.nio.channels.NotYetBoundException#NotYetBoundException()}
|
NotYetConnectedExceptionTest.java | 16 package org.apache.harmony.nio.tests.java.nio.channels; 18 import java.nio.channels.NotYetConnectedException; 30 * @tests {@link java.nio.channels.NotYetConnectedException#NotYetConnectedException()}
|
OverlappingFileLockExceptionTest.java | 16 package org.apache.harmony.nio.tests.java.nio.channels; 18 import java.nio.channels.OverlappingFileLockException; 30 * @tests {@link java.nio.channels.OverlappingFileLockException#OverlappingFileLockException()}
|
UnresolvedAddressExceptionTest.java | 16 package org.apache.harmony.nio.tests.java.nio.channels; 18 import java.nio.channels.UnresolvedAddressException; 30 * @tests {@link java.nio.channels.UnresolvedAddressException#UnresolvedAddressException()}
|
UnsupportedAddressTypeExceptionTest.java | 16 package org.apache.harmony.nio.tests.java.nio.channels; 18 import java.nio.channels.UnsupportedAddressTypeException; 30 * @tests {@link java.nio.channels.UnsupportedAddressTypeException#UnsupportedAddressTypeException()}
|
FileChannelTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 32 import java.nio.channels.ClosedChannelException; 33 import java.nio.channels.DatagramChannel; 34 import java.nio.channels.FileChannel; 35 import java.nio.channels.FileLock; 36 import java.nio.channels.NonReadableChannelException; 37 import java.nio.channels.NonWritableChannelException; 38 import java.nio.channels.OverlappingFileLockException; 39 import java.nio.channels.Pipe; 40 import java.nio.channels.ReadableByteChannel [all...] |
UnixSelectorTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 21 import java.nio.channels.SelectableChannel; 22 import java.nio.channels.SelectionKey; 23 import java.nio.channels.Selector; 24 import java.nio.channels.ServerSocketChannel; 25 import java.nio.channels.SocketChannel;
|
/external/chromium_org/third_party/opus/src/src/ |
opus_multistream_encoder.c | 81 /* then opus_val32 window_mem[channels*120]; */ 82 /* then opus_val32 preemph_mem[channels]; */ 142 static void channel_pos(int channels, int pos[8]) 145 if (channels==4) 151 } else if (channels==3||channels==5||channels==6) 159 } else if (channels==7) 168 } else if (channels==8) 221 int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_i 449 OPUS_CLEAR(ms_get_preemph_mem(st), channels); local 711 int channels; local [all...] |
/external/chromium_org/media/filters/ |
opus_audio_decoder.cc | 43 // mappings for up to 8 channels. This information is part of the Vorbis I 60 // Vorbis channel ordering for streams with >= 2 channels: 61 // 2 Channels 63 // 3 Channels 65 // 4 Channels 67 // 5 Channels 69 // 6 Channels (5.1) 71 // 7 channels (6.1) 73 // 8 Channels (7.1) 88 // 3 Channels, from Vorbis order to 191 int channels; member in struct:media::OpusExtraData [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
Pipe.java | 17 package java.nio.channels; 20 import java.nio.channels.spi.AbstractSelectableChannel; 21 import java.nio.channels.spi.SelectorProvider; 24 * A pipe contains two channels, forming a unidirectional pipe. One is the writable sink channel, 83 * Returns a new pipe from the default {@see java.nio.channels.spi.SelectorProvider}.
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
SocketChannelTest.java | 17 package libcore.java.nio.channels; 24 import java.nio.channels.ClosedChannelException; 25 import java.nio.channels.Selector; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.SocketChannel;
|
/external/chromium_org/media/audio/ |
audio_parameters.h | 63 int channels, int input_channels, 68 int channels, int input_channels, 94 int channels() const { return channels_; } function in class:media::AudioParameters 103 channels_ == other.channels() && 114 ChannelLayout channel_layout_; // Order of surround sound channels. 119 int channels_; // Number of channels. Value set based on 121 int input_channels_; // Optional number of input channels. 131 if (a.channels() != b.channels()) 132 return a.channels() < b.channels() [all...] |
/external/chromium_org/media/base/ |
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...] |
channel_layout.h | 12 // Enumerates the various representations of the ordering of audio channels. 99 // Channels are not explicitly mapped to speakers. 106 enum Channels { 124 MEDIA_EXPORT int ChannelOrder(ChannelLayout layout, Channels channel); 126 // Returns the number of channels in a given ChannelLayout. 129 // Given the number of channels, return the best layout, 131 MEDIA_EXPORT ChannelLayout GuessChannelLayout(int channels);
|
audio_fifo.cc | 43 AudioFifo::AudioFifo(int channels, int frames) 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(); ++ch) [all...] |
test_helpers.cc | 154 int channels, 169 // start + channels * increment 170 // start + 2 * channels * increment, ... 171 int buffer_size = frames * channels * sizeof(T); 175 for (int i = 0; i < frames * channels; ++i) { 180 format, channels, frames, data, start_time, duration); 186 int channels, 204 scoped_ptr<uint8*[]> data(new uint8*[channels]); 205 scoped_ptr<uint8[]> memory(new uint8[channels * buffer_size]); 206 for (int i = 0; i < channels; ++i) [all...] |
/external/libvorbis/doc/vorbisfile/ |
ov_read.html | 24 multichannel, the channels are interleaved in the output buffer. 29 <p>The output channels are in stream order and not remapped. Vorbis I 34 <li>two channels - the stream is stereo. channel order: left, right 35 <li>three channels - the stream is a 1d-surround encoding. channel order: left, 37 <li>four channels - the stream is quadraphonic surround. channel order: front left, 39 <li>five channels - the stream is five-channel surround. channel order: front left, 41 <li>six channels - the stream is 5.1 surround. channel order: front left, center, 43 <li>seven channels - the stream is 6.1 surround. channel order: front left, center, 45 <li>eight channels - the stream is 7.1 surround. channel order: front left, center, 48 <li>greater than eight channels - channel use and order is undefine [all...] |
/external/tinyalsa/ |
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; [all...] |
/external/chromium_org/third_party/libpng/ |
pngwtran.c | 41 /* png_byte channels; number of channels (1-4) */ 42 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 88 * row_info bit depth should be 8 (one pixel per byte). The channels 100 row_info->channels == 1) 203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 231 int channels = 0; 235 shift_start[channels] = row_info->bit_depth - bit_depth->red; 236 shift_dec[channels] = bit_depth->red; 237 channels++ [all...] |
/external/libpng/ |
pngwtran.c | 41 /* png_byte channels; number of channels (1-4) */ 42 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 88 * row_info bit depth should be 8 (one pixel per byte). The channels 100 row_info->channels == 1) 203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 231 int channels = 0; 235 shift_start[channels] = row_info->bit_depth - bit_depth->red; 236 shift_dec[channels] = bit_depth->red; 237 channels++ [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwtran.c | 36 /* png_byte channels; number of channels (1-4) */ 37 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 83 * row_info bit depth should be 8 (one pixel per byte). The channels 94 row_info->channels == 1) 197 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 224 int channels = 0; 228 shift_start[channels] = row_info->bit_depth - bit_depth->red; 229 shift_dec[channels] = bit_depth->red; 230 channels++ [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
DefaultClient.java | 60 // First two channels are reserved for reliable and 61 // unreliable. Note: channels are endpoint specific so these 80 private List<ConnectorAdapter> channels = new ArrayList<ConnectorAdapter>(); field in class:DefaultClient 103 if( !channels.isEmpty() ) 104 throw new IllegalStateException( "Channels already exist." ); 107 channels.add(new ConnectorAdapter(reliable, dispatcher, dispatcher, true)); 109 channels.add(new ConnectorAdapter(fast, dispatcher, dispatcher, false)); 112 channels.add(null); 129 for( ConnectorAdapter ca : channels ) { 166 for( int ch = CH_UNRELIABLE; ch < channels.size(); ch++ ) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
codec.cc | 136 // The number of channels must match exactly, with the exception 137 // that channels=0 is treated synonymously as channels=1, per RFC 138 // 4566 section 6: " [The channels] parameter is OPTIONAL and may be 139 // omitted if the number of channels is one." 146 ((codec.channels < 2 && channels < 2) || channels == codec.channels); 152 << ":" << channels << ":" << preference << "]" [all...] |
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 71 lChannels = outFinal->channels(); 81 if (channels != 0) { 82 if (*channels != 0) { 83 lChannels = *channels; 85 *channels = lChannels; 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 137 lChannels = inFinal->channels(); 324 uint32_t AudioStreamOutDump::channels() const function in class:android::AudioStreamOutDump 527 uint32_t AudioStreamInDump::channels() const function in class:android::AudioStreamInDump [all...] |
AudioDumpInterface.h | 41 uint32_t channels, 48 virtual uint32_t channels() const; 83 uint32_t channels, 89 virtual uint32_t channels() const; 124 uint32_t *channels=0, 151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
|