/hardware/msm7k/libaudio-qdsp5v2/ |
AudioHardware.cpp | 63 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 78 status_t rc = out->set(this, devices, format, channels, sampleRate); 103 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, 186 if (lChannels == 0) lChannels = channels(); 191 (lChannels != channels()) || 194 if (pChannels) *pChannels = channels(); 241 config.channel_count = AudioSystem::popCount(channels());
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
psy_main.c | 189 Word16 channels, 194 Word32 channelBitRate = bitRate/channels; 203 err = InitTnsConfigurationLong(bitRate, sampleRate, channels, 213 err = InitTnsConfigurationShort(bitRate, sampleRate, channels, 218 for(ch=0;ch < channels;ch++){ 221 bitRate, channels); 257 Word16 ch; /* counts through channels */ 260 Word16 channels; local 263 channels = elemInfo->nChannelsInEl; 267 for(ch = 0; ch < channels; ch++) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macwm.c | 181 short channels = pTableGammaTemp->gChanCnt; local 183 if (3 == channels) /* RGB format */ 185 for (indexChan = 0; indexChan < channels; indexChan++) 192 for (indexChan = 0; indexChan < 768; indexChan += 256) /* repeat for all 3 channels (step by ramp size) */ 285 static Ptr CreateEmptyGammaTable (short channels, short entries, short bits) 291 tableSize = sizeof (GammaTbl) + (channels * entries * dataWidth); 299 pTableGammaOut->gChanCnt = channels; 315 short dataBits, entries, channels = 3; /* force three channels in the gamma table */ local 324 pTableGammaNew = (GammaTblPtr) CreateEmptyGammaTable (channels, entries, dataBits); /* our new table * [all...] |
/external/aac/libAACenc/src/ |
psy_main.cpp | 445 AAC_ENCODER_ERROR FDKaacEnc_psyMain(INT channels, 458 INT ch; /* counts through channels */ 500 for(ch = 0; ch < channels; ch++) 514 for(ch = 0; ch < channels; ch++) 543 channels, 552 for(ch = 0; ch < channels; ch++) 562 for(ch = 0; ch < channels; ch++) 566 for(ch = 0; ch < channels; ch++) 597 /* Transform and get mdctScaling for all channels and windows. */ 598 for(ch = 0; ch < channels; ch++ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/mint/ |
SDL_mintaudio_mcsn.c | 225 DEBUG_PRINT(("channels=%d, ", spec->channels)); 228 if (spec->channels > 2) { 229 spec->channels = 2; /* no more than stereo! */ 236 spec->channels=1; 271 spec->channels=2; /* 16 bits always stereo */ 291 DEBUG_PRINT(("channels=%d, ", spec->channels)); 316 if (spec->channels==2) {
|
/external/webkit/Source/WebCore/platform/graphics/ |
ContextShadow.cpp | 112 int channels[4] = { 0, 3, 2, 0 }; local 114 int channels[4] = { 1, 2, 3, 1 }; 116 int channels[4] = { 3, 0, 1, 3 }; 148 int alpha1 = pixels[channels[step]]; 149 int alpha2 = pixels[(dim - 1) * stride + channels[step]]; 150 unsigned char* ptr = pixels + channels[step + 1]; 151 unsigned char* prev = pixels + stride + channels[step]; 152 unsigned char* next = pixels + ofs * stride + channels[step]; 167 prev = pixels + channels[step];
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 18 package libcore.java.nio.channels; 29 import java.nio.channels.NoConnectionPendingException; 30 import java.nio.channels.NotYetConnectedException; 31 import java.nio.channels.SelectionKey; 32 import java.nio.channels.ServerSocketChannel; 33 import java.nio.channels.SocketChannel; 34 import java.nio.channels.UnresolvedAddressException; 35 import java.nio.channels.UnsupportedAddressTypeException; 36 import java.nio.channels.spi.SelectorProvider;
|
/device/ti/panda/ |
media_profiles.xml | 39 <!ATTLIST Audio channels (1|2) #REQUIRED> 92 channels="1" /> 105 channels="1" /> 128 channels="1" /> 141 channels="1" />
|
/external/tinyalsa/ |
tinyplay.c | 63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, 163 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, 173 config.channels = channels; 201 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits);
|
/external/webkit/Source/WebCore/platform/audio/ |
AudioBus.h | 41 // An AudioBus with one channel is mono, an AudioBus with two channels is stereo, etc. 68 // Channels 82 // Zeroes all channels. 100 // Creates a new AudioBus by mixing all the channels down to mono. 127 // Returns maximum absolute value across all channels (useful for normalization).
|
/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
|
/libcore/luni/src/main/java/java/nio/channels/ |
ServerSocketChannel.java | 18 package java.nio.channels; 22 import java.nio.channels.spi.AbstractSelectableChannel; 23 import java.nio.channels.spi.SelectorProvider; 64 * Gets the valid operations of this channel. Server-socket channels support 68 * @see java.nio.channels.SelectableChannel#validOps()
|
/external/wpa_supplicant_8/src/ap/ |
hw_features.c | 39 os_free(hw_features[i].channels); 73 /* set flag for channels we can use in current regulatory 77 * Disable all channels that are marked not to allow 79 * disable all channels that require radar detection, 83 if (feature->channels[j].flag & 87 feature->channels[j].flag |= 89 if (feature->channels[j].flag & HOSTAPD_CHAN_DISABLED) 94 feature->channels[j].chan, 95 feature->channels[j].freq, 96 feature->channels[j].max_tx_power) [all...] |
/external/libvorbis/doc/vorbisenc/ |
vorbis_encode_init.html | 30 long channels, 46 <dt><i>channels</i></dt> 47 <dd>The number of channels to be encoded.</dd>
|
vorbis_encode_setup_managed.html | 44 long channels, 60 <dt><i>channels</i></dt> 61 <dd>The number of channels to be encoded.</dd>
|
vorbis_encode_setup_vbr.html | 38 long channels, 52 <dt><i>channels</i></dt> 53 <dd>The number of channels to be encoded.</dd>
|
vorbis_info.html | 30 int channels; 49 <dt><i>channels</i></dt> 50 <dd>Int signifying number of channels in bitstream.</dd>
|
/external/libvorbis/include/vorbis/ |
vorbisenc.h | 47 * \param channels The number of channels to be encoded. 61 long channels, 84 * \param channels The number of channels to be encoded. 98 long channels, 118 * \param channels The number of channels to be encoded. 130 long channels, 146 * \param channels The number of channels to be encoded [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
FreeBox.java | 27 import java.nio.channels.FileChannel; 28 import java.nio.channels.ReadableByteChannel; 29 import java.nio.channels.WritableByteChannel;
|
/external/opencv/cxcore/src/ |
cxrand.cpp | 453 int type, depth, channels; local 506 channels = CV_MAT_CN( type ); 507 size.width *= channels; 513 for( i = 0, fast_int_mode = 1; i < channels; i++ ) 525 for( i = 0; i < channels; i++ ) 530 int t0 = iparam[0][i - channels]; 531 int t1 = iparam[1][i - channels]; 542 for( i = 0; i < channels; i++ ) 556 for( i = 0; i < channels; i++ ) 574 for( i = channels; i < 12; i++ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_audio.c | 437 if ( desired->channels == 0 ) { 440 desired->channels = (Uint8)SDL_atoi(env); 443 if ( desired->channels == 0 ) { 444 /* Pick a default number of channels */ 445 desired->channels = 2; 447 switch ( desired->channels ) { 454 SDL_SetError("1 (mono) and 2 (stereo) channels supported"); 524 desired->channels != audio->spec.channels ) { 527 desired->format, desired->channels, [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
FakeWindowImpl.java | 47 InputChannel[] channels = InputChannel.openInputChannelPair(name); local 48 mServerChannel = channels[0]; 49 mClientChannel = channels[1];
|
/frameworks/wilhelm/tests/sandbox/ |
playbq.c | 88 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which]; 92 memset(buffer, 0, framesPerBuffer * sfinfo.channels * sizeof(short)); 97 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); 118 short *temp = (short *) malloc(READ_FRAMES * sfinfo.channels * sizeof(short)); 135 ptr += actual * sfinfo.channels; 240 const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo.channels); 243 switch (sfinfo.channels) { 248 fprintf(stderr, "unsupported channel count %d\n", sfinfo.channels); 287 buffers = (short *) malloc(framesPerBuffer * sfinfo.channels * sizeof(short) * numBuffers); 328 format_pcm.numChannels = sfinfo.channels; [all...] |
playbq.cpp | 88 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which]; 92 memset(buffer, 0, framesPerBuffer * sfinfo.channels * sizeof(short)); 97 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); 118 short *temp = (short *) malloc(READ_FRAMES * sfinfo.channels * sizeof(short)); 135 ptr += actual * sfinfo.channels; 240 const android::NBAIO_Format nbaio_format = android::Format_from_SR_C(44100, sfinfo.channels); 243 switch (sfinfo.channels) { 248 fprintf(stderr, "unsupported channel count %d\n", sfinfo.channels); 287 buffers = (short *) malloc(framesPerBuffer * sfinfo.channels * sizeof(short) * numBuffers); 328 format_pcm.numChannels = sfinfo.channels; [all...] |
/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.h | 58 uint32_t *channels=0, 66 uint32_t *channels, 88 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } function in class:android_audio_legacy::A2dpAudioInterface::A2dpAudioStreamOut
|