Searched refs:allocate (Results 1 - 25 of 162) sorted by path

1234567

/frameworks/av/include/media/audiohal/
H A DEffectBufferHalInterface.h50 static status_t allocate(size_t size, sp<EffectBufferHalInterface>* buffer);
/frameworks/av/include/media/stagefright/
H A DRemoteDataSource.h86 mMemory = memoryDealer->allocate(kBufferSize);
88 ALOGE("Failed to allocate memory!");
/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp50 void allocate(int maxFrames) { function in class:AudioRecorder
385 loopbackData.audioRecorder.allocate(NUM_SECONDS * SAMPLE_RATE);
/frameworks/av/media/libaudiohal/
H A DEffectBufferHalHidl.cpp41 status_t EffectBufferHalInterface::allocate( function in class:android::EffectBufferHalInterface
75 Return<void> result = ashmem->allocate(
95 ALOGE("Failed to allocate %d bytes from ashmem", (int)mBufferSize);
H A DEffectBufferHalLocal.cpp27 status_t EffectBufferHalInterface::allocate( function in class:android::EffectBufferHalInterface
/frameworks/av/media/libaudiohal/include/
H A DEffectBufferHalInterface.h50 static status_t allocate(size_t size, sp<EffectBufferHalInterface>* buffer);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize);
/frameworks/av/media/libstagefright/
H A DACodec.cpp859 // Always allocate VideoNativeMetadata if using ANWBuffer.
944 auto transStatus = mAllocator[portIndex]->allocate(
967 mem = mDealer[portIndex]->allocate(bufSize);
993 // if we require conversion, allocate conversion buffer for client use;
999 mAllocator[portIndex]->allocate(
1014 mem = mDealer[portIndex]->allocate(
1174 // For now, try to allocate 1 more buffer, but don't fail if unsuccessful
1178 // 1. allocate at least nBufferCountMin + minUndequeuedBuffers - that is the
1180 // 2. try to allocate two (2) additional buffers to reduce starvation from
6766 ALOGE("Failed to allocate buffer
[all...]
H A DACodecBufferChannel.cpp305 mDecryptDestination = mDealer->allocate(destinationBufferSize);
312 sharedEncryptedBuffer = mDealer->allocate(elem.mBuffer->capacity());
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp227 sp<IMemory> mem = mDealer[portIndex]->allocate(bufferSize);
/frameworks/av/media/libstagefright/foundation/
H A DMediaBuffer.cpp65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl));
67 ALOGW("Failed to allocate shared memory, trying regular allocation!");
H A DMediaBufferGroup.cpp59 sp<IMemory> mem = memoryDealer->allocate(augmented_size);
180 ALOGV("allocate buffer, requested size %zu", requestedSize);
/frameworks/av/media/libstagefright/foundation/include/
H A DRemoteDataSource.h86 mMemory = memoryDealer->allocate(kBufferSize);
88 ALOGE("Failed to allocate memory!");
/frameworks/av/media/libstagefright/include/
H A DRemoteDataSource.h86 mMemory = memoryDealer->allocate(kBufferSize);
88 ALOGE("Failed to allocate memory!");
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp236 // Ensure internal buffers can hold specified size, and will re-allocate
827 newMem = newDealer->allocate(neededSize);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp225 auto transStatus = mAllocator->allocate(def.nBufferSize,
235 "Cannot allocate memory");
238 buffer.mMemory = mDealer->allocate(def.nBufferSize);
340 // Now allocate buffers.
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp250 allocate(mOffset + 1);
257 allocate(mOffset + 1);
264 allocate(mOffset + 2);
272 allocate(mOffset + 2);
280 allocate(mOffset + 4);
290 allocate(mOffset + 4);
300 allocate(mOffset + 8);
314 allocate(mOffset + 8);
460 allocate(length + MTP_CONTAINER_HEADER_SIZE);
480 allocate(totalLengt
[all...]
H A DMtpPacket.cpp50 allocate(MTP_CONTAINER_HEADER_SIZE);
55 void MtpPacket::allocate(size_t length) { function in class:android::MtpPacket
89 allocate(length);
H A DMtpPacket.h47 void allocate(size_t length);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp588 sp<IMemory> shared = mLogMemoryDealer->allocate(NBLog::Timeline::sharedSize(size));
604 shared = mLogMemoryDealer->allocate(NBLog::Timeline::sharedSize(size));
H A DEffects.cpp1169 mCblkMemory = client->heap()->allocate(EFFECT_PARAM_BUFFER_SIZE + bufOffset);
1705 status_t result = EffectBufferHalInterface::allocate(
H A DThreads.cpp201 // Initially this heap is used to allocate client buffers for "fast" AudioRecord.
2802 status_t result = EffectBufferHalInterface::allocate(
5994 (pipeMemory = roHeap->allocate(pipeSize)) == 0 ||
7267 // Over-allocate beyond mRsmpInFramesP2 to permit a HAL read past end of buffer
H A DTracks.cpp137 mCblkMemory = client->heap()->allocate(size);
160 (mBufferMemory = roHeap->allocate(bufferSize)) == 0 ||
439 // only allocate a fast track index if we were able to allocate a normal track name
448 // FIXME This is too eager. We allocate a fast track index before the
451 // being created. It would be better to allocate the index dynamically.
1363 // If we could not write all frames, allocate a buffer and queue it for next time.
/frameworks/av/services/oboeservice/
H A DAAudioMixer.cpp32 void AAudioMixer::allocate(int32_t samplesPerFrame, int32_t framesPerBurst) { function in class:AAudioMixer
H A DAAudioMixer.h30 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);

Completed in 292 milliseconds

1234567