Searched refs:count (Results 1 - 25 of 747) sorted by path

1234567891011>>

/frameworks/av/include/media/
H A DAudioEffect.h122 * count: as input, the maximum number of descriptor than should be returned
129 * indicated by count.
136 * *count number of descriptors returned if returned status is N_ERROR.
138 * NO_MEMORY. This happens if the count passed as input is less than the number
143 uint32_t *count);
H A DIAudioPolicyService.h94 uint32_t *count) = 0;
H A DToneGenerator.h258 unsigned short mCurCount; // Current sequence repeat count
264 unsigned short mLoopCounter; // Current tone loopback count
295 void getSamples(short *outBuffer, unsigned int count,
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DAudioStreamInSource.h48 virtual ssize_t read(void *buffer, size_t count);
H A DAudioStreamOutSink.h48 virtual ssize_t write(const void *buffer, size_t count);
H A DLibsndfileSink.h45 virtual ssize_t write(const void *buffer, size_t count);
H A DLibsndfileSource.h46 virtual ssize_t read(void *buffer, size_t count);
H A DMonoPipe.h28 // - write() cannot overrun; instead it will return a short actual count if insufficient space
57 virtual ssize_t write(const void *buffer, size_t count);
82 // a write that would otherwise block instead returns a short transfer count.
H A DMonoPipeReader.h50 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
H A DNBAIO.h49 // attributes, rather than a struct with separate fields for format, sample rate, channel count,
67 // Convert a sample rate in Hz and channel count to an NBAIO_Format
73 // Return the channel count of an NBAIO_Format
77 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
79 size_t count, int64_t readPTS);
149 // larger transfer count, however it will make a good faith effort to give an accurate estimate.
160 // count Maximum number of frames to transfer.
170 virtual ssize_t write(const void *buffer, size_t count) = 0;
179 // block Number of frames per block, that is a suggested value for 'count' in each callback.
195 // up to a maximum of 'count' frame
[all...]
H A DPipe.h52 virtual ssize_t write(const void *buffer, size_t count);
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count, int64_t readPTS);
/frameworks/av/include/media/stagefright/
H A DSurfaceMediaSource.h117 status_t setMaxAcquiredBufferCount(size_t count);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_CharStar.c317 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 DM4AMRR_CoreReader.c584 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/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorUtils.h70 * SAFE_MALLOC(p, type, count, comment)
75 #define SAFE_MALLOC(p, type, count, comment) \
77 (p) = (type*)M4OSA_32bitAlignedMalloc(sizeof(type)*(count), 0xFF,(M4OSA_Char*)comment);\
79 memset((void *)(p), 0,sizeof(type)*(count)); \
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c239 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 DAudioEffect.cpp419 uint32_t *count)
423 return aps->queryDefaultPreProcessing(audioSession, descriptors, count);
417 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
H A DIAudioPolicyService.cpp344 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 DIMediaDeathNotifier.cpp92 size_t count = list.size(); local
93 for (size_t iter = 0; iter < count; ++iter) {
H A DJetPlayer.cpp162 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 DMemoryLeakTrackUtil.cpp91 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 DSoundPool.cpp523 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 DToneGenerator.cpp1099 // 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...]

Completed in 3584 milliseconds

1234567891011>>