/external/tremolo/Tremolo/ |
mapping0.c | 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 93 testM>=vi->channels || 94 testA>=vi->channels) goto err_out; 102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels); 103 for(i=0;i<vi->channels;i++){ 133 alloca(sizeof(*pcmbundle)*vi->channels); 135 alloca(sizeof(*zerobundle)*vi->channels); 137 alloca(sizeof(*nonzero)*vi->channels); 139 alloca(sizeof(*floormemo)*vi->channels); [all...] |
/external/skia/src/core/ |
SkGammas.h | 54 // All channels are the same type? 56 for (int i = 1; i < this->channels(); i++) { 64 for (int i = 1; i < this->channels(); i++) { 115 int channels() const { return fChannels; } function in struct:SkGammas 117 SkGammas(int channels) : fChannels(channels) { 118 SkASSERT(channels <= (int)SK_ARRAY_COUNT(fType));
|
/external/skqp/src/core/ |
SkGammas.h | 54 // All channels are the same type? 56 for (int i = 1; i < this->channels(); i++) { 64 for (int i = 1; i < this->channels(); i++) { 115 int channels() const { return fChannels; } function in struct:SkGammas 117 SkGammas(int channels) : fChannels(channels) { 118 SkASSERT(channels <= (int)SK_ARRAY_COUNT(fType));
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
audio_classifier_test.cc | 26 " channels output_type <input file name> <output file name> " 28 std::cout << "Where channels can be 1 (mono) or 2 (interleaved stereo),"; 38 int channels = atoi(argv[1]); local 39 if (channels < 1 || channels > 2) { 40 std::cout << "Disallowed number of channels " << channels << std::endl; 50 const int data_size = channels * kFrameSizeSamples; 76 bool is_music = classifier.Analysis(in.get(), data_size, channels);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
PacketLossTest.cc | 30 int channels, 38 Receiver::Setup(acm, rtpStream, ss.str(), channels); 91 int channels, int expected_loss_rate) { 92 Sender::Setup(acm, rtpStream, in_file_name, sample_rate, channels); 112 PacketLossTest::PacketLossTest(int channels, int expected_loss_rate, 114 : channels_(channels),
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
ScanTestUtil.java | 51 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, 55 request.channels = channels; 83 request.channels = null; 151 int period, int reportEvents, WifiScanner.ChannelSpec... channels) { 152 int[] channelFreqs = new int[channels.length]; 153 for (int i = 0; i < channels.length; ++i) { 154 channelFreqs[i] = channels[i].frequency; 160 int period, int reportEvents, int... channels) { 164 bucket.num_channels = channels.length [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation_audio.c | 154 desired.channels = 2; 164 desired.channels = 2; 349 /* Definition of all formats, channels, and frequencies used to test audio conversions */ 378 spec1.channels = 2; 380 result = SDL_BuildAudioCVT(&cvt, spec1.format, spec1.channels, spec1.freq, 381 spec1.format, spec1.channels, spec1.freq); 387 spec1.channels = 1; 390 spec2.channels = 2; 392 result = SDL_BuildAudioCVT(&cvt, spec1.format, spec1.channels, spec1.freq, 393 spec2.format, spec2.channels, spec2.freq) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config
103 dsp.channels(channels) == channels and
112 result = dsp.setparameters(fmt, channels, rate, False)
113 self.assertEqual(result, (fmt, channels, rate),
116 result = dsp.setparameters(fmt, channels, rate, True)
117 self.assertEqual(result, (fmt, channels, rate),
122 # channels currently exceeds even Hollywood's ambitions, and
128 channels = 2 [all...] |
/external/python/cpython2/Lib/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config 103 dsp.channels(channels) == channels and 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), 116 result = dsp.setparameters(fmt, channels, rate, True) 117 self.assertEqual(result, (fmt, channels, rate), 122 # channels currently exceeds even Hollywood's ambitions, and 128 channels = [all...] |
/external/python/cpython3/Lib/test/ |
test_ossaudiodev.py | 102 (fmt, channels, rate) = config 104 dsp.channels(channels) == channels and 113 result = dsp.setparameters(fmt, channels, rate, False) 114 self.assertEqual(result, (fmt, channels, rate), 117 result = dsp.setparameters(fmt, channels, rate, True) 118 self.assertEqual(result, (fmt, channels, rate), 123 # channels currently exceeds even Hollywood's ambitions, and 129 channels = [all...] |
/frameworks/av/media/libaudioprocessing/tests/ |
test_utils.h | 183 int mFrameSize; // frame size (# channels * bytes per sample) 194 size_t channels, double sampleRate, double freq) 203 for (size_t j = 0; j < channels; ++j) { 204 buffer[i*channels + j] = yt / T(j + 1); 218 size_t channels, double sampleRate, double minfreq, double maxfreq) 229 for (size_t j = 0; j < channels; ++j) { 230 buffer[i*channels + j] = yt / T(j + 1); 256 void setChirp(size_t channels, double minfreq, double maxfreq, double sampleRate, double time) 258 createBufferByFrames<T>(channels, sampleRate, sampleRate*time); 263 void setSine(size_t channels, [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config 103 dsp.channels(channels) == channels and 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), 116 result = dsp.setparameters(fmt, channels, rate, True) 117 self.assertEqual(result, (fmt, channels, rate), 122 # channels currently exceeds even Hollywood's ambitions, and 128 channels = [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config 103 dsp.channels(channels) == channels and 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), 116 result = dsp.setparameters(fmt, channels, rate, True) 117 self.assertEqual(result, (fmt, channels, rate), 122 # channels currently exceeds even Hollywood's ambitions, and 128 channels = [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config 103 dsp.channels(channels) == channels and 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), 116 result = dsp.setparameters(fmt, channels, rate, True) 117 self.assertEqual(result, (fmt, channels, rate), 122 # channels currently exceeds even Hollywood's ambitions, and 128 channels = [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config 103 dsp.channels(channels) == channels and 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), 116 result = dsp.setparameters(fmt, channels, rate, True) 117 self.assertEqual(result, (fmt, channels, rate), 122 # channels currently exceeds even Hollywood's ambitions, and 128 channels = [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...] |
/bionic/libc/kernel/uapi/linux/hsi/ |
hsi_char.h | 44 __u32 channels; member in struct:hsc_rx_config 48 __u32 channels; member in struct:hsc_tx_config
|
/external/autotest/server/cros/ap_configurators/ |
linksyse1000_ap_configurator.py | 34 channels = ['Auto', '1', '2', '3', '4', '5', '6', '7', '8', 36 self.select_item_from_popup_by_xpath(channels[position], xpath)
|
linksyse1500_ap_configurator.py | 32 channels = ['Auto', '1', '2', '3', '4', '5', '6', '7', '8', 34 self.select_item_from_popup_by_xpath(channels[position], xpath)
|
/external/brotli/java/org/brotli/wrapper/dec/ |
BrotliDecoderChannel.java | 11 import java.nio.channels.ClosedChannelException; 12 import java.nio.channels.ReadableByteChannel;
|
/external/kernel-headers/original/uapi/linux/hsi/ |
hsi_char.h | 55 __u32 channels; member in struct:hsc_rx_config 60 __u32 channels; member in struct:hsc_tx_config
|
/external/tensorflow/tensorflow/core/kernels/ |
adjust_contrast_op.h | 36 const int channels = input.dimension(3); local 42 scalar_broadcast[3] = channels; 56 reshape_dims[3] = channels; 67 reshape_dims.set(3, channels); 98 const int channels = input.dimension(3); local 104 scalar_broadcast[3] = channels; 118 reshape_dims[3] = channels; 134 reshape_dims.set(3, channels);
|
encode_jpeg_op.cc | 94 // image channels are consistent. 95 int channels; variable 98 channels = dim_size2; 99 if (channels == 1) { 101 } else if (channels == 3) { 106 errors::InvalidArgument("image must have 1 or 3 channels, got ", 111 channels = 1; 113 channels = 3; 115 OP_REQUIRES(context, channels == dim_size2, 117 channels, " channels, got " [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
decode_image_op_test.py | 77 bad_channels = image_ops.decode_image(gif0, channels=1) 93 bad_channels = image_ops.decode_image(jpeg0, channels=4) 101 for channels in 0, 1, 3, 4: 105 image0 = image_ops.decode_image(png0, channels=channels) 106 image1 = image_ops.decode_png(png0, channels=channels) 108 self.assertEqual(image0.shape, (26, 51, channels or channels_in))
|
/external/webrtc/webrtc/common_audio/ |
audio_ring_buffer_unittest.cc | 70 input.channels()[i][j] = (i + 1) * (j + 1); 82 EXPECT_EQ(input.channels()[i][j], output.channels()[i][j]); 99 buf.Write(input.channels(), kNumChannels, kNumFrames); 103 buf.Read(output.channels(), kNumChannels, 1); 104 EXPECT_EQ(4, output.channels()[0][0]); 106 buf.Read(output.channels(), kNumChannels, 1); 107 EXPECT_EQ(2, output.channels()[0][0]);
|