Lines Matching refs:mMemory

720             mMemory(numBuffers),  in QCamera3ProcessingChannel()
736 int32_t rc = m_postprocessor.init(&mMemory, mPostProcMask); in QCamera3ProcessingChannel()
819 resultBuffer = (buffer_handle_t *)mMemory.getBufferHandle(frameIndex); in streamCbRoutine()
820 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
840 rc = mMemory.unregisterBuffer(frameIndex); in streamCbRoutine()
872 mMemory.deallocate(); in putStreamBufs()
950 index = mMemory.getMatchBufIndex((void*)buffer); in request()
959 index = mMemory.getMatchBufIndex((void*)buffer); in request()
970 rc = mMemory.markFrameNumber(index, frameNumber); in request()
1024 if ((uint32_t)mMemory.getCnt() > (mNumBufs - 1)) { in registerBuffer()
1038 rc = mMemory.registerBuffer(buffer, streamType); in registerBuffer()
1209 return &mMemory; in getStreamBufs()
1223 mMemory.unregisterBuffers(); in putStreamBufs()
1868 index = mMemory.getMatchBufIndex((void*)buffer); in request()
1877 index = mMemory.getMatchBufIndex((void*)buffer); in request()
1890 rc = mMemory.markFrameNumber((uint32_t)index, frameNumber); in request()
1919 mMemory(NULL) in QCamera3MetadataChannel()
1927 if (mMemory) { in ~QCamera3MetadataChannel()
1928 mMemory->deallocate(); in ~QCamera3MetadataChannel()
1929 delete mMemory; in ~QCamera3MetadataChannel()
1930 mMemory = NULL; in ~QCamera3MetadataChannel()
1940 if (mMemory || m_numStreams > 0) { in initialize()
1991 mMemory = new QCamera3StreamMem(MIN_STREAMING_BUFFER_NUM); in getStreamBufs()
1992 if (!mMemory) { in getStreamBufs()
1996 rc = mMemory->allocateAll(len); in getStreamBufs()
1999 delete mMemory; in getStreamBufs()
2000 mMemory = NULL; in getStreamBufs()
2003 clear_metadata_buffer((metadata_buffer_t*)mMemory->getPtr(0)); in getStreamBufs()
2004 return mMemory; in getStreamBufs()
2009 mMemory->deallocate(); in putStreamBufs()
2010 delete mMemory; in putStreamBufs()
2011 mMemory = NULL; in putStreamBufs()
2076 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
2248 mMemory(NULL) in QCamera3RawDumpChannel()
2370 mMemory = new QCamera3StreamMem(mNumBuffers); in getStreamBufs()
2372 if (!mMemory) { in getStreamBufs()
2376 rc = mMemory->allocateAll((size_t)len); in getStreamBufs()
2379 delete mMemory; in getStreamBufs()
2380 mMemory = NULL; in getStreamBufs()
2383 return mMemory; in getStreamBufs()
2400 mMemory->deallocate(); in putStreamBufs()
2401 delete mMemory; in putStreamBufs()
2402 mMemory = NULL; in putStreamBufs()
2649 rc = mMemory.allocateOne(mFrameLen); in request()
2674 mMemory.markFrameNumber(bufIdx, frameNumber); in request()
2715 resultFrameNumber = mMemory.getFrameNumber(frameIndex); in streamCbRoutine()
2784 if (0 > mMemory.getHeapBufferIndex(resultFrameNumber)) { in reprocessCbRoutine()
2905 mMemory.getHeapBufferIndex(resultFrameNumber); in handleOfflinePpCallback()
3012 (buffer_handle_t *)obj->mMemory.getBufferHandle(bufIdx); in jpegEvtHandle()
3016 if (maxJpegSize > obj->mMemory.getSize(bufIdx)) { in jpegEvtHandle()
3017 maxJpegSize = obj->mMemory.getSize(bufIdx); in jpegEvtHandle()
3024 obj->mMemory.cleanInvalidateCache(bufIdx); in jpegEvtHandle()
3034 (buffer_handle_t *)obj->mMemory.getBufferHandle(bufIdx); in jpegEvtHandle()
3035 int32_t resultFrameNumber = obj->mMemory.getFrameNumber(bufIdx); in jpegEvtHandle()
3036 int32_t rc = obj->mMemory.unregisterBuffer(bufIdx); in jpegEvtHandle()
3284 int index = mMemory.getMatchBufIndex((void*)buffer); in request()
3294 index = mMemory.getMatchBufIndex((void*)buffer); in request()
3302 rc = mMemory.markFrameNumber((uint32_t)index, frameNumber); in request()
3617 mMemory(NULL), in QCamera3ReprocessChannel()
3755 resultFrameNumber = mMemory->getFrameNumber(frameIndex); in streamCbRoutine()
3861 mMemory = new QCamera3StreamMem(mNumBuffers, false); in getStreamBufs()
3862 if (!mMemory) { in getStreamBufs()
3867 return mMemory; in getStreamBufs()
3884 mMemory->deallocate(); in putStreamBufs()
3885 delete mMemory; in putStreamBufs()
3886 mMemory = NULL; in putStreamBufs()
4400 rc = mMemory->allocateOne(mFrameLen); in doReprocessOffline()
4412 mMemory->markFrameNumber(bufIdx, frame->frameNumber); in doReprocessOffline()
4671 mMemory(NULL) in QCamera3SupportChannel()
4686 if (mMemory) { in ~QCamera3SupportChannel()
4687 mMemory->deallocate(); in ~QCamera3SupportChannel()
4688 delete mMemory; in ~QCamera3SupportChannel()
4689 mMemory = NULL; in ~QCamera3SupportChannel()
4697 if (mMemory || m_numStreams > 0) { in initialize()
4733 mMemory = new QCamera3StreamMem(mNumBuffers); in getStreamBufs()
4734 if (!mMemory) { in getStreamBufs()
4738 rc = mMemory->allocateAll(len); in getStreamBufs()
4741 delete mMemory; in getStreamBufs()
4742 mMemory = NULL; in getStreamBufs()
4745 return mMemory; in getStreamBufs()
4750 mMemory->deallocate(); in putStreamBufs()
4751 delete mMemory; in putStreamBufs()
4752 mMemory = NULL; in putStreamBufs()