/external/libpng/contrib/gregbook/ |
readppm.c | 68 int bit_depth, color_type, channels; variable 97 channels = 3; 100 channels = 4; 103 channels = 1; 152 /* GRR WARNING: grayscale needs to be expanded and channels reset! */ 154 *pRowbytes = rowbytes = channels*width; 155 *pChannels = channels;
|
/external/webrtc/webrtc/modules/audio_device/android/ |
audio_record_jni.cc | 46 int sample_rate, size_t channels) { 49 static_cast<jint>(channels)); 134 audio_parameters_.sample_rate(), audio_parameters_.channels()); 188 const size_t channels = audio_parameters_.channels(); local 189 ALOGD("SetRecordingChannels(%" PRIuS ")", channels); 190 audio_device_buffer_->SetRecordingChannels(channels);
|
audio_track_jni.cc | 46 void AudioTrackJni::JavaAudioTrack::InitPlayout(int sample_rate, int channels) { 47 audio_track_->CallVoidMethod(init_playout_, sample_rate, channels); 127 audio_parameters_.sample_rate(), audio_parameters_.channels()); 205 const size_t channels = audio_parameters_.channels(); local 206 ALOGD("SetPlayoutChannels(%" PRIuS ")", channels); 207 audio_device_buffer_->SetPlayoutChannels(channels);
|
/frameworks/base/core/java/android/app/ |
NotificationChannelGroup.java | 36 * A grouping of related notification channels. e.g., channels that all belong to a single account. 140 * Returns the list of channels that belong to this group 147 * Returns whether or not notifications posted to {@link NotificationChannel channels} belonging 184 public void setChannels(List<NotificationChannel> channels) { 185 mChannels = channels; 311 channel.writeToProto(proto, NotificationChannelGroupProto.CHANNELS);
|
/external/autotest/client/cros/audio/ |
alsa_utils.py | 28 def _get_format_args(channels, bits, rate): 29 args = ['-c', str(channels)] 185 '''Gets the supported channels for the record device. 196 logging.error("Fail to get supported channels for %s", device) 201 logging.error("Supported channels are empty for %s", device) 270 input, duration=None, channels=2, bits=16, rate=48000, device=None): 275 @param channels: The number of channels of the input audio. 284 args += _get_format_args(channels, bits, rate) 305 output, duration=None, channels=1, bits=16, rate=48000, device=None) [all...] |
/external/libpng/contrib/pngminus/ |
pnm2png.c | 225 int channels=0; local 364 /* calculate the number of channels and store alpha-presence */ 366 channels = 1; 368 channels = 2; 370 channels = 3; 372 channels = 4; 375 channels = 0; /* cannot happen */ 378 alpha_present = (channels - 1) % 2; 382 /* row data is as many bytes as can fit width x channels x bit_depth */ 383 row_bytes = (width * channels * bit_depth + 7) / 8 [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/ |
Channels.java | 27 package java.nio.channels; 41 import java.nio.channels.spi.AbstractInterruptibleChannel; 49 * Utility methods for channels and streams. 62 public final class Channels { 64 private Channels() { } // No instantiation 106 // -- Byte streams from channels -- 175 Channels.writeFully(ch, bb); 333 // -- Channels from streams -- 470 // -- Character streams from channels -- 513 * Channels.newReader(ch, csname)</pre></blockquote [all...] |
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
TunerChannel.java | 47 "Analog television channels", 195 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_240P}, {@link 196 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_360P}, {@link 197 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_480I}, {@link 198 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_480P}, {@link 199 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_576I}, {@link 200 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_576P}, {@link 201 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_720P}, {@link 202 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_1080I}, {@link 203 * android.media.tv.TvContract.Channels#VIDEO_FORMAT_1080P}, {@lin [all...] |
/external/libopus/src/ |
opus_multistream_decoder.c | 66 int channels, 77 if ((channels>255) || (channels<1) || (coupled_streams>streams) || 81 st->layout.nb_channels = channels; 112 int channels, 121 if ((channels>255) || (channels<1) || (coupled_streams>streams) || 135 ret = opus_multistream_decoder_init(st, Fs, channels, streams, coupled_streams, mapping); 292 /* Handle muted channels */
|
/external/webrtc/webrtc/p2p/base/ |
transport.h | 11 // A Transport manages a set of named channels of the same type. 14 // however, this base class keeps track of the channels by name, watches their 16 // requests to begin connecting or to reset to each of the channels. 130 // Information about all the channels of a transport. 174 // Returns whether the client has requested the channels to connect. 198 // Create, destroy, and lookup the channels of this type by their components. 220 // Tells all current and future channels to start connecting. 223 // Tells channels to start gathering candidates if necessary. 228 // Resets all of the channels back to their initial state. They are no
|
/external/webrtc/webrtc/voice_engine/test/auto_test/ |
voe_stress_test.cc | 94 printf(" (3) Create/delete channels\n"); 191 printf("Running create/delete channels test\n"); 222 // Start call on all or some channels. 223 // Two parts: first have a slight overweight to creating channels, 224 // then to deleting. (To ensure we hit max channels and go to zero.) 227 // Set up, start with maxChannels/2 channels 247 // Create/delete channels with slight 292 VALIDATE_STRESS(base->Terminate()); // Deletes all channels 373 VALIDATE_STRESS(base->Terminate()); // Deletes all channels
|
/frameworks/av/media/libaudioprocessing/tests/ |
test-mixer.cpp | 39 fprintf(stderr, "Usage: %s [-f] [-m] [-c channels]" 44 fprintf(stderr, " -c number of mixer output channels\n"); 50 fprintf(stderr, " <command> can be 'sine:[(i|f),]<channels>,<frequency>,<samplerate>'\n"); 51 fprintf(stderr, " 'chirp:[(i|f),]<channels>,<samplerate>'\n"); 55 uint32_t sampleRate, uint32_t channels, size_t frames, bool isBufferFloat) { 63 info.channels = channels; 65 printf("saving file:%s channels:%u samplerate:%u frames:%zu\n", 66 filename, info.channels, info.samplerate, frames);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 18 package libcore.java.nio.channels; 28 import java.nio.channels.NoConnectionPendingException; 29 import java.nio.channels.NotYetConnectedException; 30 import java.nio.channels.SelectionKey; 31 import java.nio.channels.ServerSocketChannel; 32 import java.nio.channels.SocketChannel; 33 import java.nio.channels.UnresolvedAddressException; 34 import java.nio.channels.UnsupportedAddressTypeException; 35 import java.nio.channels.spi.SelectorProvider;
|
/packages/apps/TV/src/com/android/tv/ |
ChannelTuner.java | 39 * It manages the current tuned channel among browsable channels. And it determines the next channel 126 /** Returns true, if all the channels are loaded. */ 136 /** Returns the number of browsable channels. */ 303 /** Called when all the channels are loaded. */ 328 private void updateChannelData(List<Channel> channels) { 330 mChannels.addAll(channels); 334 for (int i = 0; i < channels.size(); ++i) { 335 Channel channel = channels.get(i); 352 // channels are changed.
|
/external/tensorflow/tensorflow/contrib/ffmpeg/ |
ffmpeg_ops.py | 49 channel_count: The number of channels that should be created from the 51 `contents` have more than this number, then some channels will 53 additional channels will be created from the existing ones. 59 A rank-2 tensor that has time along dimension 0 and channels along 78 channels along dimension 1. Dimension 0 is `samples_per_second *
|
/external/tensorflow/tensorflow/contrib/fused_conv/python/ops/ |
fused_conv2d_bias_activation_op.py | 57 number of output channels. 73 "NHWC" float [batch, height, width, channels] 74 "NCHW" float [batch, channels, height, width] 75 "NCHW_VECT_C" qint8 [batch, channels / 4, height, width, channels % 4]
|
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/ |
eval_utils_impl.py | 45 num_channels: int. The number of channels in an image. 53 shape and number of channels are incompatible with the input tensor. 61 raise ValueError("Image shape and number of channels incompatible with " 67 raise ValueError("Image shape and number of channels incompatible with " 110 Output shape is [1, height, width, channels].
|
/external/tensorflow/tensorflow/contrib/image/python/ops/ |
distort_image_ops.py | 62 3-D float tensor of shape `[height, width, channels]`. 110 delta_hue in radians, scales the chrominance channels (I, Q) by 111 scale_saturation, scales all channels (Y, I, Q) by scale_value, 116 `delta_hue` in radians, multiplying the chrominance channels (I, Q) by 117 `scale_saturation`, and multiplying all channels (Y, I, Q) by
|
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
rtp_payload_registry.h | 32 const size_t channels, 42 const size_t channels, 64 const size_t channels, 74 const size_t channels, 176 const size_t channels,
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/ |
conference_transport.h | 38 // for local channels and the other for remote channels. There is a simulated 39 // reflector, which exchanges RTCP with local channels. For simplicity, it 40 // also uses the Voice Engine for remote channels. One can add streams by 51 * Set RTT between local channels and reflector.
|
/frameworks/av/media/libaudioprocessing/ |
AudioResamplerDyn.h | 113 void resize(int CHANNELS, int halfNumCoefs); 124 template<int CHANNELS> 128 template<int CHANNELS> 138 // in general, mRingFull = mState + mStateSize - halfNumCoefs*CHANNELS. 150 template<int CHANNELS, bool LOCKED, int STRIDE>
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
YUVImage.h | 26 // to YUV channels for different formats: 30 // - getOffsets() returns the correct offset for the different channels 32 // Location of any pixel's YUV channels can then be easily computed using these. 153 // for the YUV channels. Note that this corresponds to data rows and not pixel rows. 154 // E.g. depending on formats, U/V channels may have only one data row corresponding
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
BackgroundScanScheduler.java | 48 * where each bucket represents a set of channels and an interval to scan at. This 66 // Max channels that can be specified per bucket 92 * intersecting channels will result in those channels being scanned exactly once at the smaller 340 // TODO: find a way to get max channels 556 settings.channels = originalSettings.channels; 574 // channels from the other bucket 576 currentBucketSettings.channels = new WifiScanner.ChannelSpec[currentBucketChannels.size()]; 579 currentBucketSettings.channels[chanIdx++] = new WifiScanner.ChannelSpec(channel) [all...] |
ScanScheduleUtil.java | 61 if (!channelEquals(bucket1.channels[c], bucket2.channels[c])) { 145 * will always be included (filtered to only include requested channels). If it indicates that 150 * channels. 171 // channels were scanned.
|
/frameworks/wilhelm/src/android/ |
channels.cpp | 20 #include "channels.h" 88 * Get the number of active channels in an OpenSL ES channel mask. 201 // of channels requested. If the bitcount of 'bitsOut' isn't 203 // channels that the app requested. That will cause an 206 SL_LOGW("Conversion from OpenSL ES %s channel mask %#x to Android mask %#x %s channels",
|