/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);
|
/external/aac/libAACenc/src/ |
psy_main.cpp | 442 AAC_ENCODER_ERROR FDKaacEnc_psyMain(INT channels, 455 INT ch; /* counts through channels */ 497 for(ch = 0; ch < channels; ch++) 511 for(ch = 0; ch < channels; ch++) 540 channels, 549 for(ch = 0; ch < channels; ch++) 559 for(ch = 0; ch < channels; ch++) 563 for(ch = 0; ch < channels; ch++) 594 /* Transform and get mdctScaling for all channels and windows. */ 595 for(ch = 0; ch < channels; ch++ [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
psy_main.c | 193 Word16 channels, 198 Word32 channelBitRate = bitRate/channels; 207 err = InitTnsConfigurationLong(bitRate, sampleRate, channels, 217 err = InitTnsConfigurationShort(bitRate, sampleRate, channels, 222 for(ch=0;ch < channels;ch++){ 225 bitRate, channels); 261 Word16 ch; /* counts through channels */ 264 Word16 channels; local 267 channels = elemInfo->nChannelsInEl; 271 for(ch = 0; ch < channels; ch++) [all...] |
/external/libopus/celt/ |
celt_decoder.c | 67 int channels; member in struct:OpusCustomDecoder 91 celt_sig _decode_mem[1]; /* Size = channels*(DECODE_BUFFER_SIZE+mode->overlap) */ 92 /* opus_val16 lpc[], Size = channels*LPC_ORDER */ 99 int celt_decoder_get_size(int channels) 102 return opus_custom_decoder_get_size(mode, channels); 105 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_get_size(const CELTMode *mode, int channels) 108 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig) 109 + channels*LPC_ORDER*sizeof(opus_val16) 115 CELTDecoder *opus_custom_decoder_create(const CELTMode *mode, int channels, int *error) 118 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels)); [all...] |
/external/libpng/contrib/pngminus/ |
pnm2png.c | 212 int channels=0; local 351 /* calculate the number of channels and store alpha-presence */ 353 channels = 1; 355 channels = 2; 357 channels = 3; 359 channels = 4; 362 channels = 0; /* cannot happen */ 365 alpha_present = (channels - 1) % 2; 369 /* row data is as many bytes as can fit width x channels x bit_depth */ 370 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); 184 // -- Channels from streams -- 321 // -- Character streams from channels -- 364 * Channels.newReader(ch, csname)</pre></blockquote [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); 291 /* Handle muted channels */
|
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/detail/ |
gpumat.hpp | 104 GpuMat::operator =(m.reshape(DataType<T>::channels, m.rows)); 108 CV_Assert( DataType<T>::channels == m.channels() ); 265 CV_DbgAssert( GpuMat::elemSize1() == sizeof(T) / DataType<T>::channels ); 266 return sizeof(T) / DataType<T>::channels; 284 __host__ int GpuMat_<T>::channels() const function in class:cv::cudev::GpuMat_ 286 CV_DbgAssert( GpuMat::channels() == DataType<T>::channels ); 287 return DataType<T>::channels;
|
/external/opencv3/modules/ts/include/opencv2/ts/ |
cuda_test.hpp | 255 //! return vector with all types (depth: CV_8U-CV_64F, channels: 1-4). 311 IMPLEMENT_PARAM_CLASS(Channels, int) 313 #define ALL_CHANNELS testing::Values(Channels(1), Channels(2), Channels(3), Channels(4)) 314 #define IMAGE_CHANNELS testing::Values(Channels(1), Channels(3), Channels(4))
|
/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/services/audioflinger/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 | 41 * It manages the current tuned channel among browsable channels. And it determines the next channel 134 * Returns true, if all the channels are loaded. 148 * Returns the number of browsable channels. 334 * Called when all the channels are loaded. 366 private void updateChannelData(List<Channel> channels) { 368 mChannels.addAll(channels); 372 for (int i = 0; i < channels.size(); ++i) { 373 Channel channel = channels.get(i); 390 // channels are changed.
|
/external/opencv3/modules/core/include/opencv2/core/cuda/ |
utility.hpp | 91 : mask(mask_), channels(channels_) {} 93 :mask(mask_.mask), channels(mask_.channels){} 97 return mask.ptr(y)[x / channels] != 0; 101 int channels; member in struct:cv::cuda::device::SingleMaskChannels
|
/external/opencv3/modules/imgproc/test/ocl/ |
test_accumulate.cpp | 55 PARAM_TEST_CASE(AccumulateBase, std::pair<MatDepth, MatDepth>, Channels, bool) 57 int sdepth, ddepth, channels; local 70 channels = GET_PARAM(1); 76 const int stype = CV_MAKE_TYPE(sdepth, channels), 77 dtype = CV_MAKE_TYPE(ddepth, channels);
|
/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/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/base/docs/html/sdk/api_diff/19/changes/ |
java.nio.channels.FileLock.html | 10 java.nio.channels.FileLock 74 Class java.nio.channels.<A HREF="../../../../reference/java/nio/channels/FileLock.html" target="_top"><font size="+2"><code>FileLock</code></font></A> 87 <A NAME="java.nio.channels.FileLock.close_added()"></A> 88 <nobr><code>void</code> <A HREF="../../../../reference/java/nio/channels/FileLock.html#close()" target="_top"><code>close</code></A>()</nobr>
|
pkg_java.nio.channels.html | 10 java.nio.channels 74 Package <A HREF="../../../../reference/java/nio/channels/package-summary.html" target="_top"><font size="+1"><code>java.nio.channels</code></font></A> 85 <nobr><A HREF="java.nio.channels.FileLock.html">FileLock</A></nobr> 92 <nobr><A HREF="java.nio.channels.Selector.html">Selector</A></nobr>
|
/frameworks/base/docs/html/sdk/api_diff/24/changes/ |
java.nio.channels.FileChannel.html | 10 java.nio.channels.FileChannel 74 Class java.nio.channels.<A HREF="../../../../reference/java/nio/channels/FileChannel.html" target="_top"><font size="+2"><code>FileChannel</code></font></A> 76 <p><font xsize="+1">Removed interface <code>java.nio.channels.ByteChannel</code>.<br> Added interface <code>java.nio.channels.SeekableByteChannel</code>.<br></font>
|
java.nio.channels.FileLock.html | 10 java.nio.channels.FileLock 74 Class java.nio.channels.<A HREF="../../../../reference/java/nio/channels/FileLock.html" target="_top"><font size="+2"><code>FileLock</code></font></A> 86 <A NAME="java.nio.channels.FileLock.acquiredBy_added()"></A> 87 <nobr><code>Channel</code> <A HREF="../../../../reference/java/nio/channels/FileLock.html#acquiredBy()" target="_top"><code>acquiredBy</code></A>()</nobr>
|