/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputSetupActivity.java | 59 final String[] projection = { TvContract.Channels._ID }; 61 // If we already have channels, just finish without doing anything. 69 values.put(TvContract.Channels.COLUMN_INPUT_ID, inputId); 70 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_NUMBER); 71 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_NAME);
|
/external/kernel-headers/original/uapi/sound/ |
sb16_csp.h | 40 /* CSP channels */ 80 int channels; /* channels, look above */ member in struct:snd_sb_csp_start 88 unsigned short acc_channels; /* accepted channels */ 92 unsigned short run_channels; /* current channels */
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
SampleEntry.java | 30 import java.nio.channels.Channels; 31 import java.nio.channels.ReadableByteChannel; 32 import java.nio.channels.WritableByteChannel; 140 WritableByteChannel wbc = Channels.newChannel(baos);
|
/external/opencv/otherlibs/highgui/ |
grfmt_tiff.cpp | 360 int channels = 1; local 460 channels = value; 461 if( channels != 1 && channels != 3 && channels != 4 ) 507 if( photometric == 0 || photometric == 1 && channels == 1 ) 518 m_compression != TIFF_HUFFMAN && channels == 1 ) 532 (channels == 3 || channels == 4) && 535 m_bpp = 8*channels; [all...] |
grfmt_pxm.cpp | 381 int channels = _channels > 1 ? 3 : 1; local 382 int fileStep = width*channels*(depth/8); 394 lineLength = channels * width * depth / 8; 396 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32; 410 '2' + (channels > 1 ? 1 : 0) + (isBinary ? 3 : 0), 434 for( x = 0; x < width*channels*2; x += 2 ) 441 m_strm.PutBytes( (channels > 1 || depth > 8) ? buffer : (char*)data, fileStep ); 447 if( channels > 1 ) 451 for( x = 0; x < width*channels; x += channels [all...] |
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
SoftOpus.cpp | 38 // mappings for up to 8 channels. This information is part of the Vorbis I 148 opusParams->nChannels = mHeader->channels; 175 pcmParams->nChannels = mHeader->channels; 240 // stereo output: Opus streams with more than 2 channels require a stream map. 268 // - Byte 2: Starting at byte 2 are |header->channels| uint8 mapping 278 header->channels = *(data + kOpusHeaderChannelsOffset); 280 if (header->channels <= 0 || header->channels > kMaxChannels) { 281 ALOGV("Invalid Header, wrong channel count: %d", header->channels); 291 if (header->channels > kMaxChannelsWithDefaultLayout) [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerDyn.h | 80 void resize(int CHANNELS, int halfNumCoefs); 91 template<int CHANNELS> 95 template<int CHANNELS> 103 // in general, mRingFull = mState + mStateSize - halfNumCoefs*CHANNELS. 113 template<int CHANNELS, bool LOCKED, int STRIDE>
|
AudioResamplerSinc.cpp | 285 template<int CHANNELS> 290 const size_t headOffset = c.halfNumCoefs*CHANNELS; 312 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 315 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 321 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); 330 for (size_t i=0 ; i<CHANNELS ; i++) { 331 head[i] = in[inputIndex*CHANNELS + i]; 336 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); 346 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); 361 return outputIndex / CHANNELS; [all...] |
/frameworks/base/docs/html/training/tv/tif/ |
index.jd | 1 page.title=Building TV Channels 30 To provide your users a similar experience, use the TV Input Framework to create channels for 31 publishing video or music content so that your media appears alongside traditional TV channels in 42 service. This service publishes a list of channels and programs to the TV Provider. The live TV 43 app on a TV device gets the list of available channels and programs from the TV Provider and
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldServerSocketChannelTest.java | 18 package libcore.java.nio.channels; 23 import java.nio.channels.ClosedByInterruptException; 24 import java.nio.channels.ServerSocketChannel; 25 import java.nio.channels.SocketChannel; 26 import java.nio.channels.spi.SelectorProvider;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/sound/ |
sb16_csp.h | 40 /* CSP channels */ 80 int channels; /* channels, look above */ member in struct:snd_sb_csp_start 88 unsigned short acc_channels; /* accepted channels */ 92 unsigned short run_channels; /* current channels */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sound/ |
sb16_csp.h | 40 /* CSP channels */ 80 int channels; /* channels, look above */ member in struct:snd_sb_csp_start 88 unsigned short acc_channels; /* accepted channels */ 92 unsigned short run_channels; /* current channels */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/sound/ |
sb16_csp.h | 40 /* CSP channels */ 80 int channels; /* channels, look above */ member in struct:snd_sb_csp_start 88 unsigned short acc_channels; /* accepted channels */ 92 unsigned short run_channels; /* current channels */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/sound/ |
sb16_csp.h | 40 /* CSP channels */ 80 int channels; /* channels, look above */ member in struct:snd_sb_csp_start 88 unsigned short acc_channels; /* accepted channels */ 92 unsigned short run_channels; /* current channels */
|
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.cpp | 723 uint32_t *channels, 728 ALOGV("openOutputStream: devices 0x%x channels %d sampleRate %d", 729 devices, *channels, *sampleRate); 781 alsa_handle.channels = VOIP_DEFAULT_CHANNEL_MODE; 828 err = out->set(format, channels, sampleRate, devices); 852 if (0 == *channels) { 853 alsa_handle.channels = info.AudioBlocksArray[info.nAudioBlocks-1].nChannels; 854 if (alsa_handle.channels > 6) { 855 alsa_handle.channels = 6; 857 *channels = audio_channel_out_mask_from_count(alsa_handle.channels) [all...] |
/external/libvorbis/lib/ |
mapping0.c | 81 oggpack_write(opb,info->coupling_mag[i],ilog(vi->channels)); 82 oggpack_write(opb,info->coupling_ang[i],ilog(vi->channels)); 91 for(i=0;i<vi->channels;i++) 122 int testM=info->coupling_mag[i]=oggpack_read(opb,ilog(vi->channels)); 123 int testA=info->coupling_ang[i]=oggpack_read(opb,ilog(vi->channels)); 128 testM>=vi->channels || 129 testA>=vi->channels) goto err_out; 137 for(i=0;i<vi->channels;i++){ 247 int *nonzero = alloca(sizeof(*nonzero)*vi->channels); 248 float **gmdct = _vorbis_block_alloc(vb,vi->channels*sizeof(*gmdct)) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
AbstractSelectableChannelTest.java | 17 package org.apache.harmony.tests.java.nio.channels.spi; 20 import java.nio.channels.ClosedChannelException; 21 import java.nio.channels.IllegalBlockingModeException; 22 import java.nio.channels.IllegalSelectorException; 23 import java.nio.channels.SelectableChannel; 24 import java.nio.channels.SelectionKey; 25 import java.nio.channels.Selector; 26 import java.nio.channels.SocketChannel; 27 import java.nio.channels.spi.AbstractSelectableChannel; 28 import java.nio.channels.spi.SelectorProvider [all...] |
/external/wpa_supplicant_8/src/ap/ |
dfs.c | 59 * time for CAC, so radar channels must be skipped when finding a new 86 * VHT80, valid channels based on center frequency: 91 * VHT160 valid channels based on center frequency: 112 wpa_printf(MSG_DEBUG, "Unknown width for %d channels", n_chans); 131 if (mode->channels[i].freq == freq) 132 return &mode->channels[i]; 149 first_chan = &mode->channels[first_chan_idx]; 193 wpa_printf(MSG_DEBUG, "DFS new chan checking %d channels", n_chans); 195 chan = &mode->channels[i]; 197 /* Skip HT40/VHT incompatible channels */ [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SourceChannelTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 21 import java.nio.channels.ClosedChannelException; 22 import java.nio.channels.Pipe; 23 import java.nio.channels.SelectionKey; 28 * Tests for java.nio.channels.Pipe.SourceChannel 57 * @tests java.nio.channels.Pipe.SourceChannel#validOps() 64 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 74 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 87 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 105 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer [all...] |
FileChannelLockingTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 25 import java.nio.channels.FileChannel; 26 import java.nio.channels.FileLock; 27 import java.nio.channels.NonReadableChannelException; 28 import java.nio.channels.NonWritableChannelException; 29 import java.nio.channels.OverlappingFileLockException; 62 // Open read, write, and read/write channels on the temp files.
|
/external/speex/libspeex/ |
scal.c | 59 int channels; member in struct:SpeexDecorrState_ 81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) 86 st->channels = channels; 96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float)); 97 st->ringID = speex_alloc(channels*sizeof(int)); 98 st->order = speex_alloc(channels*sizeof(int)); 99 st->alpha = speex_alloc(channels*sizeof(float)); 100 st->ring = speex_alloc(channels*ALLPASS_ORDER*sizeof(float)); 108 for (ch=0;ch<channels;ch++ [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestFeedback.cpp | 40 static SLuint32 channels = 1; // -c# variable 182 memset(buffer, 0, bufSizeInFrames * channels * sizeof(short)); 192 for (unsigned k = 0; k < channels; k++) { 193 ((short *)buffer)[(i+j)*channels+k] = j < 4 ? 0x7FFF : 0x8000; 288 channels = atoi(&arg[2]); 289 if (channels < 1 || channels > 2) { 291 (unsigned) channels); 292 channels = 2; 341 bufSizeInBytes = channels * bufSizeInFrames * sizeof(short) [all...] |
/system/media/alsa_utils/ |
alsa_device_proxy.c | 59 proxy->alsa_config.channels = 60 config->channels != 0 && profile_is_channel_count_valid(profile, config->channels) 61 ? config->channels : profile->default_config.channels; 77 proxy->frame_size = format_byte_size_map[config->format] * proxy->alsa_config.channels; 143 return proxy->alsa_config.channels;
|
/external/tinyalsa/ |
tinyplay.c | 63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, 187 int sample_is_playable(unsigned int card, unsigned int device, unsigned int channels, 201 can_play &= check_param(params, PCM_PARAM_CHANNELS, channels, "Sample", " channels"); 211 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, 221 config.channels = channels; 233 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { 253 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits);
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 49 status_t lStatus = out->set(format, channels, sampleRate); 65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, 74 status_t lStatus = in->set(format, channels, sampleRate, acoustics); 122 if (pChannels) *pChannels = channels(); 132 audio_channel_count_from_out_mask(channels()) / sampleRate()); 149 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); 179 audio_channel_count_from_in_mask(channels()) / sampleRate()); 195 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
|