Home
last modified time | relevance | path

Searched refs:mDealer (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/
DACodecBufferChannel.cpp48 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~ACodecBufferChannel()
90 if (mDealer != nullptr) { in queueInputBuffer()
112 if (!hasCryptoOrDescrambler() || mDealer == nullptr) { in queueSecureInputBuffer()
311 if (mDealer != nullptr && mCrypto != nullptr && mHeapSeqNum >= 0) { in makeMemoryDealer()
353 mDealer = makeMemoryDealer(heapSize); in setInputBufferArray()
354 mDecryptDestination = mDealer->allocate(destinationBufferSize); in setInputBufferArray()
361 sharedEncryptedBuffer = mDealer->allocate(elem.mBuffer->capacity()); in setInputBufferArray()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp72 sp<MemoryDealer> mDealer; member
157 mDealer.clear(); in ~JDescrambler()
185 mDealer = new MemoryDealer(neededSize, "JDescrambler"); in ensureBufferCapacity()
186 mMem = mDealer->allocate(neededSize); in ensureBufferCapacity()
Dandroid_media_MediaHTTPConnection.cpp44 mDealer = new MemoryDealer(kBufferSize, "MediaHTTPConnection"); in JMediaHTTPConnection()
45 mMemory = mDealer->allocate(kBufferSize); in JMediaHTTPConnection()
Dandroid_media_MediaHTTPConnection.h49 sp<MemoryDealer> mDealer; member
/frameworks/native/libs/binder/
DMemoryDealer.cpp118 sp<MemoryDealer> mDealer; member in android::Allocation
169 : MemoryBase(heap, offset, size), mDealer(dealer) in Allocation()
224 mDealer->deallocate(freedOffset); in ~Allocation()
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h121 sp<MemoryDealer> mDealer; variable
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaFilter.h107 sp<MemoryDealer> mDealer[2]; member
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp215 CHECK(mDealer[portIndex] == NULL); in allocateBuffersOnPort()
224 mDealer[portIndex] = new MemoryDealer(totalSize, "MediaFilter"); in allocateBuffersOnPort()
227 sp<IMemory> mem = mDealer[portIndex]->allocate(bufferSize); in allocateBuffersOnPort()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp246 if (mCrypto != nullptr && mDealer != nullptr && mHeapSeqNum >= 0) { in ~CCodecBufferChannel()
914 if (mDealer == nullptr) { in start()
915 mDealer = new MemoryDealer( in start()
919 mDecryptDestination = mDealer->allocate((size_t)capacity); in start()
922 mHeapSeqNum = mCrypto->setHeap(mDealer->getMemoryHeap()); in start()
927 secure, mDealer, mCrypto, mHeapSeqNum, (size_t)capacity, in start()
DCCodecBufferChannel.h218 sp<MemoryDealer> mDealer; variable
DCCodecBuffers.cpp582 mDealer(dealer),
591 sp<IMemory> memory = mDealer->allocate(capacity);
DCCodecBuffers.h614 sp<MemoryDealer> mDealer; variable