/external/webrtc/webrtc/modules/audio_coding/neteq/ |
audio_classifier_unittest.cc | 40 size_t channels) { 42 rtc::scoped_ptr<int16_t[]> in(new int16_t[channels * kFrameSize]); 51 while (fread(in.get(), sizeof(int16_t), channels * kFrameSize, audio_file) == 52 channels * kFrameSize) { 54 classifier.Analysis(in.get(), channels * kFrameSize, channels);
|
merge_unittest.cc | 28 size_t channels = 1; local 29 BackgroundNoise bgn(channels); 33 Expand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, channels); 34 Merge merge(fs, channels, &expand, &sync_buffer);
|
audio_classifier.cc | 42 int channels) { 44 assert((input_length / channels) == kDefaultFrameSizeSamples); 47 assert(channels == 1 || channels == 2); 61 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...] |
/external/webrtc/webrtc/modules/audio_processing/ |
audio_buffer.cc | 127 input_buffer_->fbuf()->channels()[0]); 128 data_ptr = input_buffer_->fbuf_const()->channels(); 136 process_buffer_->channels()[i], 139 data_ptr = process_buffer_->channels(); 146 data_->fbuf()->channels()[i]); 159 data_ptr = process_buffer_->channels(); 162 FloatS16ToFloat(data_->fbuf()->channels()[i], 192 return data_->ibuf_const()->channels(); 195 int16_t* const* AudioBuffer::channels() { function in class:webrtc::AudioBuffer 197 return data_->ibuf()->channels(); [all...] |
/system/media/audio_utils/include/audio_utils/ |
channels.h | 26 * Expanded channels are filled with zeros and put at the end of each audio frame. 27 * Contracted channels are omitted from the end of each audio frame. 30 * \param in_buff_chans Specifies the number of channels in the input buffer. 32 * \param out_buff_chans Specifies the number of channels in the output buffer. 50 * Extra expanded channels are left alone in the output buffer. 51 * Contracted channels are omitted from the end of each audio frame. 54 * \param in_buff_chans Specifies the number of channels in the input buffer. 56 * \param out_buff_chans Specifies the number of channels in the output buffer.
|
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/ |
PreviewChannel.java | 36 import androidx.tvprovider.media.tv.TvContractCompat.Channels; 37 import androidx.tvprovider.media.tv.TvContractCompat.Channels.Type; 45 * Since API 26, all TV apps may create preview channels and publish them to the home screen. 46 * We call these App Channels (as distinct from the Live Channels row on the home screen). To help 47 * you create App Channels, the support library provides a number of classes prefixed by the word 114 Long l = mValues.getAsLong(Channels._ID); 122 return mValues.getAsString(Channels.COLUMN_PACKAGE_NAME); 126 * @return what type of channel this is. For preview channels, the type is always 127 * TvContractCompat.Channels.TYPE_PREVIE [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
resize_bilinear_op_gpu.cu.cc | 39 int channels, int out_height, 42 // out_idx = c + channels * (x + out_width * (y + out_height * b)) 44 const int c = idx % channels; 45 idx /= channels; 65 channels + 69 channels + 73 channels + 77 channels + 90 int channels, int resized_height, int resized_width, T* output_grad) { 92 // in_idx = c + channels * (x + resized_width * (y + resized_height * b) 158 const int channels = images.dimension(3); local 185 const int channels = output_grad.dimension(3); local [all...] |
encode_png_op.cc | 63 const int32 channels = static_cast<int32>(image.dim_size(2)); variable 65 // In some cases, we pass width*channels*2 to png. 68 OP_REQUIRES(context, FastBoundsCheck(width * channels, max_row_width), 71 OP_REQUIRES(context, channels >= 1 && channels <= 4, 73 "image must have 1, 2, 3, or 4 channels, got ", channels)); 82 height, width * channels, channels, 90 width * channels * 2, channels, desired_channel_bits_ [all...] |
resize_nearest_neighbor_op_gpu.cu.cc | 38 const int in_width, const int channels, const int out_height, 43 int c = n % channels; 44 n /= channels; 50 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; 59 const int idx = (in_y * in_width + in_x) * channels + c; 67 const int in_width, const int channels, const int out_height, 72 int c = n % channels; 73 n /= channels; 79 T* bottom_diff_n = bottom_diff + n * channels * out_height * out_width; 88 const int idx = (out_y * out_width + out_x) * channels + c 106 const int channels = input.dimension(3); local 140 const int channels = input.dimension(3); local [all...] |
resize_bicubic_op_test.cc | 115 const int channels = images.dimension(3); local 118 ASSERT_EQ(channels, output.dimension(3)); 138 for (int64 c = 0; c < channels; ++c) { 160 const int target_width, int channels) { 162 << channels << " to " << target_height << "x" << target_width 163 << "x" << channels; local 165 TensorShape({batch_size, in_height, in_width, channels})); 173 TensorShape({batch_size, target_height, target_width, channels}))); 185 void RunManyRandomTests(int channels) { 192 channels); [all...] |
adjust_contrast_op.cc | 56 const int64 channels = input.dim_size(input.dims() - 1); variable 78 const int64 batch = input.NumElements() / (height * width * channels); 79 const int64 shape[4] = {batch, height, width, channels}; 153 int64 channels = 0; member in struct:tensorflow::AdjustContrastOpV2Base::ComputeOptions 164 const int64 channels = input.dim_size(input.dims() - 1); variable 175 const int64 batch = input.NumElements() / (height * width * channels); 183 options.channels = channels; 206 const int64 channels = options.channels; variable 237 const int64 channels = input.dimension(2); local 322 int64 channels = outputs.dimension(2); local [all...] |
/external/webrtc/webrtc/common_audio/ |
blocker_unittest.cc | 164 input_cb.channels(), 165 input_chunk_cb.channels(), 166 actual_output_cb.channels(), 167 output_chunk_cb.channels(), 171 ValidateSignalEquality(expected_output_cb.channels(), 172 actual_output_cb.channels(), 217 input_cb.channels(), 218 input_chunk_cb.channels(), 219 actual_output_cb.channels(), 220 output_chunk_cb.channels(), [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
ChannelsTest.java | 17 package libcore.java.nio.channels; 23 import java.nio.channels.AsynchronousByteChannel; 24 import java.nio.channels.Channels; 25 import java.nio.channels.IllegalBlockingModeException; 26 import java.nio.channels.Pipe; 27 import java.nio.channels.WritableByteChannel; 45 Channels.newInputStream(sourceChannel).read(); 58 Channels.newReader(sourceChannel, "UTF-8").read(); 75 InputStream is = Channels.newInputStream(abc) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Ppi/ |
AtaController.h | 2 Define the PPI to abstract the functions that enable IDE and SATA channels, and to retrieve
3 the base I/O port address for each of the enabled IDE and SATA channels.
36 /// disable the IDE channels.
97 Sets IDE and SATA channels to an enabled or disabled state.
99 This service enables or disables the IDE and SATA channels specified by ChannelMask.
100 It may ignore ChannelMask setting to enable or disable IDE and SATA channels based on the platform policy.
101 The number of the enabled channels will be returned by GET_IDE_REGS_BASE_ADDR() function.
108 @param[in] ChannelMask The bitmask that identifies the IDE and SATA channels to
111 @retval EFI_SUCCESS The IDE or SATA channels were enabled or disabled successfully.
112 @retval EFI_DEVICE_ERROR The IDE or SATA channels could not be enabled or disabled. [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/ |
TvContractUtils.java | 25 import android.media.tv.TvContract.Channels; 61 VIDEO_HEIGHT_TO_FORMAT_MAP.put(480, TvContract.Channels.VIDEO_FORMAT_480P); 62 VIDEO_HEIGHT_TO_FORMAT_MAP.put(576, TvContract.Channels.VIDEO_FORMAT_576P); 63 VIDEO_HEIGHT_TO_FORMAT_MAP.put(720, TvContract.Channels.VIDEO_FORMAT_720P); 64 VIDEO_HEIGHT_TO_FORMAT_MAP.put(1080, TvContract.Channels.VIDEO_FORMAT_1080P); 65 VIDEO_HEIGHT_TO_FORMAT_MAP.put(2160, TvContract.Channels.VIDEO_FORMAT_2160P); 66 VIDEO_HEIGHT_TO_FORMAT_MAP.put(4320, TvContract.Channels.VIDEO_FORMAT_4320P); 70 Context context, String inputId, List<ChannelInfo> channels) { 71 // Create a map from original network ID to channel row ID for existing channels. 74 String[] projection = {Channels._ID, Channels.COLUMN_ORIGINAL_NETWORK_ID} [all...] |
/external/autotest/client/cros/audio/ |
sox_utils.py | 13 def _raw_format_args(channels, bits, rate): 16 @param channels: Number of channels. 24 args += _format_args(channels, bits, rate) 28 def _format_args(channels, bits, rate): 31 @param channels: Number of channels. 38 return ['-c', str(channels), '-b', str(bits), '-r', str(rate)] 42 filename, channels=2, bits=16, rate=48000, duration=None, frequencies=440, 47 @param channels: The number of channels [all...] |
/external/libopus/src/ |
opus_decoder.c | 58 int channels; member in struct:OpusDecoder 82 int opus_decoder_get_size(int channels) 86 if (channels<1 || channels > 2) 92 celtDecSizeBytes = celt_decoder_get_size(channels); 96 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) 103 || (channels!=1&&channels!=2)) 106 OPUS_CLEAR((char*)st, opus_decoder_get_size(channels)); 117 st->stream_channels = st->channels = channels [all...] |
/packages/apps/TV/tuner/res/values/ |
strings.xml | 30 <!-- Message shown when the scanned channels became invalid due to incompatible changes 31 found across application versions, hence a user is required to rescan the channels --> 33 channels.</string> 50 direction to receive the most channels. For best results, place it high and near a 55 placement or direction to receive the most channels. For best results, 60 placement or direction to receive the most channels. For best results, 72 <string name="bt_setup_again_description">This will remove the channels found from the TV 73 tuner and scan for new channels again.\n\nVerify your TV is connected to a TV signal 75 direction to receive the most channels. For best results, place it high and near a 78 <string name="ut_setup_again_description">This will remove the channels found from the US [all...] |
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/ |
ChannelScanFragment.java | 40 /** Channel Scan Fragment shows detected channels */ 111 return new Guidance("Channel Scan", "Fake scanning for channels", null, null); 119 .title("Channels Found:") 174 List<Channel> channels = new ArrayList<>(); local 175 channels.add(createFakeChannel("KQED", "9.1", 1)); 176 channels.add(createFakeChannel("BBC", "2-2", 2)); 177 channels.add(createFakeChannel("What\'s on", "1.1", 3)); 178 channels.add(createFakeChannel("FOX", "7.1", 4)); 179 channels.add(createFakeChannel("Play Movie", "1.1", 5)); 180 channels.add(createFakeChannel("PBS", "9.2", 6)) [all...] |
/external/adhd/cras/src/server/ |
cras_audio_area.h | 16 * ch_set - Bit set of channels this channel area could map to. 27 * Descriptor of the memory area that provides various access to audio channels. 30 * num_channels - The number of channels in the audio area. 31 * channels - array of channel areas. 36 struct cras_channel_area channels[]; member in struct:cras_audio_area 55 * num_channels - The number of channels in the audio area. 88 * fmt - The format to use to configure the channels.
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_DecodeAndCropJpeg.pbtxt | 18 3-D with shape `[height, width, channels]`.. 22 name: "channels" 24 Number of color channels for the decoded image. 66 The attr `channels` indicates the desired number of color channels for the 71 * 0: Use the number of channels in the JPEG-encoded image. 76 of color channels.
|
api_def_DecodeJpeg.pbtxt | 12 3-D with shape `[height, width, channels]`.. 16 name: "channels" 18 Number of color channels for the decoded image. 60 The attr `channels` indicates the desired number of color channels for the 65 * 0: Use the number of channels in the JPEG-encoded image. 70 of color channels.
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
RadioAccessSpecifierTest.java | 29 int[] channels = {5, 6, 7}; local 30 RadioAccessSpecifier radioAccessSpecifier = new RadioAccessSpecifier(ran, bands, channels); 34 assertThat(radioAccessSpecifier.getChannels()).isEqualTo(channels); 37 RadioAccessSpecifier toCompare1 = new RadioAccessSpecifier(ran, bands, channels); 40 RadioAccessSpecifier toCompare3 = new RadioAccessSpecifier(ran+1, bands, channels);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
MockServerSocketChannel.java | 18 package org.apache.harmony.tests.java.nio.channels; 24 import java.nio.channels.NetworkChannel; 25 import java.nio.channels.ServerSocketChannel; 26 import java.nio.channels.SocketChannel; 27 import java.nio.channels.spi.SelectorProvider;
|