/frameworks/av/media/libmediaplayerservice/ |
H A D | MidiFile.cpp | 442 EAS_I32 count; local 483 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 487 p += count * pLibConfig->numChannels; 488 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 * mFrameSize), count * mFrameSize); 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 | 67 ssize_t AudioStreamInSource::read(void *buffer, size_t count, int64_t readPTS __unused) argument 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize);
|
H A D | AudioStreamOutSink.cpp | 53 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) argument 59 ssize_t ret = mStream->write(mStream, buffer, count * mFrameSize);
|
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 | 117 ssize_t MonoPipe::write(const void *buffer, size_t count) argument 123 while (count > 0) { 127 if (CC_LIKELY(written > count)) { 128 written = count; 149 count -= written; 177 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 | 79 size_t count = total - accumulator; local 80 if (count > block) { 81 count = block; 83 ssize_t ret = via(user, buffer, count); 85 ALOG_ASSERT((size_t) ret <= count); 116 size_t count = total - accumulator; local 117 if (count > block) { 118 count = block; 120 ssize_t ret = read(buffer, count, readPTS); 122 ALOG_ASSERT((size_t) ret <= count); [all...] |
H A D | Pipe.cpp | 46 ssize_t Pipe::write(const void *buffer, size_t count) argument 48 // count == 0 is unlikely and not worth checking for 55 if (CC_LIKELY(written > count)) { 56 written = count; 60 if (CC_UNLIKELY((count -= written) > rear)) { 61 count = rear; 63 if (CC_LIKELY(count > 0)) { 64 memcpy(mBuffer, (char *) buffer + (written * mFrameSize), count * mFrameSize); 65 written += count;
|
H A D | PipeReader.cpp | 62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS __unused) 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 * mFrameSize), mPipe.mBuffer, count * mFrameSize); 87 red += count; [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 200 uint32_t count() const { return mTotalNumTableEntries; } function in struct:android::MPEG4Writer::Track::ListTableEntries 432 snprintf(buffer, SIZE, " frames encoded : %d\n", mStszTableEntries->count()); 1390 ? mStcoTableEntries->count() 1391 : mCo64TableEntries->count()); 1393 int64_t stszBoxSizeBytes = mSamplesHaveSameSize? 4: (mStszTableEntries->count() * 4); 1399 mEstimatedTrackSizeBytes += mStscTableEntries->count() * 12 + // stsc box size 1400 mStssTableEntries->count() * 4 + // stss box size 1401 mSttsTableEntries->count() * 8 + // stts box size 1402 mCttsTableEntries->count() * 8 + // ctts box size 2078 int32_t count local 2375 uint32_t count = (mOwner->use32BitFileOffset() local [all...] |
H A D | SurfaceMediaSource.cpp | 156 ALOGE("Failed to find the advertised buffer count"); 183 status_t SurfaceMediaSource::setMaxAcquiredBufferCount(size_t count) { argument 184 ALOGV("setMaxAcquiredBufferCount(%zu)", count); 187 CHECK_GT(count, 1); 188 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...] |
H A D | ton_stab.h | 95 Word16 count; member in struct:__anon388
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 935 int count = 0; local 944 if ((count > 1) && (*ptr == 0x01)) 951 count = 0; 953 count++; 970 int count = 0; local 980 if ((count > 1) && ((*ptr & 0xFC) == 0x80)) 987 count = 0; 989 count++;
|
H A D | vlc_decode.cpp | 1475 int count, len, num[2] = {0, 0} /* 01/30/01 */; local 1501 count = 1; 1502 while (mask && count > 0) /* fix 3/28/01 */ 1506 count--; 1514 count = 2; 1515 while (mask && count > 0) /* fix 3/28/01 */ 1519 count--; 1521 num[count-1]++; /* number of ones in the middle */ 1558 int count, len, num[2] = {0, 0} /* 01/30/01 */; local 1584 count [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1909 Int i, j, count = 0, count1 = 0; local 1916 mb[0][count] = (Int)(*c_prev++); 1917 mb[4][count] = (Int)(*c_prev_u++); 1918 mb[5][count++] = (Int)(*c_prev_v++); 1931 count = count1 = 0; 1935 mb[2][count++] = (Int)(*c_prev++);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_PredictIntra_16x16_s.s | 70 count RN 12 label 210 MOV count, #0 ;// count = 0 214 ADD count, count, #1 ;// if upper inc count by 1 255 ADD count, count, #1 ;// Inc Counter if Left is available 289 CMP count, #0 ;// if(count [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
H A D | omxVCM4P10_PredictIntra_16x16_s.s | 68 count RN 11 label 257 MOV count, #0 ;// count = 0 282 ADD count, count, #1 292 ADD count, count, #1 ;// if upper inc count by 1 300 CMP count, #2 ;// check if both available 308 CMP count, # [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_ComputeTextureErrorBlock.c | 77 OMX_INT x, y, count; local 89 for (y = 0, count = 0; 93 for (x = 0; x < 8; x++, count++) 95 pDst[count] = pSrc[x] - pSrcRef[count];
|
H A D | omxVCCOMM_ComputeTextureErrorBlock_SAD.c | 80 OMX_INT x, y, count; local 93 for (y = 0, count = 0, *pDstSAD = 0; 97 for (x = 0; x < 8; x++, count++) 99 pDst[count] = pSrc[x] - pSrcRef[count]; 100 *pDstSAD += armAbs(pDst[count]);
|
H A D | omxVCCOMM_Copy16x16.c | 75 OMX_INT count,index, x, y; local 86 for (y = 0, count = 0, index = 0; y < 16; y++, count = count + step - 16) 88 for (x = 0; x < 16; x++, count++, index++) 90 pDst[index] = pSrc[count];
|
H A D | omxVCCOMM_Copy8x8.c | 75 OMX_INT count,index, x, y; local 86 for (y = 0, count = 0, index = 0; y < 8; y++, count = count + step - 8) 88 for (x = 0; x < 8; x++, count++, index++) 90 pDst[index] = pSrc[count];
|