/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/ |
sugar_test.py | 48 self.channels = ['red', 'green', 'blue'] 53 len(self.channels) * len(self.masks)) 55 self.batch_size, self.num_rows, self.num_columns, len(self.channels), 62 self.channel_axis = ('channel', self.channels) 84 ('depth', len(self.channels) * len(self.masks)) 92 depth_axis = core.Axis('depth', range(len(self.channels) * len(self.masks)))
|
/external/tensorflow/tensorflow/core/kernels/ |
image_resizer_state.h | 82 channels = input.dim_size(3); 86 context, channels > 0, 123 int64 channels; member in struct:tensorflow::ImageResizerState 153 channels = input.dim_size(3); 174 original_width, channels}), 179 int64 channels; member in struct:tensorflow::ImageResizerGradientState
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
sync_buffer_unittest.cc | 18 // Create a SyncBuffer with two channels and 10 samples each. 22 EXPECT_EQ(kChannels, sync_buffer.Channels()); 35 // Create a SyncBuffer with two channels and 100 samples each. 51 // Create a SyncBuffer with two channels and 100 samples each. 91 // Create a SyncBuffer with two channels and 100 samples each. 124 // Create a SyncBuffer with two channels and 100 samples each.
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
ApConfigUtilTest.java | 49 * even indices are frequencies and odd indices are channels. 141 * any allowed 2G channels. 150 * Verify a 2G channel is selected from the list of allowed channels. 160 * Verify a 5G channel is selected from the list of allowed channels. 171 * with no channels allowed. 229 * without any allowed channels.
|
/external/aac/libAACenc/src/ |
psy_main.cpp | 407 AAC_ENCODER_ERROR FDKaacEnc_psyMain(INT channels, PSY_ELEMENT *psyElement, 416 INT ch; /* counts through channels */ 467 for (ch = 0; ch < channels; ch++) { 479 for (ch = 0; ch < channels; ch++) { 500 (channels > 1) ? &psyStatic[1]->blockSwitchingControl : NULL, channels, 508 for (ch = 0; ch < channels; ch++) { 516 for (ch = 0; ch < channels; ch++) 522 for (ch = 0; ch < channels; ch++) { 551 /* Transform and get mdctScaling for all channels and windows. * [all...] |
/external/ImageMagick/coders/ |
vips.c | 309 const VIPSBandFormat format,const VIPSType type,const unsigned int channels, 333 if (channels < 3) 337 if (channels == 2) 344 if (channels == 4) 351 else if (channels == 5) 382 channels, 421 channels=ReadBlobLong(image); 454 if (channels == 5) 460 if (channels == 2) 466 if (channels == 4 379 channels, local 633 channels; local [all...] |
/external/lisa/libs/utils/ |
energy.py | 49 # if the channels do not contain a core name we can match to the 61 ['channels', 'report_file', 'data_frame']) 136 self._log.info('Scanning for HWMON channels, may take some time...') 139 # Decide which channels we'll collect data from. 141 # channels exist. 143 # If they don't match, just collect all available channels. 158 self._log.info('Using default big.LITTLE hwmon channels') 162 self._log.info('Using all hwmon energy channels') 165 # Configure channels for energy measurements 166 self._log.debug('Enabling channels %s', self._channels.values() [all...] |
/external/autotest/client/cros/audio/ |
audio_helper.py | 287 @param num_channels: The number of total channels to test. 311 @param num_channels: The number of total channels to test. 430 """Tests loopback on all channels. 439 @param num_channels: The number of total channels to test. 482 input_audio, channel_index, channels=2, bits=16, rate=48000): 488 @param channels: The number of channels in the input audio. 492 if channel_index <= 0 or channel_index > channels: 495 if channels == 1: 497 input_audio, channels=channels, bits=bits, rate=rate [all...] |
/external/tensorflow/tensorflow/python/layers/ |
pooling.py | 48 `(batch, length, channels)` while `channels_first` corresponds to 49 inputs with shape `(batch, channels, length)`. 114 `(batch, length, channels)` while `channels_first` corresponds to 115 inputs with shape `(batch, channels, length)`. 149 `(batch, length, channels)` while `channels_first` corresponds to 150 inputs with shape `(batch, channels, length)`. 181 `(batch, length, channels)` while `channels_first` corresponds to 182 inputs with shape `(batch, channels, length)`. 216 `(batch, length, channels)` while `channels_first` corresponds to 217 inputs with shape `(batch, channels, length)` [all...] |
/external/webrtc/webrtc/modules/media_file/ |
media_file_utility.cc | 256 size_t channels, 262 codec_info_.channels = channels; 420 const size_t bytesRequested = (codec_info_.channels == 2) ? 444 (codec_info_.channels == 2) ? _tempData : (uint8_t*)outData, 457 if(codec_info_.channels == 2) 504 if(codec_info_.channels != 2) 666 size_t channels = (codecInst.channels == 0) ? 1 : codecInst.channels; local 760 size_t channels = (codec_info_.channels == 0) ? 1 : codec_info_.channels; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
EncodeDecodeTest.cc | 55 std::string in_file_name, int sample_rate, size_t channels) { 63 if (channels == 2) { 88 sendCodec.channels = channels; 126 std::string out_file_name, size_t channels) { 134 if (recvCodec.channels == channels) 138 recvCodec.channels = channels; 291 } else if (sendCodecTmp.channels == 2) [all...] |
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
WebRtcAudioManager.java | 28 // fundamental audio parameters like native sample rate and number of channels. 62 private static final int CHANNELS = 1; 85 private int channels; field in class:WebRtcAudioManager 100 sampleRate, channels, hardwareAEC, hardwareAGC, hardwareNS, 139 channels = CHANNELS; 147 getMinOutputFrameSize(sampleRate, channels); 149 inputBufferSize = getMinInputFrameSize(sampleRate, channels); 269 assertTrue(numChannels == CHANNELS); 289 int sampleRate, int channels, boolean hardwareAEC, boolean hardwareAGC [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
test_api_audio.cc | 67 const size_t channels, 190 voice_codec.channels, 198 voice_codec.channels, 223 voice_codec.channels, 231 voice_codec.channels, 250 voice_codec.channels, 256 voice_codec.channels, 296 voice_codec.channels, 304 voice_codec.channels, 321 voice_codec.channels, [all...] |
/packages/apps/TV/src/com/android/tv/recommendation/ |
Recommender.java | 110 * Return the channel list of recommendation up to {@code n} or the number of channels. During 111 * the evaluation, this method updates the channel sort key of recommended channels. 113 * @param size The number of channels that might be recommended. 114 * @return Top {@code size} channels recommended sorted by score in descending order. If {@code 115 * size} is bigger than the number of channels, the number of results could be less than 177 * <p>If getChannelSortKey was called before evaluating the channels or trying to get sort key 189 List<ChannelRecord> channels = new ArrayList<>(mDataManager.getChannelRecords()); local 191 evaluator.onChannelListChanged(Collections.unmodifiableList(channels)); 206 List<ChannelRecord> channels = new ArrayList<>(mDataManager.getChannelRecords()); local 208 evaluator.onChannelListChanged(Collections.unmodifiableList(channels)); [all...] |
/prebuilts/go/darwin-x86/doc/codewalk/ |
sharemem.xml | 9 Channels allow you to pass references to data structures between goroutines. 31 each other on channels. 68 <step title="Creating channels" src="doc/codewalk/urlpoll.go:/Create our/,/complete/"> 69 First, main makes two channels of *Resource, pending and complete. 74 The pending and complete channels are passed to each of the Poller 87 Now that it has the necessary channels, main launches a number of 88 Poller goroutines, passing the channels as arguments. 89 The channels provide the means of communication between the main, Poller, and 158 StateMonitor will loop forever, selecting on two channels: 177 goroutines and channels can be used to write expressive and concise concurren [all...] |
/prebuilts/go/linux-x86/doc/codewalk/ |
sharemem.xml | 9 Channels allow you to pass references to data structures between goroutines. 31 each other on channels. 68 <step title="Creating channels" src="doc/codewalk/urlpoll.go:/Create our/,/complete/"> 69 First, main makes two channels of *Resource, pending and complete. 74 The pending and complete channels are passed to each of the Poller 87 Now that it has the necessary channels, main launches a number of 88 Poller goroutines, passing the channels as arguments. 89 The channels provide the means of communication between the main, Poller, and 158 StateMonitor will loop forever, selecting on two channels: 177 goroutines and channels can be used to write expressive and concise concurren [all...] |
/external/adhd/cras/src/tests/ |
dev_stream_unittest.cc | 171 2 * sizeof(*area->channels)); 173 channel_area_set_channel(&area->channels[0], CRAS_CH_FL); 174 channel_area_set_channel(&area->channels[1], CRAS_CH_FR); 175 area->channels[0].step_bytes = 4; 176 area->channels[0].buf = (uint8_t *)(cap_buf); 177 area->channels[1].step_bytes = 4; 178 area->channels[1].buf = (uint8_t *)(cap_buf + 1); 181 2 * sizeof(*area->channels)); 185 stream_area->channels[0].step_bytes = 4; 186 stream_area->channels[0].buf = (uint8_t *)(shm_samples) [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_exr.cpp | 142 const ChannelList &channels = m_file->header().channels(); local 143 m_red = channels.findChannel( "R" ); 144 m_green = channels.findChannel( "G" ); 145 m_blue = channels.findChannel( "B" ); 154 m_green = channels.findChannel( "Y" ); 158 m_red = channels.findChannel( "RY" ); 159 m_blue = channels.findChannel( "BY" ); 590 int width, int height, int depth, int channels ) 608 if( channels == 3 [all...] |
/external/ImageMagick/ImageMagick/script/ |
porting.html | 56 <p class="text-center"><a href="porting.php#imv7">ImageMagick Version 7</a> ? <a href="porting.php#hdri">High Dynamic Range Imaging</a> ? <a href="porting.php#channels">Pixel Channels</a> ? <a href="porting.php#alpha">Alpha</a> ? <a href="porting.php#grayscale">Grayscale</a> ? <a href="porting.php#mask">Masks</a> ? <a href="porting.php#core">MagickCore API</a> ? <a href="porting.php#headers">Header Files</a> ? <a href="porting.php#deprecate">Deprecated Features Removed</a> ? <a href="porting.php#cli">Command-line Interface</a> ? <a href="porting.php#summary">Version 7 Change Summary</a> </p> 58 <p class="lead magick-description">The design of ImageMagick is an evolutionary process, with the design and implementation efforts serving to influence and guide further progress in the other. With ImageMagick version 7 we aim to improve the design based on lessons learned from the version 6 implementation. ImageMagick was originally designed to display RGB images to an X Windows server. Over time we extended support to RGBA images and then to the CMYK and CMYKA image format. With ImageMagick version 7, we extend support to arbitrary colorspaces with an arbitrary number of pixel channels. Other design changes are in the works and we will document them here so be sure to revisit periodically.</p> 60 <p>To support variable pixel channels in the MagickCore API, pixel handling has changed when getting or setting the pixel channels. You can access channels as an array, <var>pixel[i]</var>, or use an accessor method such as GetPixelRed() or SetPixelRed(). There are some modest changes to the MagickCore and MagickWand API's. The Magick++ and PerlMagick API's have not changed and matches that of the ImageMagick version 6.</p> 81 <h2 class="magick-header"><a id="channels"></a>Pixel Channels</h2> 82 <p>A pixel is comprised of one or more color values, or <var>channels</var> (e.g. red pixel channel).</p> 83 <p>Prior versions of ImageMagick (4-6), support 4 to 5 pixel channels (RGBA or CMYKA). The first 4 channels are accessed with the PixelPacket data structure. The str (…) [all...] |
/external/ImageMagick/www/ |
porting.html | 60 <p class="text-center"><a href="porting.html#imv7">ImageMagick Version 7</a> ? <a href="porting.html#hdri">High Dynamic Range Imaging</a> ? <a href="porting.html#channels">Pixel Channels</a> ? <a href="porting.html#alpha">Alpha</a> ? <a href="porting.html#grayscale">Grayscale</a> ? <a href="porting.html#mask">Masks</a> ? <a href="porting.html#core">MagickCore API</a> ? <a href="porting.html#headers">Header Files</a> ? <a href="porting.html#deprecate">Deprecated Features Removed</a> ? <a href="porting.html#cli">Command-line Interface</a> ? <a href="porting.html#summary">Version 7 Change Summary</a> </p> 62 <p class="lead magick-description">The design of ImageMagick is an evolutionary process, with the design and implementation efforts serving to influence and guide further progress in the other. With ImageMagick version 7 we aim to improve the design based on lessons learned from the version 6 implementation. ImageMagick was originally designed to display RGB images to an X Windows server. Over time we extended support to RGBA images and then to the CMYK and CMYKA image format. With ImageMagick version 7, we extend support to arbitrary colorspaces with an arbitrary number of pixel channels. Other design changes are in the works and we will document them here so be sure to revisit periodically.</p> 64 <p>To support variable pixel channels in the MagickCore API, pixel handling has changed when getting or setting the pixel channels. You can access channels as an array, <var>pixel[i]</var>, or use an accessor method such as GetPixelRed() or SetPixelRed(). There are some modest changes to the MagickCore and MagickWand API's. The Magick++ and PerlMagick API's have not changed and matches that of the ImageMagick version 6.</p> 85 <h2 class="magick-header"><a id="channels"></a>Pixel Channels</h2> 86 <p>A pixel is comprised of one or more color values, or <var>channels</var> (e.g. red pixel channel).</p> 87 <p>Prior versions of ImageMagick (4-6), support 4 to 5 pixel channels (RGBA or CMYKA). The first 4 channels are accessed with the PixelPacket data structure. The str (…) [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_receiver.cc | 192 last_audio_decoder_->channels > 1) 304 size_t channels, 308 const auto neteq_decoder = [acm_codec_id, channels]() -> NetEqDecoder { 315 RentACodec::NetEqDecoderFromCodecId(*cid, channels); 328 decoder.channels == channels && 354 << " channels: " << channels; 361 decoder.channels = channels; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SelectorTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 23 import java.nio.channels.ClosedChannelException; 24 import java.nio.channels.ClosedSelectorException; 25 import java.nio.channels.Pipe; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 28 import java.nio.channels.ServerSocketChannel; 29 import java.nio.channels.SocketChannel; 30 import java.nio.channels.spi.SelectorProvider; 77 * @tests java.nio.channels.Selector#open( [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/ |
Selector.java | 26 package java.nio.channels; 30 import java.nio.channels.spi.SelectorProvider; 39 * java.nio.channels.spi.SelectorProvider selector provider} to 41 * {@link java.nio.channels.spi.SelectorProvider#openSelector openSelector} 64 * cancelled but whose channels have not yet been deregistered. This set is 141 * channels to become ready, and if so for how long, is the only essential 158 * <p> Keys may be cancelled and channels may be closed at any time. Hence the 217 * java.nio.channels.spi.SelectorProvider#openSelector openSelector} method 219 * java.nio.channels.spi.SelectorProvider} object. </p> 278 * Selects a set of keys whose corresponding channels are ready for I/ [all...] |
/external/aac/libPCMutils/include/ |
pcm_utils.h | 110 const UINT channels, const UINT frameSize, 113 const UINT channels, const UINT frameSize, 116 const UINT channels, const UINT frameSize, 120 const UINT channels, const UINT frameSize, 123 const UINT channels, const UINT frameSize, 126 const UINT channels, const UINT frameSize, 129 const UINT channels, const UINT frameSize,
|
/external/autotest/server/cros/ap_configurators/ |
ap_configurator_factory_unittest.py | 37 [{'band': self.ap_config.BAND_2GHZ, 'channels': [5]}, 38 {'band': self.ap_config.BAND_5GHZ, 'channels': [48]}] 57 """@returns supported bands and channels.""" 116 'channels': ap_spec.VALID_2GHZ_CHANNELS}], 126 'channels': ap_spec.VALID_2GHZ_CHANNELS}, 128 'channels': ap_spec.VALID_5GHZ_CHANNELS}], 142 'channels': ap_spec.VALID_2GHZ_CHANNELS}],
|