HomeSort by relevance Sort by last modified time
    Searched full:channels (Results 351 - 375 of 4938) sorted by null

<<11121314151617181920>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
AbstractSelectableChannelTest.java 17 package org.apache.harmony.tests.java.nio.channels.spi;
20 import java.nio.channels.ClosedChannelException;
21 import java.nio.channels.IllegalBlockingModeException;
22 import java.nio.channels.IllegalSelectorException;
23 import java.nio.channels.SelectableChannel;
24 import java.nio.channels.SelectionKey;
25 import java.nio.channels.Selector;
26 import java.nio.channels.SocketChannel;
27 import java.nio.channels.spi.AbstractSelectableChannel;
28 import java.nio.channels.spi.SelectorProvider
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
AsynchronousServerSocketChannelTest.java 17 package libcore.java.nio.channels;
28 import java.nio.channels.AlreadyBoundException;
29 import java.nio.channels.AsynchronousChannelGroup;
30 import java.nio.channels.AsynchronousCloseException;
31 import java.nio.channels.AsynchronousServerSocketChannel;
32 import java.nio.channels.AsynchronousSocketChannel;
33 import java.nio.channels.ClosedChannelException;
34 import java.nio.channels.NotYetBoundException;
35 import java.nio.channels.UnresolvedAddressException;
36 import java.nio.channels.spi.AsynchronousChannelProvider
    [all...]
ServerSocketChannelTest.java 17 package libcore.java.nio.channels;
26 import java.nio.channels.AlreadyBoundException;
27 import java.nio.channels.ClosedChannelException;
28 import java.nio.channels.ServerSocketChannel;
29 import java.nio.channels.SocketChannel;
30 import java.nio.channels.UnresolvedAddressException;
31 import java.nio.channels.UnsupportedAddressTypeException;
  /system/extras/sound/
playwav.c 38 int pcm_play(unsigned rate, unsigned channels,
61 config.channel_count = channels;
138 void play_file(unsigned rate, unsigned channels,
151 pcm_play(rate, channels, fill_buffer, 0);
193 int wav_rec(const char *fn, unsigned channels, unsigned rate)
209 hdr.num_channels = channels;
335 unsigned channels = 1; local
346 channels = 2;
348 channels = 1;
376 return wav_rec(fn, channels, rate)
    [all...]
  /frameworks/av/media/libaudioprocessing/tests/
resampler_tests.cpp 56 void resample(int channels, void *output,
69 (int32_t*) output + channels*i, thisFrames, provider);
89 void testBufferIncrement(size_t channels, bool useFloat,
98 provider.setChirp<float>(channels,
101 provider.setChirp<int16_t>(channels,
108 size_t outputFrameSize = (channels == 1 ? 2 : channels) * (useFloat ? sizeof(float) : sizeof(int32_t));
115 resampler = android::AudioResampler::create(format, channels, outputFreq, quality);
124 resample(channels, reference, outputFrames, refIncr, &provider, resampler);
133 resampler = android::AudioResampler::create(format, channels, outputFreq, quality)
    [all...]
  /frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
PreviewChannelHelper.java 46 * From a user's perspective, the TV home screen has two types of channels: the single Live
47 * Channels row versus the App preview Channels. This class is concerned with App Channels; or more
48 * precisely: <i>your</i> app's preview Channels. In API 26+, all TV apps are allowed to create
49 * multiple channels and publish those Channels to the home screen.
51 * This class provides convenience methods to help you publish, update and delete channels; add,
53 * Providers, Content Resolvers, Cursors or such to publish your channels. This class abstracts
56 * To make it easy for you to distinguish classes that help you build App Channels, the suppor
189 List<PreviewChannel> channels = new ArrayList<>(); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
SourceChannelTest.java 17 package org.apache.harmony.tests.java.nio.channels;
21 import java.nio.channels.ClosedChannelException;
22 import java.nio.channels.Pipe;
23 import java.nio.channels.SelectionKey;
28 * Tests for java.nio.channels.Pipe.SourceChannel
57 * @tests java.nio.channels.Pipe.SourceChannel#validOps()
64 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer)
74 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer)
87 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer)
105 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer
    [all...]
FileChannelLockingTest.java 17 package org.apache.harmony.tests.java.nio.channels;
25 import java.nio.channels.FileChannel;
26 import java.nio.channels.FileLock;
27 import java.nio.channels.NonReadableChannelException;
28 import java.nio.channels.NonWritableChannelException;
29 import java.nio.channels.OverlappingFileLockException;
62 // Open read, write, and read/write channels on the temp files.
  /system/media/audio_utils/
channels.c 18 #include <audio_utils/channels.h>
91 * Selected channels are replaced in the output buffer, with any extra channels
124 * single input channel to the first 2 output channels and 0-filling the remaining.
182 * first two input channels into the single output channel (and skipping the rest).
190 * NOTE: Overload of the summed channels is avoided by averaging the two input channels.
217 * by mixing the first two input channels into the single output channel (and skipping the rest).
223 * NOTE: Overload of the summed channels is avoided by averaging the two input channels
    [all...]
  /external/opencv/otherlibs/highgui/
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; x += channels
    [all...]
  /external/speex/libspeex/
scal.c 59 int channels; member in struct:SpeexDecorrState_
81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size)
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;ch++
    [all...]
  /external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/
layers_conv_variational_test.py 168 height=None, width=None, channels=None, filters=None,
174 [batch_size, width, channels], seed=seed())
179 [batch_size, height, width, channels], seed=seed())
184 [batch_size, depth, height, width, channels], seed=seed())
187 kernel_shape = kernel_size + (channels, filters)
231 batch_size, depth, height, width, channels, filters = 2, 4, 4, 4, 3, 5
237 depth=depth, height=height, width=width, channels=channels,
292 batch_size, depth, height, width, channels, filters = 2, 4, 4, 4, 3, 5
298 depth=depth, height=height, width=width, channels=channels
    [all...]
  /external/tensorflow/tensorflow/docs_src/api_guides/python/
