HomeSort by relevance Sort by last modified time
    Searched defs:numChannels (Results 1 - 25 of 42) sorted by null

1 2

  /packages/apps/Camera/jni/feature_mos/src/mosaic/
Pyramid.h 36 real numChannels; // Number of channels in input images
  /system/media/wilhelm/src/itf/
IMuteSolo.c 33 SLuint8 numChannels = ap->mNumChannels;
34 if (1 >= numChannels) {
37 } else if (numChannels <= chan) {
73 SLuint8 numChannels = ap->mNumChannels;
74 if (1 >= numChannels) {
77 } else if (numChannels <= chan) {
105 SLuint8 numChannels = ap->mNumChannels;
106 if (1 >= numChannels) {
109 } else if (numChannels <= chan) {
145 SLuint8 numChannels = ap->mNumChannels
    [all...]
  /frameworks/base/media/libstagefright/rtsp/
ARawAudioAssembler.cpp 134 int32_t sampleRate, numChannels;
136 desc, &sampleRate, &numChannels);
139 format->setInt32(kKeyChannelCount, numChannels);
APacketSource.cpp 498 int32_t sampleRate, numChannels;
500 desc.c_str(), &sampleRate, &numChannels);
503 mFormat->setInt32(kKeyChannelCount, numChannels);
514 int32_t sampleRate, numChannels;
516 desc.c_str(), &sampleRate, &numChannels);
519 mFormat->setInt32(kKeyChannelCount, numChannels);
521 if (sampleRate != 8000 || numChannels != 1) {
527 int32_t sampleRate, numChannels;
529 desc.c_str(), &sampleRate, &numChannels);
532 mFormat->setInt32(kKeyChannelCount, numChannels);
    [all...]
ARTPWriter.cpp 475 int32_t sampleRate, numChannels;
477 CHECK(mSource->getFormat()->findInt32(kKeyChannelCount, &numChannels));
479 CHECK_EQ(numChannels, 1);
483 sdp.append(StringPrintf("/%d/%d", sampleRate, numChannels));
  /external/srec/audio/AudioIn/UNIX/src/
audioinwrapper.cpp 61 static int numChannels = 1;
71 numChannels = channel_count;
102 (numChannels > 1) ? AUDIO_CHANNEL_IN_STEREO : AUDIO_CHANNEL_IN_MONO,
  /frameworks/base/media/libmedia/
IMediaPlayerService.cpp 150 int numChannels;
152 sp<IMemory> player = decode(url, &sampleRate, &numChannels, &format);
154 reply->writeInt32(numChannels);
165 int numChannels;
167 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format);
169 reply->writeInt32(numChannels);
  /frameworks/base/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp 124 int32_t numChannels, sampleRate;
125 CHECK(meta->findInt32(kKeyChannelCount, &numChannels));
128 msg->setInt32("channel-count", numChannels);
NuPlayer.cpp 324 int32_t numChannels;
325 CHECK(codecRequest->findInt32("channel-count", &numChannels));
331 sampleRate, numChannels);
336 numChannels,
  /system/media/wilhelm/tests/sandbox/
