HomeSort by relevance Sort by last modified time
    Searched full:channels (Results 301 - 325 of 4077) sorted by null

<<11121314151617181920>>

  /external/webrtc/webrtc/modules/audio_coding/neteq/
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.";
audio_multi_vector_unittest.cc 25 // number of channels in the AudioMultiBuffer. Note that it is not possible
28 // this test focuses on testing different number of channels, and keeping the
75 EXPECT_EQ(num_channels_, vec1.Channels());
81 EXPECT_EQ(num_channels_, vec2.Channels());
105 ASSERT_EQ(num_channels_, vec.Channels());
107 ASSERT_EQ(num_channels_, vec_copy.Channels());
109 for (size_t channel = 0; channel < vec.Channels(); ++channel) {
181 ASSERT_EQ(num_channels_, vec.Channels());
273 for (size_t channel = 0; channel < vec.Channels(); ++channel) {
304 // channels
    [all...]
  /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/services/audioflinger/
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/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
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.
  /libcore/luni/src/test/java/libcore/java/nio/channels/
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;
  /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
  /external/opencv3/modules/imgproc/test/ocl/
test_histogram.cpp 72 std::vector<int> channels; local
104 channels.clear();
115 channels.push_back(randomInt(0, cn) + totalChannels);
125 cv::calcHist(images_roi, channels, noArray(), tmpHist, hist_size, ranges);
205 OCL_OFF(cv::calcBackProject(images_roi, channels, hist_roi, dst_roi, ranges, scale));
206 OCL_ON(cv::calcBackProject(uimages_roi, channels, uhist_roi, udst_roi, ranges, scale));
253 const std::vector<int> channels(1, 0);
263 OCL_OFF(cv::calcHist(std::vector<Mat>(1, src_roi), channels, noArray(), hist_roi, histSize, ranges, false));
264 OCL_ON(cv::calcHist(std::vector<UMat>(1, usrc_roi), channels, noArray(), uhist_roi, histSize, ranges, false));
  /external/opencv3/samples/cpp/tutorial_code/core/how_to_scan_images/
how_to_scan_images.cpp 139 int channels = I.channels(); local
142 int nCols = I.cols * channels;
170 const int channels = I.channels(); local
171 switch(channels)
202 const int channels = I.channels(); local
203 switch(channels)
  /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;
234 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) {
254 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());
  /external/libopus/src/
opus_encoder.c 66 int channels; member in struct:OpusEncoder
148 int opus_encoder_get_size(int channels)
152 if (channels<1 || channels > 2)
158 celtEncSizeBytes = celt_encoder_get_size(channels);
162 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application)
169 if((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)||(channels!=1&&channels!=2)||
174 OPUS_CLEAR((char*)st, opus_encoder_get_size(channels));
185 st->stream_channels = st->channels = channels
    [all...]
  /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;
yuv2rgb_3.glslf 54 * multiply. It also does the offset of the U and V channels from
58 vec4 channels = vec4(yChannel, uChannel, vChannel, 1.0);
68 gl_FragColor = conversion * channels;
yuv2rgb_4.glslf 52 * multiply. It also does the offset of the U and V channels from
55 vec4 channels = vec4(yChannel, uvChannel, 1.0);
64 gl_FragColor = conversion * channels;
  /external/autotest/server/cros/ap_configurators/
linksyswrt54gl_ap_configurator.py 25 'channels': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]}]
58 channels = ['1 - 2.412GHZ', '2 - 2.417GHZ', '3 - 2.422GHZ',
62 self.select_item_from_popup_by_xpath(channels[position], xpath)
  /external/libopus/tests/
test_opus_padding.c 39 #define CHANNELS 2
49 opus_int16 *out = malloc(FRAMESIZE*CHANNELS*sizeof(*out));
61 decoder = opus_decoder_create(48000, CHANNELS, &error);
  /external/libvorbis/doc/vorbisenc/
vorbis_encode_init_vbr.html 29 long channels,
43 <dt><i>channels</i></dt>
44 <dd>The number of channels to be encoded.</dd>
  /external/libvorbis/doc/vorbisfile/
vorbis_info.html 29 int channels;
48 <dt><i>channels</i></dt>
49 <dd>Int signifying number of channels in bitstream.</dd>
  /external/opencv3/modules/core/test/ocl/
test_channels.cpp 119 dcn += src_roi[i].channels();
148 PARAM_TEST_CASE(Split, MatType, Channels, bool)
254 // generate number of channels and create type
335 scntotal += src_roi[i].channels();
337 dcntotal += dst_roi[i].channels();
369 PARAM_TEST_CASE(InsertChannel, MatDepth, Channels, bool)
415 PARAM_TEST_CASE(ExtractChannel, MatDepth, Channels, bool)
461 OCL_INSTANTIATE_TEST_CASE_P(Channels, Merge, Combine(OCL_ALL_DEPTHS, Values(1, 2, 3, 4), Bool()));
462 OCL_INSTANTIATE_TEST_CASE_P(Channels, Split, Combine(OCL_ALL_DEPTHS, OCL_ALL_CHANNELS, Bool()));
463 OCL_INSTANTIATE_TEST_CASE_P(Channels, MixChannels, Combine(OCL_ALL_DEPTHS, Bool()))
    [all...]
  /external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/
calcBackProject_Demo2.cpp 90 int channels[] = { 0, 1 }; local
93 calcHist( &hsv, 1, channels, mask, hist, 2, histSize, ranges, true, false );
99 calcBackProject( &hsv, 1, channels, hist, backproj, ranges, 1, true );
  /external/skia/src/core/
SkOpts.h 61 gray_to_RGB1, // i.e. expand to color channels + an opaque alpha
62 grayA_to_RGBA, // i.e. expand to color channels
63 grayA_to_rgbA, // i.e. expand to color channels and premultiply
  /external/webrtc/webrtc/modules/audio_coding/acm2/
acm_codec_database.cc 115 // Basic block samples, max number of channels that are supported.
285 // Looks for a matching payload name, frequency, and channels in the
287 // entries with different frequencies and/or channels.
292 codec_inst.channels));
297 size_t channels) {
303 // Payload name, sampling frequency and number of channels need to match.
308 // The number of channels must match for all codecs but Opus.
310 channels_match = (channels == ci.channels);
312 // For opus we just check that number of channels is valid
    [all...]
acm_codec_database.h 45 // channel_support - number of channels supported to encode;
63 static int CodecId(const char* payload_name, int frequency, size_t channels);
72 // samples, and max number of channels that are supported.

Completed in 3631 milliseconds

<<11121314151617181920>>