image.md 12 tensors of shape `[height, width, channels]`. (PNG also supports uint16.)
81 If 3-D, the shape is `[height, width, channels]`, and the Tensor represents one
82 image. If 4-D, the shape is `[batch_size, height, width, channels]`, and the
85 Currently, `channels` can usefully be 1, 2, 3, or 4. Single-channel images are
86 grayscale, images with 3 channels are encoded as either RGB or HSV. Images
87 with 2 or 4 channels include an alpha channel, which has to be stripped from the
103 rgb_image = tf.image.decode_png(..., channels=3)
  /external/webrtc/webrtc/modules/audio_coding/neteq/
dtmf_tone_generator_unittest.cc 31 void TestAllTones(int fs_hz, int channels) {
32 AudioMultiVector signal(channels);
52 for (int channel = 0; channel < channels; ++channel) {
62 void TestAmplitudes(int fs_hz, int channels) {
63 AudioMultiVector signal(channels);
64 AudioMultiVector ref_signal(channels);
84 for (int channel = 0; channel < channels; ++channel) {
expand_unittest.cc 29 size_t channels = 1; local
30 BackgroundNoise bgn(channels);
34 Expand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, channels);
39 size_t channels = 1; local
40 BackgroundNoise bgn(channels);
46 &statistics, fs, channels);
98 ASSERT_EQ(1u, num_channels_) << "Fix: Must populate all channels.";
  /external/webrtc/webrtc/modules/audio_device/android/
audio_manager.cc 178 jint channels,
189 env, sample_rate, channels, hardware_aec, hardware_agc, hardware_ns,
195 jint channels,
208 ALOGD("channels: %d", channels);
217 playout_parameters_.reset(sample_rate, static_cast<size_t>(channels),
219 record_parameters_.reset(sample_rate, static_cast<size_t>(channels),
  /external/webrtc/webrtc/modules/audio_processing/
audio_buffer.h 50 // Returns a pointer array to the full-band channels.
52 // channels()[channel][sample].
56 int16_t* const* channels();
73 // Returns a pointer array to the channels for a specific band.
129 // format (samples per channel and number of channels).
137 // per channels and the current number of channels. This last one can be
  /frameworks/av/media/libaudioprocessing/
AudioResamplerSinc.cpp 293 template<int CHANNELS>
298 const size_t headOffset = c.halfNumCoefs*CHANNELS;
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
337 for (size_t i=0 ; i<CHANNELS ; i++) {
338 head[i] = in[inputIndex*CHANNELS + i];
343 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL);
353 read<CHANNELS>(impulse, phaseFraction, in, inputIndex);
368 return outputIndex / CHANNELS;
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/ch/
AbstractPollSelectorImpl.java 29 import java.nio.channels.*;
30 import java.nio.channels.spi.*;
55 // The number of valid channels in this Selector's poll array
64 AbstractPollSelectorImpl(SelectorProvider sp, int channels, int offset) {
66 this.totalChannels = channels;
90 // Deregister channels
113 * of the corresponding Channels. Add the ready keys to the
  /packages/providers/TvProvider/tests/src/com/android/providers/tv/
TransientRowHelperTests.java 28 import android.media.tv.TvContract.Channels;
120 values.put(Channels.COLUMN_INPUT_ID, FAKE_INPUT_ID);
121 values.put(Channels.COLUMN_TRANSIENT, isTransient ? 1 : 0);
122 Uri uri = mResolver.insert(Channels.CONTENT_URI, values);
164 Channels._ID,
167 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null);
197 assertEquals("Before reboot the channels inserted should exist.",
  /external/tensorflow/tensorflow/core/kernels/
mfcc_mel_filterbank.cc 23 // Note: this code fails if you ask for too many channels. The algorithm used
24 // here assumes that each FFT bin contributes to at most two channels: the
26 // for channel i+1. If you ask for so many channels that some of the
28 // channels may end up with no contributing FFT bins. The resulting mel
29 // spectrum output will have some channels that are always zero.
50 LOG(ERROR) << "Number of filterbank channels must be positive.";
92 // Maps the input spectrum bin indices to filter bank channels/indices. For
145 // The lowest mel channels have the fewest FFT bins and the lowest
156 << "Perhaps too many channels or "
  /external/tinyalsa/
tinyplay.c 63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels,
187 int sample_is_playable(unsigned int card, unsigned int device, unsigned int channels,
201 can_play &= check_param(params, PCM_PARAM_CHANNELS, channels, "Sample", " channels");
211 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels,
222 config.channels = channels;
236 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) {
256 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits);
  /hardware/libhardware_legacy/audio/
AudioHardwareStub.cpp 46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
49 status_t lStatus = out->set(format, channels, sampleRate);
65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate,
74 status_t lStatus = in->set(format, channels, sampleRate, acoustics);
122 if (pChannels) *pChannels = channels();
132 audio_channel_count_from_out_mask(channels()) / sampleRate());
149 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
179 audio_channel_count_from_in_mask(channels()) / sampleRate());
195 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
  /packages/apps/Settings/src/com/android/settings/notification/
AppNotificationSettings.java 192 final List<NotificationChannel> channels = group.getChannels(); local
193 Collections.sort(channels, mChannelComparator);
194 int N = channels.size();
196 final NotificationChannel channel = channels.get(i);
227 // Non-grouped channels (in placeholder group with a null id) come last
258 final List<NotificationChannel> channels = group.getChannels(); local
259 Collections.sort(channels, mChannelComparator);
260 int N = channels.size();
262 final NotificationChannel channel = channels.get(i);
  /external/autotest/client/deps/glbench/src/
yuv2rgb_2.glslf 63 * multiply. It also does the offset of the U and V channels from
66 vec4 channels = vec4(yChannel, uChannel, vChannel, 1.0);
74 gl_FragColor = conversion * channels;

Completed in 634 milliseconds

<<11121314151617181920>>