configbq.c 28 SLuint8 numChannels;
98 for (format = formats; format->numChannels; ++format) {
100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels,
109 format_pcm.numChannels = format->numChannels;
150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) /
154 if (2 == format->numChannels) {
166 assert(1 == format->numChannels);
intbufq.c 113 pcm.numChannels = 2;
140 SLuint8 numChannels = 123;
141 result = (*playerMuteSolo)->GetNumChannels(playerMuteSolo, &numChannels);
142 assert(2 == numChannels);
  /cts/tests/tests/media/src/android/media/cts/
AudioTrack_ListenerTest.java 113 final int numChannels = (TEST_CONF == AudioFormat.CHANNEL_CONFIGURATION_STEREO) ? 2 : 1;
115 final int bytesPerFrame = numChannels * bytesPerSample;
  /external/sonivox/arm-fm-22k/host_src/
eas.h 54 EAS_I32 numChannels;
    [all...]
  /external/sonivox/arm-hybrid-22k/host_src/
eas.h 54 EAS_I32 numChannels;
    [all...]
  /external/sonivox/arm-wt-22k/host_src/
eas.h 54 EAS_I32 numChannels;
    [all...]
  /frameworks/base/media/libstagefright/
AudioPlayer.cpp 113 int32_t numChannels;
114 success = format->findInt32(kKeyChannelCount, &numChannels);
119 mSampleRate, numChannels, AUDIO_FORMAT_PCM_16_BIT,
142 (numChannels == 2)
ACodec.cpp 750 int32_t numChannels, sampleRate;
751 CHECK(msg->findInt32("channel-count", &numChannels));
754 CHECK_EQ(setupAACDecoder(numChannels, sampleRate), (status_t)OK);
764 int32_t numChannels;
765 CHECK(msg->findInt32("channel-count", &numChannels));
767 CHECK_EQ(setupG711Decoder(numChannels), (status_t)OK);
817 status_t ACodec::setupAACDecoder(int32_t numChannels, int32_t sampleRate) {
829 profile.nChannels = numChannels;
859 status_t ACodec::setupG711Decoder(int32_t numChannels) {
861 kPortIndexInput, 8000 /* sampleRate */, numChannels);
    [all...]
  /frameworks/media/libvideoeditor/lvpp/
AudioPlayerBase.cpp 107 int32_t numChannels;
108 success = format->findInt32(kKeyChannelCount, &numChannels);
113 mSampleRate, numChannels, AUDIO_FORMAT_PCM_16_BIT,
136 (numChannels == 2)
VideoEditorAudioPlayer.cpp 297 int32_t numChannels;
298 success = format->findInt32(kKeyChannelCount, &numChannels);
303 mSampleRate, numChannels, AUDIO_FORMAT_PCM_16_BIT,
326 (numChannels == 2)
  /system/media/wilhelm/tests/listening/
slesTest_playMuteSolo.cpp 107 SLuint8 numChannels = 0;
108 SLresult res = (*muteSolo)->GetNumChannels(muteSolo, &numChannels); ExitOnError(res);
109 //fprintf(stdout, "Content has %d channel(s)\n", numChannels);
117 if (numChannels > 1) { // SLMuteSoloItf only works if more than one channel
137 if (numChannels > 1) { // SLMuteSoloItf only works if more than one channel
278 SLuint8 numChannels = 123;
279 result = (*muteSoloItf)->GetNumChannels(muteSoloItf, &numChannels);
280 printf("GetNumChannels after Realize but before pre-fetch: result=%u, numChannels=%u\n",
281 result, numChannels);
327 numChannels = 123
    [all...]
  /frameworks/base/cmds/stagefright/
sf2.cpp 276 int32_t numChannels, sampleRate;
277 CHECK(meta->findInt32(kKeyChannelCount, &numChannels));
280 msg->setInt32("channel-count", numChannels);
  /frameworks/base/media/jni/soundpool/
SoundPool.cpp 498 int numChannels;
503 p = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format);
505 p = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format);
514 LOGV("pointer = %p, size = %u, sampleRate = %u, numChannels = %d",
515 p->pointer(), p->size(), sampleRate, numChannels);
522 if ((numChannels < 1) || (numChannels > 2)) {
523 LOGE("Sample channel count (%d) out of range", numChannels);
534 mNumChannels = numChannels;
580 int numChannels = sample->numChannels()
    [all...]
SoundPool.h 57 int numChannels() { return mNumChannels; }
68 void init(int numChannels, int sampleRate, int format, size_t size, sp<IMemory> data ) {
69 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; mData = data; }
137 int numChannels() { return mNumChannels; }
  /frameworks/base/media/libstagefright/mpeg2ts/
ESQueue.cpp 336 int32_t numChannels;
338 CHECK(mFormat->findInt32(kKeyChannelCount, &numChannels));
341 sampleRate, numChannels);
579 int samplingRate, numChannels, bitrate, numSamples;
581 header, &frameSize, &samplingRate, &numChannels,
606 mFormat->setInt32(kKeyChannelCount, numChannels);
  /external/webkit/Source/WebCore/platform/graphics/
GraphicsContext3D.cpp     [all...]

Completed in 378 milliseconds

1 2