/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...] |
/device/moto/shamu/ |
media_profiles.xml | 39 <!ATTLIST Audio channels (1|2) #REQUIRED> 92 channels="1" /> 104 channels="1" /> 116 channels="1" /> 128 channels="2" /> 140 channels="1" /> 152 channels="1" /> 164 channels="1" /> 176 channels="1" /> 188 channels="1" / [all...] |
/frameworks/av/services/audioflinger/tests/ |
test_utils.h | 177 int mFrameSize; // frame size (# channels * bytes per sample) 188 size_t channels, double sampleRate, double freq) 197 for (size_t j = 0; j < channels; ++j) { 198 buffer[i*channels + j] = yt / T(j + 1); 212 size_t channels, double sampleRate, double minfreq, double maxfreq) 223 for (size_t j = 0; j < channels; ++j) { 224 buffer[i*channels + j] = yt / T(j + 1); 250 void setChirp(size_t channels, double minfreq, double maxfreq, double sampleRate, double time) 252 createBufferByFrames<T>(channels, sampleRate, sampleRate*time); 257 void setSine(size_t channels, [all...] |
/device/asus/flo/ |
media_profiles.xml | 39 <!ATTLIST Audio channels (1|2) #REQUIRED> 91 channels="1" /> 103 channels="1" /> 115 channels="1" /> 127 channels="1" /> 139 channels="1" /> 152 channels="1" /> 165 channels="1" /> 178 channels="1" /> 191 channels="1" / [all...] |
/device/lge/hammerhead/ |
media_profiles.xml | 39 <!ATTLIST Audio channels (1|2) #REQUIRED> 91 channels="1" /> 103 channels="1" /> 115 channels="1" /> 127 channels="1" /> 139 channels="1" /> 152 channels="1" /> 165 channels="1" /> 178 channels="1" /> 191 channels="1" / [all...] |
/device/htc/flounder/ |
media_profiles.xml | 38 <!ATTLIST Audio channels (1|2) #REQUIRED> 93 channels="1" /> 106 channels="2" /> 119 channels="1" /> 132 channels="1" /> 145 channels="2" /> 158 channels="2" /> 171 channels="2" /> 188 channels="1" /> 205 channels="2" / [all...] |
/external/libpng/ |
pngwtran.c | 21 * row_info bit depth should be 8 (one pixel per byte). The channels 30 row_info->channels == 1) 154 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 178 int channels = 0; local 182 shift_start[channels] = row_info->bit_depth - bit_depth->red; 183 shift_dec[channels] = bit_depth->red; 184 channels++; 186 shift_start[channels] = row_info->bit_depth - bit_depth->green; 187 shift_dec[channels] = bit_depth->green; 188 channels++ [all...] |
/external/pdfium/samples/fx_lpng/lpng_v163/ |
fx_pngwtran.c | 40 /* png_byte channels; number of channels (1-4) */
41 /* png_byte pixel_depth; bits per pixel (depth*channels) */
96 * row_info bit depth should be 8 (one pixel per byte). The channels
105 row_info->channels == 1)
229 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
253 int channels = 0;
local 257 shift_start[channels] = row_info->bit_depth - bit_depth->red;
258 shift_dec[channels] = bit_depth->red;
259 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/libopus/doc/ |
trivial_example.c | 41 #define CHANNELS 2 54 opus_int16 in[FRAME_SIZE*CHANNELS]; 55 opus_int16 out[MAX_FRAME_SIZE*CHANNELS]; 71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err); 97 decoder = opus_decoder_create(SAMPLE_RATE, CHANNELS, &err); 114 unsigned char pcm_bytes[MAX_FRAME_SIZE*CHANNELS*2]; 118 fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); 122 for (i=0;i<CHANNELS*FRAME_SIZE;i++) 146 for(i=0;i<CHANNELS*frame_size;i++) 152 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout) [all...] |
/bootable/recovery/minui/ |
resources.cpp | 50 png_uint_32* width, png_uint_32* height, png_byte* channels) { 100 *channels = png_get_channels(*png_ptr, *info_ptr); 102 if (bit_depth == 8 && *channels == 3 && color_type == PNG_COLOR_TYPE_RGB) { 104 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_GRAY) { 107 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_PALETTE) { 110 // channel, because minui doesn't support alpha channels in 113 *channels = 3; 115 fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", 116 bit_depth, *channels, color_type); 157 // 'channels' 206 png_byte channels; local 246 png_byte channels; local 325 png_byte channels; local 391 png_byte channels; local [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,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
UnixSelectorTest.java | 17 package org.apache.harmony.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;
|
MockDatagramChannel.java | 18 package org.apache.harmony.tests.java.nio.channels; 24 import java.nio.channels.DatagramChannel; 25 import java.nio.channels.spi.SelectorProvider;
|
MockSocketChannel.java | 18 package org.apache.harmony.tests.java.nio.channels; 24 import java.nio.channels.SocketChannel; 25 import java.nio.channels.spi.SelectorProvider;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
AbstractSelectorTest.java | 17 package org.apache.harmony.tests.java.nio.channels.spi; 20 import java.nio.channels.IllegalBlockingModeException; 21 import java.nio.channels.SelectionKey; 22 import java.nio.channels.Selector; 23 import java.nio.channels.ServerSocketChannel; 24 import java.nio.channels.spi.SelectorProvider;
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
AbstractSelectableChannel.java | 18 package java.nio.channels.spi; 21 import java.nio.channels.CancelledKeyException; 22 import java.nio.channels.ClosedChannelException; 23 import java.nio.channels.IllegalBlockingModeException; 24 import java.nio.channels.IllegalSelectorException; 25 import java.nio.channels.SelectableChannel; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 33 * selectable channels. It declares methods for registering, unregistering and 34 * closing selectable channels. It is thread-safe [all...] |
SelectorProvider.java | 18 package java.nio.channels.spi; 22 import java.nio.channels.Channel; 23 import java.nio.channels.DatagramChannel; 24 import java.nio.channels.Pipe; 25 import java.nio.channels.ServerSocketChannel; 26 import java.nio.channels.SocketChannel; 32 * {@link java.nio.channels.Selector} , {@link ServerSocketChannel}, and 53 * <li> if the system property "java.nio.channels.spi.SelectorProvider" is 57 * "java.nio.channels.spi.SelectorProvider" in META-INF/services of a jar
|
/development/samples/BluetoothChat/ |
_index.html | 7 <li>Establishing RFCOMM channels/sockets</li>
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_parse.py | 107 def __init__(self, name, layout, block_width, block_height, channels, swizzles, colorspace): 112 self.channels = channels 132 for channel in self.channels: 138 for channel in self.channels: 146 ref_channel = self.channels[0] 147 for channel in self.channels[1:]: 155 ref_channel = self.channels[0] 157 ref_channel = self.channels[1] 158 for channel in self.channels[1:] [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
ChannelHelper.java | 21 import java.nio.channels.FileChannel; 22 import java.nio.channels.ReadableByteChannel; 23 import java.nio.channels.SelectionKey; 24 import java.nio.channels.WritableByteChannel;
|
/external/opencv/otherlibs/highgui/ |
grfmt_imageio.h | 41 int width, int height, int depth, int channels );
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiScanningServiceImpl.java | 594 int num_channels = settings.channels == null ? 0 : settings.channels.length; 677 ChannelSpec desiredChannels[] = settings.channels; 683 // check the channels this client asked for .. 748 ChannelSpec desiredChannels[] = settings.channels; 970 ChannelSpec channels[] = settings.channels; local 1643 ArrayList<Integer> channels = new ArrayList<Integer>(); local 1703 HashSet<Integer> channels = new HashSet<Integer>(); local [all...] |