/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_CharStar.c | 317 M4OSA_UInt32 count; local 334 /* count the number of %[flags][width][.precision]ll[conversion] */ 383 count = count_ll + count_tm + count_aa; 385 if(!count)
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4AMRR_CoreReader.c | 584 M4OSA_UInt32 count, prevAU, nextAU ; local 611 count = 0 ; 650 pStreamContext->m_pSeekIndex[count++]=position; 651 while(count < M4AMRR_NUM_SEEK_ENTRIES ) 687 pStreamContext->m_pSeekIndex[count++] = position; 784 count = 0 ; 787 while(count < position ) 802 count++;
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 239 size_t count = inBuffer->frameCount; local 241 count *= 2; 242 while (count--) { 246 while (count--) { 1348 // Convert milliseconds to sample count => m_nEarlyDelay 1392 // Convert milliseconds to sample count => m_nDelay1Out + m_nMaxExcursion
|
/frameworks/av/media/libmedia/ |
H A D | AudioEffect.cpp | 419 uint32_t *count) 423 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); 417 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
|
H A D | IAudioPolicyService.cpp | 344 uint32_t *count) 346 if (descriptors == NULL || count == NULL) { 352 data.writeInt32(*count); 360 uint32_t numDesc = (retCount < *count) ? retCount : *count; 363 *count = retCount; 615 uint32_t count = data.readInt32(); local 616 uint32_t retCount = count; 618 (effect_descriptor_t *)new char[count * sizeof(effect_descriptor_t)]; 626 if (retCount < count) { 342 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument [all...] |
H A D | IMediaDeathNotifier.cpp | 92 size_t count = list.size(); local 93 for (size_t iter = 0; iter < count; ++iter) {
|
H A D | JetPlayer.cpp | 162 EAS_I32 count; local 207 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 211 p += count * pLibConfig->numChannels; 212 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|
H A D | MemoryLeakTrackUtil.cpp | 91 size_t count = overallSize / infoSize; local 93 snprintf(buffer, SIZE, " Allocation count %i\n", count); 98 AllocEntry * entries = new AllocEntry[count]; 100 for (size_t i = 0; i < count; i++) { 119 for (size_t i = 0; i < (count - 1); i++) { 142 for (size_t i = 0; i < count; i++) {
|
H A D | SoundPool.cpp | 523 ALOGE("Sample channel count (%d) out of range", numChannels); 728 size_t count = 0; local 732 count = sample->size() - mPos; 733 if (count > b->size) { 734 count = b->size; 736 memcpy(q, p, count); 737 // ALOGV("fill: q=%p, p=%p, mPos=%u, b->size=%u, count=%d", q, p, mPos, b->size, count); 739 count = mAudioBufferSize - mPos; 740 if (count > [all...] |
H A D | ToneGenerator.cpp | 1099 // Update pcm frame count and end time (current time at the end of this process) 1193 // Pre increment loop count and restart if total count not reached. Stop sequence otherwise 1518 // Description: Generates count samples of a sine wave and accumulates 1523 // count: number of samples to produce. 1531 unsigned int count, unsigned int command) { 1549 if (count == 0) { 1552 long dec = lAmplitude/count; 1554 while (count--) { 1565 while (count 1530 getSamples(short *outBuffer, unsigned int count, unsigned int command) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MidiFile.cpp | 434 EAS_I32 count; local 475 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 479 p += count * pLibConfig->numChannels; 480 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 50 size_t count, 57 mBuffer.frameCount = count; 66 if (CC_UNLIKELY(count > available)) { 67 count = available; 69 // count could be zero, either because count was zero on entry or 71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed << mBitShift), count << mBitShift); 72 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { 77 mFramesRead += count; 78 // For better responsiveness with large values of count, 49 read(void *buffer, size_t count, int64_t readPTS) argument 95 size_t count = total - accumulator; local [all...] |
H A D | AudioStreamInSource.cpp | 68 ssize_t AudioStreamInSource::read(void *buffer, size_t count) argument 73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift);
|
H A D | AudioStreamOutSink.cpp | 54 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) argument 60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift);
|
H A D | LibsndfileSink.cpp | 37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) argument 45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count);
|
H A D | LibsndfileSource.cpp | 46 ssize_t LibsndfileSource::read(void *buffer, size_t count) argument 54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count);
|
H A D | MonoPipe.cpp | 96 ssize_t MonoPipe::write(const void *buffer, size_t count) argument 102 while (count > 0) { 106 if (CC_LIKELY(written > count)) { 107 written = count; 128 count -= written; 156 ns = count * (1350000000 / Format_sampleRate(mFormat));
|
H A D | MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count, int64_t readPTS) argument 50 // with a count (which is the number of audio frames they are going to 52 // by the duration of count will give us the readPTS which will be passed to 57 nextReadPTS = mPipe->offsetTimestampByAudioFrames(readPTS, count); 59 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically 67 if (CC_LIKELY((size_t) red > count)) { 68 red = count;
|
H A D | NBAIO.cpp | 110 size_t count = total - accumulator; local 111 if (count > block) { 112 count = block; 114 ssize_t ret = via(user, buffer, count); 116 ALOG_ASSERT((size_t) ret <= count); 147 size_t count = total - accumulator; local 148 if (count > block) { 149 count = block; 151 ssize_t ret = read(buffer, count, readPTS); 153 ALOG_ASSERT((size_t) ret <= count); [all...] |
H A D | Pipe.cpp | 43 ssize_t Pipe::write(const void *buffer, size_t count) argument 45 // count == 0 is unlikely and not worth checking for 52 if (CC_LIKELY(written > count)) { 53 written = count; 57 if (CC_UNLIKELY((count -= written) > rear)) { 58 count = rear; 60 if (CC_LIKELY(count > 0)) { 61 memcpy(mBuffer, (char *) buffer + (written << mBitShift), count << mBitShift); 62 written += count;
|
H A D | PipeReader.cpp | 62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS) argument 70 if (CC_LIKELY(count > (size_t) avail)) { 71 count = avail; 75 if (CC_LIKELY(red > count)) { 76 red = count; 82 if (CC_UNLIKELY((count -= red) > front)) { 83 count = front; 85 if (CC_LIKELY(count > 0)) { 86 memcpy((char *) buffer + (red << mBitShift), mPipe.mBuffer, count << mBitShift); 87 red += count; [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 186 uint32_t count() const { return mTotalNumTableEntries; } function in struct:android::MPEG4Writer::Track::ListTableEntries 417 snprintf(buffer, SIZE, " frames encoded : %d\n", mStszTableEntries->count()); 1272 ? mStcoTableEntries->count() 1273 : mCo64TableEntries->count()); 1275 int64_t stszBoxSizeBytes = mSamplesHaveSameSize? 4: (mStszTableEntries->count() * 4); 1281 mEstimatedTrackSizeBytes += mStscTableEntries->count() * 12 + // stsc box size 1282 mStssTableEntries->count() * 4 + // stss box size 1283 mSttsTableEntries->count() * 8 + // stts box size 1284 mCttsTableEntries->count() * 8 + // ctts box size 1967 int32_t count local 2219 uint32_t count = (mOwner->use32BitFileOffset() local [all...] |
H A D | SurfaceMediaSource.cpp | 154 ALOGE("Failed to find the advertised buffer count"); 181 status_t SurfaceMediaSource::setMaxAcquiredBufferCount(size_t count) { argument 182 ALOGV("setMaxAcquiredBufferCount(%d)", count); 185 CHECK_GT(count, 1); 186 mMaxAcquiredBufferCount = count;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | stat_bits.c | 46 * description: count ms stereo bits demand 75 * description: count tns bit demand core function 84 Word32 count; local 88 count = 0; 105 /*count += 1; */ 109 count += 1; 111 count += 2; 114 count += 1; 117 count += 4; 118 count [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | dtx_enc.cpp | 64 1. Modified FOR loops to count down. 226 CLOCK CYCLES: (cycle count equation for this function) + (variable 227 used to represent cycle count for each subroutine 229 where: (cycle count variable) = cycle count for [subroutine 347 CLOCK CYCLES: (cycle count equation for this function) + (variable 348 used to represent cycle count for each subroutine 350 where: (cycle count variable) = cycle count for [subroutine 454 CLOCK CYCLES: (cycle count equatio 1126 Word16 count; local [all...] |